package reparto_izca.keymon.lat;

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

public class c_cliente_subs_0 {


public static RemoteObject  _activity_pause(RemoteObject __ref,RemoteObject _userclosed) throws Exception{
try {
		Debug.PushSubsStack("Activity_Pause (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,412);
if (RapidSub.canDelegate("activity_pause")) { return __ref.runUserSub(false, "c_cliente","activity_pause", __ref, _userclosed);}
Debug.locals.put("UserClosed", _userclosed);
 BA.debugLineNum = 412;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)";
Debug.ShouldStop(134217728);
 BA.debugLineNum = 414;BA.debugLine="End Sub";
Debug.ShouldStop(536870912);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static void  _b_abono_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_abono_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2083);
if (RapidSub.canDelegate("b_abono_click")) { __ref.runUserSub(false, "c_cliente","b_abono_click", __ref); return;}
ResumableSub_b_abono_Click rsub = new ResumableSub_b_abono_Click(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_b_abono_Click extends BA.ResumableSub {
public ResumableSub_b_abono_Click(reparto_izca.keymon.lat.c_cliente parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
reparto_izca.keymon.lat.c_cliente parent;
RemoteObject _resultado = RemoteObject.createImmutable(0);

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("b_abono_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2083);
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 = 2085;BA.debugLine="If et_abono.Text <> \"\" Then";
Debug.ShouldStop(16);
if (true) break;

case 1:
//if
this.state = 24;
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { 
this.state = 3;
}if (true) break;

case 3:
//C
this.state = 4;
 BA.debugLineNum = 2086;BA.debugLine="If et_abono.text > l_montoabonostotal.text Then";
Debug.ShouldStop(32);
if (true) break;

case 4:
//if
this.state = 23;
if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_montoabonostotal" /*RemoteObject*/ ).runMethod(true,"getText")))) { 
this.state = 6;
}else {
this.state = 8;
}if (true) break;

case 6:
//C
this.state = 23;
 BA.debugLineNum = 2087;BA.debugLine="MsgboxAsync(\"El monto a abonar no puede ser may";
Debug.ShouldStop(64);
parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("El monto a abonar no puede ser mayor que el monto total")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 if (true) break;

case 8:
//C
this.state = 9;
 BA.debugLineNum = 2089;BA.debugLine="If et_abono.Text <> \"\" And et_abono.Text > 0 Th";
Debug.ShouldStop(256);
if (true) break;

case 9:
//if
this.state = 22;
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("")) && RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 0))) { 
this.state = 11;
}if (true) break;

case 11:
//C
this.state = 12;
 BA.debugLineNum = 2090;BA.debugLine="If itemselect <> \"SELECCIONA UNA OPCION\" Then";
Debug.ShouldStop(512);
if (true) break;

case 12:
//if
this.state = 21;
if (RemoteObject.solveBoolean("!",__ref.getField(true,"_itemselect" /*RemoteObject*/ ),BA.ObjectToString("SELECCIONA UNA OPCION"))) { 
this.state = 14;
}else {
this.state = 20;
}if (true) break;

case 14:
//C
this.state = 15;
 BA.debugLineNum = 2098;BA.debugLine="Msgbox2Async($\"¿Seguro que quieres realizar u";
Debug.ShouldStop(131072);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("¿Seguro que quieres realizar un abono de $"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable(" para este cliente?"))))),(Object)(BA.ObjectToCharSequence("Guardar Abono")),(Object)(BA.ObjectToString("Guardar")),(Object)(BA.ObjectToString("Cancelar")),(Object)(BA.ObjectToString("")),RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"), parent.__c.getField(false,"Null")),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"True")));
 BA.debugLineNum = 2099;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
Debug.ShouldStop(262144);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_abono_click"), null);
this.state = 25;
return;
case 25:
//C
this.state = 15;
_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado);
;
 BA.debugLineNum = 2100;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
Debug.ShouldStop(524288);
if (true) break;

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

case 17:
//C
this.state = 18;
 BA.debugLineNum = 2101;BA.debugLine="imprime_abonopagare";
Debug.ShouldStop(1048576);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_imprime_abonopagare" /*void*/ );
 if (true) break;

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

case 20:
//C
this.state = 21;
 BA.debugLineNum = 2118;BA.debugLine="MsgboxAsync(\"Por favor selecciona un metodo d";
Debug.ShouldStop(32);
parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor selecciona un metodo de pago")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 if (true) break;

case 21:
//C
this.state = 22;
;
 if (true) break;

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

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

case 24:
//C
this.state = -1;
;
 BA.debugLineNum = 2123;BA.debugLine="ime.HideKeyboard";
Debug.ShouldStop(1024);
__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba"));
 BA.debugLineNum = 2124;BA.debugLine="End Sub";
Debug.ShouldStop(2048);
if (true) break;

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static void  _msgbox_result(RemoteObject __ref,RemoteObject _resultado) throws Exception{
}
public static RemoteObject  _b_acred_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_acred_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1259);
if (RapidSub.canDelegate("b_acred_click")) { return __ref.runUserSub(false, "c_cliente","b_acred_click", __ref);}
RemoteObject _pagacheca = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
 BA.debugLineNum = 1259;BA.debugLine="Private Sub b_acred_Click";
Debug.ShouldStop(1024);
 BA.debugLineNum = 1263;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
Debug.ShouldStop(16384);
c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy"));
 BA.debugLineNum = 1264;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
Debug.ShouldStop(32768);
c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss"));
 BA.debugLineNum = 1265;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(65536);
__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1266;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(131072);
__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1268;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cue";
Debug.ShouldStop(524288);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CUENTA from cuentaa"))));
 BA.debugLineNum = 1269;BA.debugLine="c.Position = 0";
Debug.ShouldStop(1048576);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1270;BA.debugLine="cuenta = c.GetString(\"CUENTA\")";
Debug.ShouldStop(2097152);
__ref.setField ("_cuenta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))));
 BA.debugLineNum = 1271;BA.debugLine="c.Close";
Debug.ShouldStop(4194304);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1273;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us";
Debug.ShouldStop(16777216);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa"))));
 BA.debugLineNum = 1274;BA.debugLine="c.Position = 0";
Debug.ShouldStop(33554432);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1275;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(67108864);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 1276;BA.debugLine="c.Close";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1278;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from";
Debug.ShouldStop(536870912);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));
 BA.debugLineNum = 1279;BA.debugLine="c.Position = 0";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1280;BA.debugLine="almacen = c.GetString(\"ID_ALMACEN\")";
Debug.ShouldStop(-2147483648);
__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))));
 BA.debugLineNum = 1281;BA.debugLine="c.Close";
Debug.ShouldStop(1);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1283;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_FECHA from";
Debug.ShouldStop(4);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));
 BA.debugLineNum = 1284;BA.debugLine="c.Position = 0";
Debug.ShouldStop(8);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1285;BA.debugLine="fechaprev = c.GetString(\"HVD_FECHA\")";
Debug.ShouldStop(16);
__ref.setField ("_fechaprev" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA"))));
 BA.debugLineNum = 1286;BA.debugLine="c.Close";
Debug.ShouldStop(32);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1288;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA fro";
Debug.ShouldStop(128);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));
 BA.debugLineNum = 1289;BA.debugLine="c.Position = 0";
Debug.ShouldStop(256);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1290;BA.debugLine="rutaprev = c.GetString(\"CAT_CL_RUTA\")";
Debug.ShouldStop(512);
__ref.setField ("_rutaprev" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))));
 BA.debugLineNum = 1291;BA.debugLine="c.Close";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1293;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTA";
Debug.ShouldStop(4096);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA"))));
 BA.debugLineNum = 1294;BA.debugLine="c.Position = 0";
Debug.ShouldStop(8192);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1295;BA.debugLine="rutarep = c.GetString(\"RUTAA\")";
Debug.ShouldStop(16384);
__ref.setField ("_rutarep" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))));
 BA.debugLineNum = 1296;BA.debugLine="c.Close";
Debug.ShouldStop(32768);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1298;BA.debugLine="c = Starter.skmt.ExecQuery($\"select distinct hvd_";
Debug.ShouldStop(131072);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select distinct hvd_num_ticket from hist_ventas where hvd_cliente = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("' AND HVD_BCREDITO = '1'"))))));
 BA.debugLineNum = 1299;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1300;BA.debugLine="c.Position = 0";
Debug.ShouldStop(524288);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1301;BA.debugLine="NOTA = c.GetString(\"HVD_NUM_TICKET\")";
Debug.ShouldStop(1048576);
__ref.setField ("_nota" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_TICKET"))));
 };
 BA.debugLineNum = 1303;BA.debugLine="c.Close";
Debug.ShouldStop(4194304);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1305;BA.debugLine="Dim pagacheca As Cursor = Starter.skmt.ExecQuery(";
Debug.ShouldStop(16777216);
_pagacheca = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_pagacheca = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("pagacheca", _pagacheca);Debug.locals.put("pagacheca", _pagacheca);
 BA.debugLineNum = 1307;BA.debugLine="If pagacheca.RowCount > 0 Then";
Debug.ShouldStop(67108864);
if (RemoteObject.solveBoolean(">",_pagacheca.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1310;BA.debugLine="Guardado";
Debug.ShouldStop(536870912);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_guardado" /*RemoteObject*/ );
 }else {
 BA.debugLineNum = 1313;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PAGARES";
Debug.ShouldStop(1);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA_REP, PA_RUTAPREV, PA_FECHA_PREV, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE,PA_TICKET) VALUES(?,?,?,?,?,?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_rutarep" /*RemoteObject*/ )),(__ref.getField(true,"_rutaprev" /*RemoteObject*/ )),(__ref.getField(true,"_fechaprev" /*RemoteObject*/ )),((__ref.getField(true,"_sdate" /*RemoteObject*/ ))),(__ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cuenta" /*RemoteObject*/ )),(__ref.getField(true,"_nota" /*RemoteObject*/ ))})))));
 BA.debugLineNum = 1316;BA.debugLine="Guardado";
Debug.ShouldStop(8);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_guardado" /*RemoteObject*/ );
 };
 BA.debugLineNum = 1324;BA.debugLine="End Sub";
Debug.ShouldStop(2048);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_cancel_pagare_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_cancel_pagare_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1923);
if (RapidSub.canDelegate("b_cancel_pagare_click")) { return __ref.runUserSub(false, "c_cliente","b_cancel_pagare_click", __ref);}
RemoteObject _items = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List");
RemoteObject _total = RemoteObject.createImmutable(0);
int _i = 0;
 BA.debugLineNum = 1923;BA.debugLine="Private Sub b_cancel_pagare_Click";
Debug.ShouldStop(4);
 BA.debugLineNum = 1924;BA.debugLine="tipo_abonox = \"abono\"";
Debug.ShouldStop(8);
__ref.setField ("_tipo_abonox" /*RemoteObject*/ ,BA.ObjectToString("abono"));
 BA.debugLineNum = 1926;BA.debugLine="Dim Items As List";
Debug.ShouldStop(32);
_items = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Items", _items);
 BA.debugLineNum = 1927;BA.debugLine="Items.Initialize";
Debug.ShouldStop(64);
_items.runVoidMethod ("Initialize");
 BA.debugLineNum = 1929;BA.debugLine="Items.Add(\"SELECCIONA UNA OPCION\")";
Debug.ShouldStop(256);
_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("SELECCIONA UNA OPCION"))));
 BA.debugLineNum = 1930;BA.debugLine="Items.Add(\"TRANSFERENCIA\")";
Debug.ShouldStop(512);
_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("TRANSFERENCIA"))));
 BA.debugLineNum = 1931;BA.debugLine="Items.Add(\"EFECTIVO\")";
Debug.ShouldStop(1024);
_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("EFECTIVO"))));
 BA.debugLineNum = 1932;BA.debugLine="Items.Add(\"CHEQUE\")";
Debug.ShouldStop(2048);
_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("CHEQUE"))));
 BA.debugLineNum = 1934;BA.debugLine="cb_tipopago.SetItems(Items)";
Debug.ShouldStop(8192);
__ref.getField(false,"_cb_tipopago" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items));
 BA.debugLineNum = 1936;BA.debugLine="itemselect= \"SELECCIONA UNA OPCION\"";
Debug.ShouldStop(32768);
__ref.setField ("_itemselect" /*RemoteObject*/ ,BA.ObjectToString("SELECCIONA UNA OPCION"));
 BA.debugLineNum = 1938;BA.debugLine="h = Starter.skmt.ExecQuery(\"SELECT CUENTA from CU";
Debug.ShouldStop(131072);
__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA from CUENTAA"))));
 BA.debugLineNum = 1939;BA.debugLine="h.Position = 0";
Debug.ShouldStop(262144);
__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1940;BA.debugLine="Log(h.GetString(\"CUENTA\"))";
Debug.ShouldStop(524288);
c_cliente.__c.runVoidMethod ("LogImpl","89502737",__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),0);
 BA.debugLineNum = 1941;BA.debugLine="j = Starter.skmt.ExecQuery2(\"SELECT a_abono FROM";
Debug.ShouldStop(1048576);
__ref.getField(false,"_j" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is null")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));
 BA.debugLineNum = 1942;BA.debugLine="j.position = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1943;BA.debugLine="Log(j.RowCount)";
Debug.ShouldStop(4194304);
c_cliente.__c.runVoidMethod ("LogImpl","89502740",BA.NumberToString(__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0);
 BA.debugLineNum = 1944;BA.debugLine="If j.RowCount = 0 Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1945;BA.debugLine="p_abono.Visible = True";
Debug.ShouldStop(16777216);
__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 1946;BA.debugLine="p_abono.Width = Root.Width";
Debug.ShouldStop(33554432);
__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 1947;BA.debugLine="p_abono.Height = Root.Height";
Debug.ShouldStop(67108864);
__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 1948;BA.debugLine="et_abono.text = \"\"";
Debug.ShouldStop(134217728);
__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 1949;BA.debugLine="Dim total As Double = 0";
Debug.ShouldStop(268435456);
_total = BA.numberCast(double.class, 0);Debug.locals.put("total", _total);Debug.locals.put("total", _total);
 BA.debugLineNum = 1950;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C";
Debug.ShouldStop(536870912);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA"))));
 BA.debugLineNum = 1951;BA.debugLine="f.Position = 0";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1952;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT distinct PA_";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT distinct PA_TICKET, PA_MONTO FROM PAGARES WHERE PA_CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));
 BA.debugLineNum = 1953;BA.debugLine="clv_abonos.Clear";
Debug.ShouldStop(1);
__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_clear");
 BA.debugLineNum = 1954;BA.debugLine="For i = 0 To d.RowCount - 1";
Debug.ShouldStop(2);
{
final int step26 = 1;
final int limit26 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step26 > 0 && _i <= limit26) || (step26 < 0 && _i >= limit26) ;_i = ((int)(0 + _i + step26))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1955;BA.debugLine="d.Position = i";
Debug.ShouldStop(4);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1956;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"PA_T";
Debug.ShouldStop(8);
__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_TICKET")))),(Object)(RemoteObject.concat(RemoteObject.createImmutable("$ "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_MONTO")))))).getObject()),(Object)(RemoteObject.createImmutable((_i))));
 BA.debugLineNum = 1958;BA.debugLine="total = total + d.GetString(\"PA_MONTO\")";
Debug.ShouldStop(32);
_total = RemoteObject.solve(new RemoteObject[] {_total,BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_MONTO"))))}, "+",1, 0);Debug.locals.put("total", _total);
 BA.debugLineNum = 1959;BA.debugLine="Log(total)";
Debug.ShouldStop(64);
c_cliente.__c.runVoidMethod ("LogImpl","89502756",BA.NumberToString(_total),0);
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 1961;BA.debugLine="d.Close";
Debug.ShouldStop(256);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1962;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT  a_abono FRO";
Debug.ShouldStop(512);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT  a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is not null ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));
 BA.debugLineNum = 1963;BA.debugLine="If d.RowCount > 0 Then";
Debug.ShouldStop(1024);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1964;BA.debugLine="For i = 0 To d.RowCount - 1";
Debug.ShouldStop(2048);
{
final int step35 = 1;
final int limit35 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step35 > 0 && _i <= limit35) || (step35 < 0 && _i >= limit35) ;_i = ((int)(0 + _i + step35))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1965;BA.debugLine="d.Position = i";
Debug.ShouldStop(4096);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1966;BA.debugLine="clv_abonos.Add(CreateListItem(\"ABONO\",\"$ \" & d";
Debug.ShouldStop(8192);
__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_createlistitem" /*RemoteObject*/ ,(Object)(BA.ObjectToString("ABONO")),(Object)(RemoteObject.concat(RemoteObject.createImmutable("$ "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono")))))).getObject()),(Object)(RemoteObject.createImmutable((_i))));
 BA.debugLineNum = 1967;BA.debugLine="total = total - d.GetString(\"a_abono\")";
Debug.ShouldStop(16384);
_total = RemoteObject.solve(new RemoteObject[] {_total,BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))}, "-",1, 0);Debug.locals.put("total", _total);
 BA.debugLineNum = 1968;BA.debugLine="Log(total)";
Debug.ShouldStop(32768);
c_cliente.__c.runVoidMethod ("LogImpl","89502765",BA.NumberToString(_total),0);
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 1971;BA.debugLine="l_montoabonostotal.Text = NumberFormat2(total,0,";
Debug.ShouldStop(262144);
__ref.getField(false,"_l_montoabonostotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(_total),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False")))));
 BA.debugLineNum = 1972;BA.debugLine="d.Close";
Debug.ShouldStop(524288);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1973;BA.debugLine="f.Close";
Debug.ShouldStop(1048576);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else 
{ BA.debugLineNum = 1974;BA.debugLine="Else If j.RowCount > 0 Then";
Debug.ShouldStop(2097152);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1975;BA.debugLine="p_abono.Visible = True";
Debug.ShouldStop(4194304);
__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 1976;BA.debugLine="p_abono.Width = Root.Width";
Debug.ShouldStop(8388608);
__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 1977;BA.debugLine="p_abono.Height = Root.Height";
Debug.ShouldStop(16777216);
__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 1978;BA.debugLine="et_abono.text = \"\"";
Debug.ShouldStop(33554432);
__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 1979;BA.debugLine="Dim total As Double = 0";
Debug.ShouldStop(67108864);
_total = BA.numberCast(double.class, 0);Debug.locals.put("total", _total);Debug.locals.put("total", _total);
 BA.debugLineNum = 1980;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C";
Debug.ShouldStop(134217728);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA"))));
 BA.debugLineNum = 1981;BA.debugLine="f.Position = 0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1982;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT distinct PA_";
Debug.ShouldStop(536870912);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT distinct PA_TICKET, PA_MONTO FROM PAGARES WHERE PA_CLIENTE = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));
 BA.debugLineNum = 1983;BA.debugLine="clv_abonos.Clear";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_clear");
 BA.debugLineNum = 1984;BA.debugLine="For i = 0 To d.RowCount - 1";
Debug.ShouldStop(-2147483648);
{
final int step55 = 1;
final int limit55 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step55 > 0 && _i <= limit55) || (step55 < 0 && _i >= limit55) ;_i = ((int)(0 + _i + step55))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1985;BA.debugLine="d.Position = i";
Debug.ShouldStop(1);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1986;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"PA_T";
Debug.ShouldStop(2);
__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_TICKET")))),(Object)(RemoteObject.concat(RemoteObject.createImmutable("$ "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_MONTO")))))).getObject()),(Object)(RemoteObject.createImmutable((_i))));
 BA.debugLineNum = 1988;BA.debugLine="total = total + d.GetString(\"PA_MONTO\").Replace";
Debug.ShouldStop(8);
_total = RemoteObject.solve(new RemoteObject[] {_total,BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_MONTO"))).runMethod(true,"replace",(Object)(BA.ObjectToString(",")),(Object)(RemoteObject.createImmutable(""))))}, "+",1, 0);Debug.locals.put("total", _total);
 BA.debugLineNum = 1989;BA.debugLine="Log(total)";
Debug.ShouldStop(16);
c_cliente.__c.runVoidMethod ("LogImpl","89502786",BA.NumberToString(_total),0);
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 1991;BA.debugLine="d.Close";
Debug.ShouldStop(64);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1992;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT  a_abono FRO";
Debug.ShouldStop(128);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT  a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is not null ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));
 BA.debugLineNum = 1993;BA.debugLine="If d.RowCount > 0 Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1994;BA.debugLine="For i = 0 To d.RowCount - 1";
Debug.ShouldStop(512);
{
final int step64 = 1;
final int limit64 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step64 > 0 && _i <= limit64) || (step64 < 0 && _i >= limit64) ;_i = ((int)(0 + _i + step64))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1995;BA.debugLine="d.Position = i";
Debug.ShouldStop(1024);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1996;BA.debugLine="clv_abonos.Add(CreateListItem(\"ABONO\",\"$ \" & d";
Debug.ShouldStop(2048);
__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_createlistitem" /*RemoteObject*/ ,(Object)(BA.ObjectToString("ABONO")),(Object)(RemoteObject.concat(RemoteObject.createImmutable("$ "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono")))))).getObject()),(Object)(RemoteObject.createImmutable((_i))));
 BA.debugLineNum = 1997;BA.debugLine="total = total - d.GetString(\"a_abono\")";
Debug.ShouldStop(4096);
_total = RemoteObject.solve(new RemoteObject[] {_total,BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))}, "-",1, 0);Debug.locals.put("total", _total);
 BA.debugLineNum = 1998;BA.debugLine="Log(total)";
Debug.ShouldStop(8192);
c_cliente.__c.runVoidMethod ("LogImpl","89502795",BA.NumberToString(_total),0);
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 2001;BA.debugLine="l_montoabonostotal.Text = NumberFormat2(total,0,";
Debug.ShouldStop(65536);
__ref.getField(false,"_l_montoabonostotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(_total),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False")))));
 BA.debugLineNum = 2002;BA.debugLine="d.Close";
Debug.ShouldStop(131072);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2003;BA.debugLine="f.Close";
Debug.ShouldStop(262144);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 }}
;
 BA.debugLineNum = 2006;BA.debugLine="h.Close";
Debug.ShouldStop(2097152);
__ref.getField(false,"_h" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2007;BA.debugLine="j.Close";
Debug.ShouldStop(4194304);
__ref.getField(false,"_j" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2014;BA.debugLine="End Sub";
Debug.ShouldStop(536870912);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_cancelar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_cancelar_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2034);
if (RapidSub.canDelegate("b_cancelar_click")) { return __ref.runUserSub(false, "c_cliente","b_cancelar_click", __ref);}
 BA.debugLineNum = 2034;BA.debugLine="Private Sub b_cancelar_Click";
Debug.ShouldStop(131072);
 BA.debugLineNum = 2035;BA.debugLine="et_abono.Text = \"\"";
Debug.ShouldStop(262144);
__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 2036;BA.debugLine="p_abono.Visible = False";
Debug.ShouldStop(524288);
__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 BA.debugLineNum = 2037;BA.debugLine="ime.HideKeyboard";
Debug.ShouldStop(1048576);
__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba"));
 BA.debugLineNum = 2038;BA.debugLine="End Sub";
Debug.ShouldStop(2097152);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_cancred_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_cancred_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1326);
if (RapidSub.canDelegate("b_cancred_click")) { return __ref.runUserSub(false, "c_cliente","b_cancred_click", __ref);}
 BA.debugLineNum = 1326;BA.debugLine="Private Sub b_cancred_Click";
Debug.ShouldStop(8192);
 BA.debugLineNum = 1327;BA.debugLine="et_montoacredito.Text = \"\"";
Debug.ShouldStop(16384);
__ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 1328;BA.debugLine="p_credito.Visible = False";
Debug.ShouldStop(32768);
__ref.getField(false,"_p_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 BA.debugLineNum = 1329;BA.debugLine="End Sub";
Debug.ShouldStop(65536);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_cxc_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_cxc_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1482);
if (RapidSub.canDelegate("b_cxc_click")) { return __ref.runUserSub(false, "c_cliente","b_cxc_click", __ref);}
RemoteObject _items = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List");
RemoteObject _total = RemoteObject.createImmutable(0);
int _i = 0;
 BA.debugLineNum = 1482;BA.debugLine="Private Sub b_cxc_Click";
Debug.ShouldStop(512);
 BA.debugLineNum = 1483;BA.debugLine="tipo_abonox = \"cxc\"";
Debug.ShouldStop(1024);
__ref.setField ("_tipo_abonox" /*RemoteObject*/ ,BA.ObjectToString("cxc"));
 BA.debugLineNum = 1484;BA.debugLine="h = Starter.skmt.ExecQuery(\"SELECT CUENTA from CU";
Debug.ShouldStop(2048);
__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA from CUENTAA"))));
 BA.debugLineNum = 1485;BA.debugLine="h.Position = 0";
Debug.ShouldStop(4096);
__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1486;BA.debugLine="Log(h.GetString(\"CUENTA\"))";
Debug.ShouldStop(8192);
c_cliente.__c.runVoidMethod ("LogImpl","89371652",__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),0);
 BA.debugLineNum = 1488;BA.debugLine="Dim Items As List";
Debug.ShouldStop(32768);
_items = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Items", _items);
 BA.debugLineNum = 1489;BA.debugLine="Items.Initialize";
Debug.ShouldStop(65536);
_items.runVoidMethod ("Initialize");
 BA.debugLineNum = 1491;BA.debugLine="Items.Add(\"SELECCIONA UNA OPCION\")";
Debug.ShouldStop(262144);
_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("SELECCIONA UNA OPCION"))));
 BA.debugLineNum = 1492;BA.debugLine="Items.Add(\"TRANSFERENCIA\")";
Debug.ShouldStop(524288);
_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("TRANSFERENCIA"))));
 BA.debugLineNum = 1493;BA.debugLine="Items.Add(\"EFECTIVO\")";
Debug.ShouldStop(1048576);
_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("EFECTIVO"))));
 BA.debugLineNum = 1494;BA.debugLine="Items.Add(\"CHEQUE\")";
Debug.ShouldStop(2097152);
_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("CHEQUE"))));
 BA.debugLineNum = 1496;BA.debugLine="cb_tipopago.SetItems(Items)";
Debug.ShouldStop(8388608);
__ref.getField(false,"_cb_tipopago" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items));
 BA.debugLineNum = 1498;BA.debugLine="itemselect= \"SELECCIONA UNA OPCION\"";
Debug.ShouldStop(33554432);
__ref.setField ("_itemselect" /*RemoteObject*/ ,BA.ObjectToString("SELECCIONA UNA OPCION"));
 BA.debugLineNum = 1500;BA.debugLine="j = Starter.skmt.ExecQuery2(\"SELECT a_abono FROM";
Debug.ShouldStop(134217728);
__ref.getField(false,"_j" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT a_abono FROM ABONOS WHERE a_cliente = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));
 BA.debugLineNum = 1501;BA.debugLine="j.position = 0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1502;BA.debugLine="Log(j.RowCount)";
Debug.ShouldStop(536870912);
c_cliente.__c.runVoidMethod ("LogImpl","89371668",BA.NumberToString(__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0);
 BA.debugLineNum = 1503;BA.debugLine="If j.RowCount = 0 Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1504;BA.debugLine="p_abono.Visible = True";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 1505;BA.debugLine="p_abono.Width = Root.Width";
Debug.ShouldStop(1);
__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 1506;BA.debugLine="p_abono.Height = Root.Height";
Debug.ShouldStop(2);
__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 1507;BA.debugLine="et_abono.text = \"\"";
Debug.ShouldStop(4);
__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 1508;BA.debugLine="Dim total As Double = 0";
Debug.ShouldStop(8);
_total = BA.numberCast(double.class, 0);Debug.locals.put("total", _total);Debug.locals.put("total", _total);
 BA.debugLineNum = 1509;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C";
Debug.ShouldStop(16);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA"))));
 BA.debugLineNum = 1510;BA.debugLine="f.Position = 0";
Debug.ShouldStop(32);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1511;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT NOTA, SALDO_";
Debug.ShouldStop(64);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? AND SALDO_PENDIENTE <> 0")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));
 BA.debugLineNum = 1512;BA.debugLine="clv_abonos.Clear";
Debug.ShouldStop(128);
__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_clear");
 BA.debugLineNum = 1513;BA.debugLine="For i = 0 To d.RowCount - 1";
Debug.ShouldStop(256);
{
final int step26 = 1;
final int limit26 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step26 > 0 && _i <= limit26) || (step26 < 0 && _i >= limit26) ;_i = ((int)(0 + _i + step26))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1514;BA.debugLine="d.Position = i";
Debug.ShouldStop(512);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1515;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA";
Debug.ShouldStop(1024);
__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOTA")))),(Object)(RemoteObject.concat(RemoteObject.createImmutable("$ "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")))))).getObject()),(Object)(RemoteObject.createImmutable((_i))));
 BA.debugLineNum = 1516;BA.debugLine="Log(d.GetString(\"NOTA\"))";
Debug.ShouldStop(2048);
c_cliente.__c.runVoidMethod ("LogImpl","89371682",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOTA"))),0);
 BA.debugLineNum = 1517;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))";
Debug.ShouldStop(4096);
c_cliente.__c.runVoidMethod ("LogImpl","89371683",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),0);
 BA.debugLineNum = 1518;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")";
Debug.ShouldStop(8192);
_total = RemoteObject.solve(new RemoteObject[] {_total,BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))))}, "+",1, 0);Debug.locals.put("total", _total);
 BA.debugLineNum = 1519;BA.debugLine="Log(total)";
Debug.ShouldStop(16384);
c_cliente.__c.runVoidMethod ("LogImpl","89371685",BA.NumberToString(_total),0);
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 1521;BA.debugLine="d.Close";
Debug.ShouldStop(65536);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1522;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT  a_abono FRO";
Debug.ShouldStop(131072);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT  a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is null")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));
 BA.debugLineNum = 1523;BA.debugLine="If d.RowCount > 0 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1524;BA.debugLine="For i = 0 To d.RowCount - 1";
Debug.ShouldStop(524288);
{
final int step37 = 1;
final int limit37 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step37 > 0 && _i <= limit37) || (step37 < 0 && _i >= limit37) ;_i = ((int)(0 + _i + step37))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1525;BA.debugLine="d.Position = i";
Debug.ShouldStop(1048576);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1526;BA.debugLine="clv_abonos.Add(CreateListItem(\"ABONO\",\"$ \" & d";
Debug.ShouldStop(2097152);
__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_createlistitem" /*RemoteObject*/ ,(Object)(BA.ObjectToString("ABONO")),(Object)(RemoteObject.concat(RemoteObject.createImmutable("$ "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono")))))).getObject()),(Object)(RemoteObject.createImmutable((_i))));
 BA.debugLineNum = 1527;BA.debugLine="total = total - d.GetString(\"a_abono\")";
Debug.ShouldStop(4194304);
_total = RemoteObject.solve(new RemoteObject[] {_total,BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))}, "-",1, 0);Debug.locals.put("total", _total);
 BA.debugLineNum = 1528;BA.debugLine="Log(total)";
Debug.ShouldStop(8388608);
c_cliente.__c.runVoidMethod ("LogImpl","89371694",BA.NumberToString(_total),0);
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 1531;BA.debugLine="l_montoabonostotal.Text = NumberFormat2(total,0,";
Debug.ShouldStop(67108864);
__ref.getField(false,"_l_montoabonostotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(_total),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False")))));
 BA.debugLineNum = 1532;BA.debugLine="d.Close";
Debug.ShouldStop(134217728);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1533;BA.debugLine="f.Close";
Debug.ShouldStop(268435456);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 }else 
{ BA.debugLineNum = 1534;BA.debugLine="Else If j.RowCount > 0 Then";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1535;BA.debugLine="p_abono.Visible = True";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 BA.debugLineNum = 1536;BA.debugLine="p_abono.Width = Root.Width";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"));
 BA.debugLineNum = 1537;BA.debugLine="p_abono.Height = Root.Height";
Debug.ShouldStop(1);
__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"));
 BA.debugLineNum = 1538;BA.debugLine="et_abono.text = \"\"";
Debug.ShouldStop(2);
__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 1539;BA.debugLine="Dim total As Double = 0";
Debug.ShouldStop(4);
_total = BA.numberCast(double.class, 0);Debug.locals.put("total", _total);Debug.locals.put("total", _total);
 BA.debugLineNum = 1540;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C";
Debug.ShouldStop(8);
__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA"))));
 BA.debugLineNum = 1541;BA.debugLine="f.Position = 0";
Debug.ShouldStop(16);
__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1542;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT NOTA, SALDO_";
Debug.ShouldStop(32);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? AND SALDO_PENDIENTE <> 0")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));
 BA.debugLineNum = 1543;BA.debugLine="clv_abonos.Clear";
Debug.ShouldStop(64);
__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_clear");
 BA.debugLineNum = 1544;BA.debugLine="For i = 0 To d.RowCount - 1";
Debug.ShouldStop(128);
{
final int step57 = 1;
final int limit57 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step57 > 0 && _i <= limit57) || (step57 < 0 && _i >= limit57) ;_i = ((int)(0 + _i + step57))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1545;BA.debugLine="d.Position = i";
Debug.ShouldStop(256);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1546;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA";
Debug.ShouldStop(512);
__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOTA")))),(Object)(RemoteObject.concat(RemoteObject.createImmutable("$ "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")))))).getObject()),(Object)(RemoteObject.createImmutable((_i))));
 BA.debugLineNum = 1547;BA.debugLine="Log(d.GetString(\"NOTA\"))";
Debug.ShouldStop(1024);
c_cliente.__c.runVoidMethod ("LogImpl","89371713",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOTA"))),0);
 BA.debugLineNum = 1548;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))";
Debug.ShouldStop(2048);
c_cliente.__c.runVoidMethod ("LogImpl","89371714",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),0);
 BA.debugLineNum = 1549;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")";
Debug.ShouldStop(4096);
_total = RemoteObject.solve(new RemoteObject[] {_total,BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))))}, "+",1, 0);Debug.locals.put("total", _total);
 BA.debugLineNum = 1550;BA.debugLine="Log(total)";
Debug.ShouldStop(8192);
c_cliente.__c.runVoidMethod ("LogImpl","89371716",BA.NumberToString(_total),0);
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 1552;BA.debugLine="d.Close";
Debug.ShouldStop(32768);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1553;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT  a_abono FRO";
Debug.ShouldStop(65536);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT  a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is null")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));
 BA.debugLineNum = 1554;BA.debugLine="If d.RowCount > 0 Then";
Debug.ShouldStop(131072);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1555;BA.debugLine="For i = 0 To d.RowCount - 1";
Debug.ShouldStop(262144);
{
final int step68 = 1;
final int limit68 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step68 > 0 && _i <= limit68) || (step68 < 0 && _i >= limit68) ;_i = ((int)(0 + _i + step68))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1556;BA.debugLine="d.Position = i";
Debug.ShouldStop(524288);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1557;BA.debugLine="clv_abonos.Add(CreateListItem(\"ABONO\",\"$ \" & d";
Debug.ShouldStop(1048576);
__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_createlistitem" /*RemoteObject*/ ,(Object)(BA.ObjectToString("ABONO")),(Object)(RemoteObject.concat(RemoteObject.createImmutable("$ "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono")))))).getObject()),(Object)(RemoteObject.createImmutable((_i))));
 BA.debugLineNum = 1558;BA.debugLine="total = total - d.GetString(\"a_abono\")";
Debug.ShouldStop(2097152);
_total = RemoteObject.solve(new RemoteObject[] {_total,BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))}, "-",1, 0);Debug.locals.put("total", _total);
 BA.debugLineNum = 1559;BA.debugLine="Log(total)";
Debug.ShouldStop(4194304);
c_cliente.__c.runVoidMethod ("LogImpl","89371725",BA.NumberToString(_total),0);
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 1562;BA.debugLine="l_montoabonostotal.Text = NumberFormat2(total,0,";
Debug.ShouldStop(33554432);
__ref.getField(false,"_l_montoabonostotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(_total),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False")))));
 BA.debugLineNum = 1563;BA.debugLine="d.Close";
Debug.ShouldStop(67108864);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1564;BA.debugLine="f.Close";
Debug.ShouldStop(134217728);
__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close");
 }}
;
 BA.debugLineNum = 1567;BA.debugLine="h.Close";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_h" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1568;BA.debugLine="j.Close";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_j" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1569;BA.debugLine="End Sub";
Debug.ShouldStop(1);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static void  _b_imp_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_IMP_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,655);
if (RapidSub.canDelegate("b_imp_click")) { __ref.runUserSub(false, "c_cliente","b_imp_click", __ref); return;}
ResumableSub_B_IMP_Click rsub = new ResumableSub_B_IMP_Click(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_B_IMP_Click extends BA.ResumableSub {
public ResumableSub_B_IMP_Click(reparto_izca.keymon.lat.c_cliente parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
reparto_izca.keymon.lat.c_cliente parent;
RemoteObject _cont = RemoteObject.createImmutable(0);
RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
int _i = 0;
RemoteObject _punit = RemoteObject.createImmutable("");
RemoteObject _ptot = RemoteObject.createImmutable("");
int _e = 0;
RemoteObject _vc5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _resultado = RemoteObject.createImmutable(0);
RemoteObject _totalcredito = RemoteObject.createImmutable(0f);
int step57;
int limit57;
int step69;
int limit69;
int step92;
int limit92;
int step118;
int limit118;
int step133;
int limit133;
int step164;
int limit164;
int step176;
int limit176;
int step199;
int limit199;
int step225;
int limit225;
int step240;
int limit240;
int step265;
int limit265;
int step275;
int limit275;

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("B_IMP_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,655);
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 = 656;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu";
Debug.ShouldStop(32768);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));
 BA.debugLineNum = 657;BA.debugLine="c.Position=0";
Debug.ShouldStop(65536);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 658;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(131072);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 660;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(524288);
parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 661;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\"";
Debug.ShouldStop(1048576);
parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss"));
 BA.debugLineNum = 662;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(2097152);
__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 663;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(4194304);
__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 664;BA.debugLine="c.Close";
Debug.ShouldStop(8388608);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 670;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
Debug.ShouldStop(536870912);
parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ..."))));
 BA.debugLineNum = 671;BA.debugLine="Printer1.DisConnect";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ );
 BA.debugLineNum = 672;BA.debugLine="If Not(Printer1.IsConnected) Then";
Debug.ShouldStop(-2147483648);
if (true) break;

case 1:
//if
this.state = 38;
if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).<Boolean>get().booleanValue()) { 
this.state = 3;
}else {
this.state = 21;
}if (true) break;

case 3:
//C
this.state = 4;
 BA.debugLineNum = 674;BA.debugLine="Printer1.Connect";
Debug.ShouldStop(2);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
 BA.debugLineNum = 675;BA.debugLine="Private cont As Int = 0";
Debug.ShouldStop(4);
_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 676;BA.debugLine="Do While Not(impresoraConectada)";
Debug.ShouldStop(8);
if (true) break;

case 4:
//do while
this.state = 19;
while (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ ))).<Boolean>get().booleanValue()) {
this.state = 6;
if (true) break;
}
if (true) break;

case 6:
//C
this.state = 7;
 BA.debugLineNum = 677;BA.debugLine="Sleep(1000)";
Debug.ShouldStop(16);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp_click"),BA.numberCast(int.class, 1000));
this.state = 197;
return;
case 197:
//C
this.state = 7;
;
 BA.debugLineNum = 679;BA.debugLine="cont = cont + 1";
Debug.ShouldStop(64);
_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 680;BA.debugLine="If cont = 2 Then Printer1.Connect 'Tratamos de";
Debug.ShouldStop(128);
if (true) break;

case 7:
//if
this.state = 12;
if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 2))) { 
this.state = 9;
;}if (true) break;

case 9:
//C
this.state = 12;
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
if (true) break;

case 12:
//C
this.state = 13;
;
 BA.debugLineNum = 681;BA.debugLine="If cont > 3 Then impresoraConectada = True";
Debug.ShouldStop(256);
if (true) break;

case 13:
//if
this.state = 18;
if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 3))) { 
this.state = 15;
;}if (true) break;

case 15:
//C
this.state = 18;
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True"));
if (true) break;

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

case 19:
//C
this.state = 38;
;
 BA.debugLineNum = 683;BA.debugLine="Sleep(500)";
Debug.ShouldStop(1024);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp_click"),BA.numberCast(int.class, 500));
this.state = 198;
return;
case 198:
//C
this.state = 38;
;
 BA.debugLineNum = 684;BA.debugLine="impresoraConectada = False";
Debug.ShouldStop(2048);
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False"));
 if (true) break;

case 21:
//C
this.state = 22;
 BA.debugLineNum = 687;BA.debugLine="Printer1.Connect";
Debug.ShouldStop(16384);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
 BA.debugLineNum = 688;BA.debugLine="Private cont As Int = 0";
Debug.ShouldStop(32768);
_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 689;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
Debug.ShouldStop(65536);
if (true) break;

case 22:
//do while
this.state = 37;
while (RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ )))) || RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) {
this.state = 24;
if (true) break;
}
if (true) break;

case 24:
//C
this.state = 25;
 BA.debugLineNum = 690;BA.debugLine="Sleep(1000)";
Debug.ShouldStop(131072);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp_click"),BA.numberCast(int.class, 1000));
this.state = 199;
return;
case 199:
//C
this.state = 25;
;
 BA.debugLineNum = 692;BA.debugLine="cont = cont + 1";
Debug.ShouldStop(524288);
_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 693;BA.debugLine="If cont = 2 Then Printer1.Connect";
Debug.ShouldStop(1048576);
if (true) break;

case 25:
//if
this.state = 30;
if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 2))) { 
this.state = 27;
;}if (true) break;

case 27:
//C
this.state = 30;
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
if (true) break;

case 30:
//C
this.state = 31;
;
 BA.debugLineNum = 694;BA.debugLine="If cont > 3 Then impresoraConectada = True";
Debug.ShouldStop(2097152);
if (true) break;

case 31:
//if
this.state = 36;
if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 3))) { 
this.state = 33;
;}if (true) break;

case 33:
//C
this.state = 36;
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True"));
if (true) break;

case 36:
//C
this.state = 22;
;
 if (true) break;

case 37:
//C
this.state = 38;
;
 BA.debugLineNum = 696;BA.debugLine="Sleep(500)";
Debug.ShouldStop(8388608);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp_click"),BA.numberCast(int.class, 500));
this.state = 200;
return;
case 200:
//C
this.state = 38;
;
 BA.debugLineNum = 697;BA.debugLine="impresoraConectada = False";
Debug.ShouldStop(16777216);
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False"));
 if (true) break;

case 38:
//C
this.state = 39;
;
 BA.debugLineNum = 700;BA.debugLine="TAMANO = 0";
Debug.ShouldStop(134217728);
__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 701;BA.debugLine="ESPACIO = 28";
Debug.ShouldStop(268435456);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 28));
 BA.debugLineNum = 702;BA.debugLine="BLANCO = \" \"";
Debug.ShouldStop(536870912);
__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" "));
 BA.debugLineNum = 719;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" &  CRL";
Debug.ShouldStop(16384);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Izca Distribuciones"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 721;BA.debugLine="Printer1.WriteString(sDate &  CRLF)";
Debug.ShouldStop(65536);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 722;BA.debugLine="Printer1.WriteString(sTime &  CRLF)";
Debug.ShouldStop(131072);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_stime" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 723;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario &  CRL";
Debug.ShouldStop(262144);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Vendedor:"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 724;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
Debug.ShouldStop(524288);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 725;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" &  la_cuenta.";
Debug.ShouldStop(1048576);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 726;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
Debug.ShouldStop(2097152);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 727;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
Debug.ShouldStop(4194304);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 731;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(67108864);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 733;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM HIST_VE";
Debug.ShouldStop(268435456);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO = '1' "))));
 BA.debugLineNum = 734;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(536870912);
if (true) break;

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

case 41:
//C
this.state = 42;
 BA.debugLineNum = 736;BA.debugLine="Dim c2 As Cursor= Starter.skmt.ExecQuery(\"SELECT";
Debug.ShouldStop(-2147483648);
_c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT iFNULL(SUM(HVD_CANT),0) AS HVD_CANT, iFNULL(SUM(HVD_RECHAZOCANT),0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO = '1' "))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2);
 BA.debugLineNum = 737;BA.debugLine="c2.Position = 0";
Debug.ShouldStop(1);
_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 738;BA.debugLine="If c2.GetInt(\"HVD_CANT\") - c2.GetInt(\"HVD_RECHAZ";
Debug.ShouldStop(2);
if (true) break;

case 42:
//if
this.state = 45;
if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {_c2.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_CANT"))),_c2.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))}, "-",1, 1),BA.numberCast(double.class, 0))) { 
this.state = 44;
}if (true) break;

case 44:
//C
this.state = 45;
 BA.debugLineNum = 739;BA.debugLine="Printer1.WriteString(\"--------ENTREGA CREDITO--";
Debug.ShouldStop(4);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------ENTREGA CREDITO-------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 742;BA.debugLine="Printer1.WriteString(\"Cant.      Precio";
Debug.ShouldStop(32);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant.      Precio        Importe"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 744;BA.debugLine="Printer1.WriteString(\"-------------------------";
Debug.ShouldStop(128);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 if (true) break;

case 45:
//C
this.state = 46;
;
 BA.debugLineNum = 748;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,";
Debug.ShouldStop(2048);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_BCREDITO = '1' order by  HVD_PROID")))));
 BA.debugLineNum = 749;BA.debugLine="If S.RowCount>0 Then";
Debug.ShouldStop(4096);
if (true) break;

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

case 48:
//C
this.state = 49;
 BA.debugLineNum = 750;BA.debugLine="For i=0 To S.RowCount -1";
Debug.ShouldStop(8192);
if (true) break;

case 49:
//for
this.state = 70;
step57 = 1;
limit57 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
Debug.locals.put("i", _i);
this.state = 201;
if (true) break;

case 201:
//C
this.state = 70;
if ((step57 > 0 && _i <= limit57) || (step57 < 0 && _i >= limit57)) this.state = 51;
if (true) break;

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

case 51:
//C
this.state = 52;
 BA.debugLineNum = 751;BA.debugLine="S.Position=i";
Debug.ShouldStop(16384);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 752;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))";
Debug.ShouldStop(32768);
parent.__c.runVoidMethod ("LogImpl","88650849",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),0);
 BA.debugLineNum = 753;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_";
Debug.ShouldStop(65536);
if (true) break;

case 52:
//if
this.state = 69;
if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0),BA.numberCast(double.class, 0))) { 
this.state = 54;
}if (true) break;

case 54:
//C
this.state = 55;
 BA.debugLineNum = 756;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = Subs.traeAlm";
Debug.ShouldStop(524288);
if (true) break;

case 55:
//if
this.state = 68;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { 
this.state = 57;
}else 
{ BA.debugLineNum = 784;BA.debugLine="Else If s.GetString(\"HVD_RECHAZO\") = 1 Then";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(1))) { 
this.state = 63;
}}
if (true) break;

case 57:
//C
this.state = 58;
 BA.debugLineNum = 758;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 759;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM";
Debug.ShouldStop(4194304);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 762;BA.debugLine="Dim punit As String = NumberFormat2((s.GETST";
Debug.ShouldStop(33554432);
_punit = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).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)(parent.__c.getField(true,"False")));Debug.locals.put("punit", _punit);Debug.locals.put("punit", _punit);
 BA.debugLineNum = 763;BA.debugLine="TAMANO = punit.Length + TAMANO";
Debug.ShouldStop(67108864);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 766;BA.debugLine="Private ptot As String = NumberFormat2(( (s.";
Debug.ShouldStop(536870912);
_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _punit)}, "*",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")));Debug.locals.put("ptot", _ptot);Debug.locals.put("ptot", _ptot);
 BA.debugLineNum = 767;BA.debugLine="TAMANO = ptot.Length + TAMANO";
Debug.ShouldStop(1073741824);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 769;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2";
Debug.ShouldStop(1);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0)));
 BA.debugLineNum = 771;BA.debugLine="For E=0 To ESPACIO -1";
Debug.ShouldStop(4);
if (true) break;

case 58:
//for
this.state = 61;
step69 = 1;
limit69 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_e = 0 ;
Debug.locals.put("E", _e);
this.state = 203;
if (true) break;

case 203:
//C
this.state = 61;
if ((step69 > 0 && _e <= limit69) || (step69 < 0 && _e >= limit69)) this.state = 60;
if (true) break;

case 204:
//C
this.state = 203;
_e = ((int)(0 + _e + step69)) ;
Debug.locals.put("E", _e);
if (true) break;

case 60:
//C
this.state = 204;
 BA.debugLineNum = 772;BA.debugLine="BLANCO = \" \" & BLANCO";
Debug.ShouldStop(8);
__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ )));
 if (true) break;
if (true) break;

case 61:
//C
this.state = 68;
Debug.locals.put("E", _e);
;
 BA.debugLineNum = 774;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(32);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 775;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT";
Debug.ShouldStop(64);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 776;BA.debugLine="Printer1.Justify = 1";
Debug.ShouldStop(128);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1));
 BA.debugLineNum = 777;BA.debugLine="Printer1.WriteString( punit & BLANCO)";
Debug.ShouldStop(256);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 778;BA.debugLine="Printer1.Justify = 2";
Debug.ShouldStop(512);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2));
 BA.debugLineNum = 779;BA.debugLine="Printer1.WriteString( ptot &  CRLF )";
Debug.ShouldStop(1024);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 780;BA.debugLine="TAMANO = 0";
Debug.ShouldStop(2048);
__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 781;BA.debugLine="ESPACIO = 29";
Debug.ShouldStop(4096);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29));
 BA.debugLineNum = 782;BA.debugLine="BLANCO = \" \"";
Debug.ShouldStop(8192);
__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" "));
 if (true) break;

case 63:
//C
this.state = 64;
 BA.debugLineNum = 786;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(131072);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 787;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM";
Debug.ShouldStop(262144);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 789;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQue";
Debug.ShouldStop(1048576);
_vc5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc5 = 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(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc5", _vc5);Debug.locals.put("vc5", _vc5);
 BA.debugLineNum = 790;BA.debugLine="vc5.Position = 0";
Debug.ShouldStop(2097152);
_vc5.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 791;BA.debugLine="Dim punit As String = NumberFormat2((vc5.Get";
Debug.ShouldStop(4194304);
_punit = parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, (_vc5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")));Debug.locals.put("punit", _punit);Debug.locals.put("punit", _punit);
 BA.debugLineNum = 792;BA.debugLine="TAMANO = punit.Length + TAMANO";
Debug.ShouldStop(8388608);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 793;BA.debugLine="vc5.Close";
Debug.ShouldStop(16777216);
_vc5.runVoidMethod ("Close");
 BA.debugLineNum = 795;BA.debugLine="Private ptot As String = NumberFormat2(( (s.";
Debug.ShouldStop(67108864);
_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _punit)}, "*",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")));Debug.locals.put("ptot", _ptot);Debug.locals.put("ptot", _ptot);
 BA.debugLineNum = 796;BA.debugLine="TAMANO = ptot.Length + TAMANO";
Debug.ShouldStop(134217728);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 798;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2";
Debug.ShouldStop(536870912);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0)));
 BA.debugLineNum = 800;BA.debugLine="For E=0 To ESPACIO -1";
Debug.ShouldStop(-2147483648);
if (true) break;

case 64:
//for
this.state = 67;
step92 = 1;
limit92 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_e = 0 ;
Debug.locals.put("E", _e);
this.state = 205;
if (true) break;

case 205:
//C
this.state = 67;
if ((step92 > 0 && _e <= limit92) || (step92 < 0 && _e >= limit92)) this.state = 66;
if (true) break;

case 206:
//C
this.state = 205;
_e = ((int)(0 + _e + step92)) ;
Debug.locals.put("E", _e);
if (true) break;

case 66:
//C
this.state = 206;
 BA.debugLineNum = 801;BA.debugLine="BLANCO = \" \" & BLANCO";
Debug.ShouldStop(1);
__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ )));
 if (true) break;
if (true) break;

case 67:
//C
this.state = 68;
Debug.locals.put("E", _e);
;
 BA.debugLineNum = 803;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(4);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 804;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT";
Debug.ShouldStop(8);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 805;BA.debugLine="Printer1.Justify = 1";
Debug.ShouldStop(16);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1));
 BA.debugLineNum = 806;BA.debugLine="Printer1.WriteString( punit & BLANCO)";
Debug.ShouldStop(32);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 807;BA.debugLine="Printer1.Justify = 2";
Debug.ShouldStop(64);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2));
 BA.debugLineNum = 808;BA.debugLine="Printer1.WriteString(ptot&  CRLF )";
Debug.ShouldStop(128);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 809;BA.debugLine="TAMANO = 0";
Debug.ShouldStop(256);
__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 810;BA.debugLine="ESPACIO = 29";
Debug.ShouldStop(512);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29));
 BA.debugLineNum = 811;BA.debugLine="BLANCO = \" \"";
Debug.ShouldStop(1024);
__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" "));
 BA.debugLineNum = 812;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(2048);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 if (true) break;

case 68:
//C
this.state = 69;
;
 if (true) break;

case 69:
//C
this.state = 202;
;
 if (true) break;
if (true) break;

case 70:
//C
this.state = 71;
Debug.locals.put("i", _i);
;
 BA.debugLineNum = 816;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(32768);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 817;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(65536);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 if (true) break;

case 71:
//C
this.state = 72;
;
 if (true) break;

case 72:
//C
this.state = 73;
;
 BA.debugLineNum = 821;BA.debugLine="s.Close";
Debug.ShouldStop(1048576);
__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 822;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,";
Debug.ShouldStop(2097152);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_BCREDITO = '1' order by  HVD_CODPROMO, ESPROMO DESC, HVD_PROID"))))));
 BA.debugLineNum = 824;BA.debugLine="If S.RowCount>0 Then";
Debug.ShouldStop(8388608);
if (true) break;

case 73:
//if
this.state = 100;
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 75;
}if (true) break;

case 75:
//C
this.state = 76;
 BA.debugLineNum = 825;BA.debugLine="Printer1.WriteString(\"---PROMOS ENTREGA CREDITO-";
Debug.ShouldStop(16777216);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("---PROMOS ENTREGA CREDITO----"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 826;BA.debugLine="Printer1.WriteString(\"Cant.      Precio        I";
Debug.ShouldStop(33554432);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant.      Precio        Importe"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 827;BA.debugLine="Printer1.WriteString(\"--------------------------";
Debug.ShouldStop(67108864);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 829;BA.debugLine="For i=0 To S.RowCount -1";
Debug.ShouldStop(268435456);
if (true) break;

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

case 207:
//C
this.state = 99;
if ((step118 > 0 && _i <= limit118) || (step118 < 0 && _i >= limit118)) this.state = 78;
if (true) break;

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

case 78:
//C
this.state = 79;
 BA.debugLineNum = 830;BA.debugLine="S.Position=i";
Debug.ShouldStop(536870912);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 831;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_R";
Debug.ShouldStop(1073741824);
if (true) break;

case 79:
//if
this.state = 98;
if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0),BA.numberCast(double.class, 0))) { 
this.state = 81;
}if (true) break;

case 81:
//C
this.state = 82;
 BA.debugLineNum = 834;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm";
Debug.ShouldStop(2);
if (true) break;

case 82:
//if
this.state = 97;
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { 
this.state = 84;
}else {
this.state = 96;
}if (true) break;

case 84:
//C
this.state = 85;
 BA.debugLineNum = 836;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(8);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 837;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = s.GetString(";
Debug.ShouldStop(16);
if (true) break;

case 85:
//if
this.state = 94;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))) { 
this.state = 87;
}else {
this.state = 89;
}if (true) break;

case 87:
//C
this.state = 94;
 BA.debugLineNum = 838;BA.debugLine="Printer1.WriteString(\"* \"&s.GetString(\"HVD_P";
Debug.ShouldStop(32);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("* "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 if (true) break;

case 89:
//C
this.state = 90;
 BA.debugLineNum = 840;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM";
Debug.ShouldStop(128);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 842;BA.debugLine="Dim punit As String =NumberFormat2((s.GETSTR";
Debug.ShouldStop(512);
_punit = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).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)(parent.__c.getField(true,"False")));Debug.locals.put("punit", _punit);Debug.locals.put("punit", _punit);
 BA.debugLineNum = 843;BA.debugLine="TAMANO = punit.Length + TAMANO";
Debug.ShouldStop(1024);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 846;BA.debugLine="Private ptot As String = NumberFormat2((puni";
Debug.ShouldStop(8192);
_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _punit),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).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)(parent.__c.getField(true,"False")));Debug.locals.put("ptot", _ptot);Debug.locals.put("ptot", _ptot);
 BA.debugLineNum = 847;BA.debugLine="TAMANO = ptot.Length + TAMANO";
Debug.ShouldStop(16384);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 850;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2";
Debug.ShouldStop(131072);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0)));
 BA.debugLineNum = 851;BA.debugLine="Log(ESPACIO)";
Debug.ShouldStop(262144);
parent.__c.runVoidMethod ("LogImpl","88650948",BA.NumberToString(__ref.getField(true,"_espacio" /*RemoteObject*/ )),0);
 BA.debugLineNum = 852;BA.debugLine="For E=0 To ESPACIO -1";
Debug.ShouldStop(524288);
if (true) break;

case 90:
//for
this.state = 93;
step133 = 1;
limit133 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_e = 0 ;
Debug.locals.put("E", _e);
this.state = 209;
if (true) break;

case 209:
//C
this.state = 93;
if ((step133 > 0 && _e <= limit133) || (step133 < 0 && _e >= limit133)) this.state = 92;
if (true) break;

case 210:
//C
this.state = 209;
_e = ((int)(0 + _e + step133)) ;
Debug.locals.put("E", _e);
if (true) break;

case 92:
//C
this.state = 210;
 BA.debugLineNum = 853;BA.debugLine="BLANCO = \" \" & BLANCO";
Debug.ShouldStop(1048576);
__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ )));
 if (true) break;
if (true) break;

case 93:
//C
this.state = 94;
Debug.locals.put("E", _e);
;
 BA.debugLineNum = 855;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(4194304);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 856;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT";
Debug.ShouldStop(8388608);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 857;BA.debugLine="Printer1.Justify = 1";
Debug.ShouldStop(16777216);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1));
 BA.debugLineNum = 858;BA.debugLine="Printer1.WriteString( punit & BLANCO)";
Debug.ShouldStop(33554432);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 859;BA.debugLine="Printer1.Justify = 2";
Debug.ShouldStop(67108864);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2));
 BA.debugLineNum = 860;BA.debugLine="Printer1.WriteString(ptot &  CRLF )";
Debug.ShouldStop(134217728);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 861;BA.debugLine="TAMANO = 0";
Debug.ShouldStop(268435456);
__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 862;BA.debugLine="ESPACIO = 29";
Debug.ShouldStop(536870912);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29));
 BA.debugLineNum = 863;BA.debugLine="BLANCO = \" \"";
Debug.ShouldStop(1073741824);
__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" "));
 BA.debugLineNum = 864;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 if (true) break;

case 94:
//C
this.state = 97;
;
 if (true) break;

case 96:
//C
this.state = 97;
 if (true) break;

case 97:
//C
this.state = 98;
;
 if (true) break;

case 98:
//C
this.state = 208;
;
 if (true) break;
if (true) break;

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

case 100:
//C
this.state = 101;
;
 BA.debugLineNum = 876;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM HIST_VE";
Debug.ShouldStop(2048);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO <> '1' "))));
 BA.debugLineNum = 877;BA.debugLine="Log(c.RowCount&\"------------------\")";
Debug.ShouldStop(4096);
parent.__c.runVoidMethod ("LogImpl","88650974",RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable("------------------")),0);
 BA.debugLineNum = 878;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(8192);
if (true) break;

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

case 103:
//C
this.state = 104;
 BA.debugLineNum = 880;BA.debugLine="Dim c2 As Cursor= Starter.skmt.ExecQuery(\"SELECT";
Debug.ShouldStop(32768);
_c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT iFNULL(SUM(HVD_CANT),0) AS HVD_CANT, iFNULL(SUM(HVD_RECHAZOCANT),0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO <> '1' "))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2);
 BA.debugLineNum = 881;BA.debugLine="c2.Position = 0";
Debug.ShouldStop(65536);
_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 882;BA.debugLine="If c2.GetInt(\"HVD_CANT\") - c2.GetInt(\"HVD_RECHAZ";
Debug.ShouldStop(131072);
if (true) break;

case 104:
//if
this.state = 107;
if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {_c2.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_CANT"))),_c2.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))}, "-",1, 1),BA.numberCast(double.class, 0))) { 
this.state = 106;
}if (true) break;

case 106:
//C
this.state = 107;
 BA.debugLineNum = 883;BA.debugLine="Printer1.WriteString(\"--------ENTREGA CONTADO--";
Debug.ShouldStop(262144);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------ENTREGA CONTADO-------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 886;BA.debugLine="Printer1.WriteString(\"Cant.      Precio";
Debug.ShouldStop(2097152);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant.      Precio        Importe"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 887;BA.debugLine="Printer1.WriteString(\"--------------------------";
Debug.ShouldStop(4194304);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 if (true) break;

case 107:
//C
this.state = 108;
;
 BA.debugLineNum = 892;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,";
Debug.ShouldStop(134217728);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_BCREDITO <> '1' order by  HVD_PROID")))));
 BA.debugLineNum = 893;BA.debugLine="If S.RowCount>0 Then";
Debug.ShouldStop(268435456);
if (true) break;

case 108:
//if
this.state = 133;
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 110;
}if (true) break;

case 110:
//C
this.state = 111;
 BA.debugLineNum = 894;BA.debugLine="For i=0 To S.RowCount -1";
Debug.ShouldStop(536870912);
if (true) break;

case 111:
//for
this.state = 132;
step164 = 1;
limit164 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
Debug.locals.put("i", _i);
this.state = 211;
if (true) break;

case 211:
//C
this.state = 132;
if ((step164 > 0 && _i <= limit164) || (step164 < 0 && _i >= limit164)) this.state = 113;
if (true) break;

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

case 113:
//C
this.state = 114;
 BA.debugLineNum = 895;BA.debugLine="S.Position=i";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 896;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))";
Debug.ShouldStop(-2147483648);
parent.__c.runVoidMethod ("LogImpl","88650993",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),0);
 BA.debugLineNum = 897;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_";
Debug.ShouldStop(1);
if (true) break;

case 114:
//if
this.state = 131;
if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0),BA.numberCast(double.class, 0))) { 
this.state = 116;
}if (true) break;

case 116:
//C
this.state = 117;
 BA.debugLineNum = 900;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = Subs.traeAlm";
Debug.ShouldStop(8);
if (true) break;

case 117:
//if
this.state = 130;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { 
this.state = 119;
}else 
{ BA.debugLineNum = 928;BA.debugLine="Else If s.GetString(\"HVD_RECHAZO\") = 1 Then";
Debug.ShouldStop(-2147483648);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(1))) { 
this.state = 125;
}}
if (true) break;

case 119:
//C
this.state = 120;
 BA.debugLineNum = 902;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(32);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 903;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM";
Debug.ShouldStop(64);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 906;BA.debugLine="Dim punit As String = NumberFormat2((s.GETST";
Debug.ShouldStop(512);
_punit = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).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)(parent.__c.getField(true,"False")));Debug.locals.put("punit", _punit);Debug.locals.put("punit", _punit);
 BA.debugLineNum = 907;BA.debugLine="TAMANO = punit.Length + TAMANO";
Debug.ShouldStop(1024);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 910;BA.debugLine="Private ptot As String = NumberFormat2(( (s.";
Debug.ShouldStop(8192);
_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _punit)}, "*",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")));Debug.locals.put("ptot", _ptot);Debug.locals.put("ptot", _ptot);
 BA.debugLineNum = 911;BA.debugLine="TAMANO = ptot.Length + TAMANO";
Debug.ShouldStop(16384);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 913;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2";
Debug.ShouldStop(65536);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0)));
 BA.debugLineNum = 915;BA.debugLine="For E=0 To ESPACIO -1";
Debug.ShouldStop(262144);
if (true) break;

case 120:
//for
this.state = 123;
step176 = 1;
limit176 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_e = 0 ;
Debug.locals.put("E", _e);
this.state = 213;
if (true) break;

case 213:
//C
this.state = 123;
if ((step176 > 0 && _e <= limit176) || (step176 < 0 && _e >= limit176)) this.state = 122;
if (true) break;

case 214:
//C
this.state = 213;
_e = ((int)(0 + _e + step176)) ;
Debug.locals.put("E", _e);
if (true) break;

case 122:
//C
this.state = 214;
 BA.debugLineNum = 916;BA.debugLine="BLANCO = \" \" & BLANCO";
Debug.ShouldStop(524288);
__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ )));
 if (true) break;
if (true) break;

case 123:
//C
this.state = 130;
Debug.locals.put("E", _e);
;
 BA.debugLineNum = 918;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(2097152);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 919;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT";
Debug.ShouldStop(4194304);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 920;BA.debugLine="Printer1.Justify = 1";
Debug.ShouldStop(8388608);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1));
 BA.debugLineNum = 921;BA.debugLine="Printer1.WriteString( punit & BLANCO)";
Debug.ShouldStop(16777216);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 922;BA.debugLine="Printer1.Justify = 2";
Debug.ShouldStop(33554432);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2));
 BA.debugLineNum = 923;BA.debugLine="Printer1.WriteString( ptot &  CRLF )";
Debug.ShouldStop(67108864);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 924;BA.debugLine="TAMANO = 0";
Debug.ShouldStop(134217728);
__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 925;BA.debugLine="ESPACIO = 29";
Debug.ShouldStop(268435456);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29));
 BA.debugLineNum = 926;BA.debugLine="BLANCO = \" \"";
Debug.ShouldStop(536870912);
__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" "));
 if (true) break;

case 125:
//C
this.state = 126;
 BA.debugLineNum = 930;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(2);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 931;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM";
Debug.ShouldStop(4);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 933;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQue";
Debug.ShouldStop(16);
_vc5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc5 = 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(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc5", _vc5);Debug.locals.put("vc5", _vc5);
 BA.debugLineNum = 934;BA.debugLine="vc5.Position = 0";
Debug.ShouldStop(32);
_vc5.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 935;BA.debugLine="Dim punit As String = NumberFormat2((vc5.Get";
Debug.ShouldStop(64);
_punit = parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, (_vc5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")));Debug.locals.put("punit", _punit);Debug.locals.put("punit", _punit);
 BA.debugLineNum = 936;BA.debugLine="TAMANO = punit.Length + TAMANO";
Debug.ShouldStop(128);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 937;BA.debugLine="vc5.Close";
Debug.ShouldStop(256);
_vc5.runVoidMethod ("Close");
 BA.debugLineNum = 939;BA.debugLine="Private ptot As String = NumberFormat2(( (s.";
Debug.ShouldStop(1024);
_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _punit)}, "*",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")));Debug.locals.put("ptot", _ptot);Debug.locals.put("ptot", _ptot);
 BA.debugLineNum = 940;BA.debugLine="TAMANO = ptot.Length + TAMANO";
Debug.ShouldStop(2048);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 942;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2";
Debug.ShouldStop(8192);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0)));
 BA.debugLineNum = 944;BA.debugLine="For E=0 To ESPACIO -1";
Debug.ShouldStop(32768);
if (true) break;

case 126:
//for
this.state = 129;
step199 = 1;
limit199 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_e = 0 ;
Debug.locals.put("E", _e);
this.state = 215;
if (true) break;

case 215:
//C
this.state = 129;
if ((step199 > 0 && _e <= limit199) || (step199 < 0 && _e >= limit199)) this.state = 128;
if (true) break;

case 216:
//C
this.state = 215;
_e = ((int)(0 + _e + step199)) ;
Debug.locals.put("E", _e);
if (true) break;

case 128:
//C
this.state = 216;
 BA.debugLineNum = 945;BA.debugLine="BLANCO = \" \" & BLANCO";
Debug.ShouldStop(65536);
__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ )));
 if (true) break;
if (true) break;

case 129:
//C
this.state = 130;
Debug.locals.put("E", _e);
;
 BA.debugLineNum = 947;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(262144);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 948;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT";
Debug.ShouldStop(524288);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 949;BA.debugLine="Printer1.Justify = 1";
Debug.ShouldStop(1048576);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1));
 BA.debugLineNum = 950;BA.debugLine="Printer1.WriteString( punit & BLANCO)";
Debug.ShouldStop(2097152);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 951;BA.debugLine="Printer1.Justify = 2";
Debug.ShouldStop(4194304);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2));
 BA.debugLineNum = 952;BA.debugLine="Printer1.WriteString(ptot&  CRLF )";
Debug.ShouldStop(8388608);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 953;BA.debugLine="TAMANO = 0";
Debug.ShouldStop(16777216);
__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 954;BA.debugLine="ESPACIO = 29";
Debug.ShouldStop(33554432);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29));
 BA.debugLineNum = 955;BA.debugLine="BLANCO = \" \"";
Debug.ShouldStop(67108864);
__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" "));
 BA.debugLineNum = 956;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(134217728);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 if (true) break;

case 130:
//C
this.state = 131;
;
 if (true) break;

case 131:
//C
this.state = 212;
;
 if (true) break;
if (true) break;

case 132:
//C
this.state = 133;
Debug.locals.put("i", _i);
;
 BA.debugLineNum = 960;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 961;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(1);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 if (true) break;

case 133:
//C
this.state = 134;
;
 if (true) break;

case 134:
//C
this.state = 135;
;
 BA.debugLineNum = 965;BA.debugLine="s.Close";
Debug.ShouldStop(16);
__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 966;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,";
Debug.ShouldStop(32);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_BCREDITO <> '1' order by  HVD_CODPROMO, ESPROMO DESC, HVD_PROID"))))));
 BA.debugLineNum = 968;BA.debugLine="If S.RowCount>0 Then";
Debug.ShouldStop(128);
if (true) break;

case 135:
//if
this.state = 162;
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 137;
}if (true) break;

case 137:
//C
this.state = 138;
 BA.debugLineNum = 969;BA.debugLine="Printer1.WriteString(\"---PROMOS ENTREGA CONTADO-";
Debug.ShouldStop(256);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("---PROMOS ENTREGA CONTADO----"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 970;BA.debugLine="Printer1.WriteString(\"Cant.      Precio        I";
Debug.ShouldStop(512);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant.      Precio        Importe"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 971;BA.debugLine="Printer1.WriteString(\"--------------------------";
Debug.ShouldStop(1024);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 973;BA.debugLine="For i=0 To S.RowCount -1";
Debug.ShouldStop(4096);
if (true) break;

case 138:
//for
this.state = 161;
step225 = 1;
limit225 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
Debug.locals.put("i", _i);
this.state = 217;
if (true) break;

case 217:
//C
this.state = 161;
if ((step225 > 0 && _i <= limit225) || (step225 < 0 && _i >= limit225)) this.state = 140;
if (true) break;

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

case 140:
//C
this.state = 141;
 BA.debugLineNum = 974;BA.debugLine="S.Position=i";
Debug.ShouldStop(8192);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 975;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_R";
Debug.ShouldStop(16384);
if (true) break;

case 141:
//if
this.state = 160;
if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0),BA.numberCast(double.class, 0))) { 
this.state = 143;
}if (true) break;

case 143:
//C
this.state = 144;
 BA.debugLineNum = 978;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm";
Debug.ShouldStop(131072);
if (true) break;

case 144:
//if
this.state = 159;
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { 
this.state = 146;
}else {
this.state = 158;
}if (true) break;

case 146:
//C
this.state = 147;
 BA.debugLineNum = 980;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(524288);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 981;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = s.GetString(";
Debug.ShouldStop(1048576);
if (true) break;

case 147:
//if
this.state = 156;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))) { 
this.state = 149;
}else {
this.state = 151;
}if (true) break;

case 149:
//C
this.state = 156;
 BA.debugLineNum = 982;BA.debugLine="Printer1.WriteString(\"* \"&s.GetString(\"HVD_P";
Debug.ShouldStop(2097152);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("* "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 if (true) break;

case 151:
//C
this.state = 152;
 BA.debugLineNum = 984;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM";
Debug.ShouldStop(8388608);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 986;BA.debugLine="Dim punit As String =NumberFormat2((s.GETSTR";
Debug.ShouldStop(33554432);
_punit = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).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)(parent.__c.getField(true,"False")));Debug.locals.put("punit", _punit);Debug.locals.put("punit", _punit);
 BA.debugLineNum = 987;BA.debugLine="TAMANO = punit.Length + TAMANO";
Debug.ShouldStop(67108864);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 990;BA.debugLine="Private ptot As String = NumberFormat2((puni";
Debug.ShouldStop(536870912);
_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _punit),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).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)(parent.__c.getField(true,"False")));Debug.locals.put("ptot", _ptot);Debug.locals.put("ptot", _ptot);
 BA.debugLineNum = 991;BA.debugLine="TAMANO = ptot.Length + TAMANO";
Debug.ShouldStop(1073741824);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 994;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2";
Debug.ShouldStop(2);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0)));
 BA.debugLineNum = 995;BA.debugLine="Log(ESPACIO)";
Debug.ShouldStop(4);
parent.__c.runVoidMethod ("LogImpl","88651092",BA.NumberToString(__ref.getField(true,"_espacio" /*RemoteObject*/ )),0);
 BA.debugLineNum = 996;BA.debugLine="For E=0 To ESPACIO -1";
Debug.ShouldStop(8);
if (true) break;

case 152:
//for
this.state = 155;
step240 = 1;
limit240 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_e = 0 ;
Debug.locals.put("E", _e);
this.state = 219;
if (true) break;

case 219:
//C
this.state = 155;
if ((step240 > 0 && _e <= limit240) || (step240 < 0 && _e >= limit240)) this.state = 154;
if (true) break;

case 220:
//C
this.state = 219;
_e = ((int)(0 + _e + step240)) ;
Debug.locals.put("E", _e);
if (true) break;

case 154:
//C
this.state = 220;
 BA.debugLineNum = 997;BA.debugLine="BLANCO = \" \" & BLANCO";
Debug.ShouldStop(16);
__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ )));
 if (true) break;
if (true) break;

case 155:
//C
this.state = 156;
Debug.locals.put("E", _e);
;
 BA.debugLineNum = 999;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(64);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1000;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT";
Debug.ShouldStop(128);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 1001;BA.debugLine="Printer1.Justify = 1";
Debug.ShouldStop(256);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1));
 BA.debugLineNum = 1002;BA.debugLine="Printer1.WriteString( punit & BLANCO)";
Debug.ShouldStop(512);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 1003;BA.debugLine="Printer1.Justify = 2";
Debug.ShouldStop(1024);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2));
 BA.debugLineNum = 1004;BA.debugLine="Printer1.WriteString(ptot &  CRLF )";
Debug.ShouldStop(2048);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1005;BA.debugLine="TAMANO = 0";
Debug.ShouldStop(4096);
__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 1006;BA.debugLine="ESPACIO = 29";
Debug.ShouldStop(8192);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29));
 BA.debugLineNum = 1007;BA.debugLine="BLANCO = \" \"";
Debug.ShouldStop(16384);
__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" "));
 BA.debugLineNum = 1008;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(32768);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 if (true) break;

case 156:
//C
this.state = 159;
;
 if (true) break;

case 158:
//C
this.state = 159;
 if (true) break;

case 159:
//C
this.state = 160;
;
 if (true) break;

case 160:
//C
this.state = 218;
;
 if (true) break;
if (true) break;

case 161:
//C
this.state = 162;
Debug.locals.put("i", _i);
;
 BA.debugLineNum = 1018;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(33554432);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 if (true) break;

case 162:
//C
this.state = 163;
;
 BA.debugLineNum = 1021;BA.debugLine="s=Starter.skmt.ExecQuery($\"select PE_PRONOMBRE, P";
Debug.ShouldStop(268435456);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select PE_PRONOMBRE, PE_CANT, length(PE_CANT) as L_CANT, PE_COSTO_TOT, length(PE_COSTO_TOT) as L_COSTOU,PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order BY PE_PROID")))));
 BA.debugLineNum = 1023;BA.debugLine="If S.RowCount>0 Then";
Debug.ShouldStop(1073741824);
if (true) break;

case 163:
//if
this.state = 174;
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 165;
}if (true) break;

case 165:
//C
this.state = 166;
 BA.debugLineNum = 1024;BA.debugLine="Printer1.WriteString(\"-----------VENTA----------";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-----------VENTA------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1025;BA.debugLine="Printer1.WriteString(\"Cant.      Precio        I";
Debug.ShouldStop(1);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant.      Precio        Importe"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1026;BA.debugLine="Printer1.WriteString(\"--------------------------";
Debug.ShouldStop(2);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1028;BA.debugLine="For i=0 To S.RowCount -1";
Debug.ShouldStop(8);
if (true) break;

case 166:
//for
this.state = 173;
step265 = 1;
limit265 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
Debug.locals.put("i", _i);
this.state = 221;
if (true) break;

case 221:
//C
this.state = 173;
if ((step265 > 0 && _i <= limit265) || (step265 < 0 && _i >= limit265)) this.state = 168;
if (true) break;

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

case 168:
//C
this.state = 169;
 BA.debugLineNum = 1029;BA.debugLine="S.Position=i";
Debug.ShouldStop(16);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 1031;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(64);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1032;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE\"";
Debug.ShouldStop(128);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1035;BA.debugLine="Dim punit As String =NumberFormat2( (s.GETSTRIN";
Debug.ShouldStop(1024);
_punit = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")));Debug.locals.put("punit", _punit);Debug.locals.put("punit", _punit);
 BA.debugLineNum = 1036;BA.debugLine="TAMANO = punit.Length + TAMANO";
Debug.ShouldStop(2048);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 1038;BA.debugLine="Private ptot As String = NumberFormat2((punit*s";
Debug.ShouldStop(8192);
_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _punit),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "*",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")));Debug.locals.put("ptot", _ptot);Debug.locals.put("ptot", _ptot);
 BA.debugLineNum = 1039;BA.debugLine="TAMANO = ptot.Length + TAMANO";
Debug.ShouldStop(16384);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 1042;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2";
Debug.ShouldStop(131072);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0)));
 BA.debugLineNum = 1043;BA.debugLine="Log(ESPACIO)";
Debug.ShouldStop(262144);
parent.__c.runVoidMethod ("LogImpl","88651140",BA.NumberToString(__ref.getField(true,"_espacio" /*RemoteObject*/ )),0);
 BA.debugLineNum = 1044;BA.debugLine="For E=0 To ESPACIO -1";
Debug.ShouldStop(524288);
if (true) break;

case 169:
//for
this.state = 172;
step275 = 1;
limit275 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_e = 0 ;
Debug.locals.put("E", _e);
this.state = 223;
if (true) break;

case 223:
//C
this.state = 172;
if ((step275 > 0 && _e <= limit275) || (step275 < 0 && _e >= limit275)) this.state = 171;
if (true) break;

case 224:
//C
this.state = 223;
_e = ((int)(0 + _e + step275)) ;
Debug.locals.put("E", _e);
if (true) break;

case 171:
//C
this.state = 224;
 BA.debugLineNum = 1045;BA.debugLine="BLANCO = \" \" & BLANCO";
Debug.ShouldStop(1048576);
__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ )));
 if (true) break;
if (true) break;

case 172:
//C
this.state = 222;
Debug.locals.put("E", _e);
;
 BA.debugLineNum = 1047;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(4194304);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1048;BA.debugLine="Printer1.WriteString( s.GetString(\"PE_CANT\") &";
Debug.ShouldStop(8388608);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 1049;BA.debugLine="Printer1.Justify = 1";
Debug.ShouldStop(16777216);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1));
 BA.debugLineNum = 1050;BA.debugLine="Printer1.WriteString( punit & BLANCO)";
Debug.ShouldStop(33554432);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 1051;BA.debugLine="Printer1.Justify = 2";
Debug.ShouldStop(67108864);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2));
 BA.debugLineNum = 1052;BA.debugLine="Printer1.WriteString(ptot &  CRLF )";
Debug.ShouldStop(134217728);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1053;BA.debugLine="TAMANO = 0";
Debug.ShouldStop(268435456);
__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 1054;BA.debugLine="ESPACIO = 29";
Debug.ShouldStop(536870912);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29));
 BA.debugLineNum = 1055;BA.debugLine="BLANCO = \" \"";
Debug.ShouldStop(1073741824);
__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" "));
 BA.debugLineNum = 1056;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 if (true) break;
if (true) break;

case 173:
//C
this.state = 174;
Debug.locals.put("i", _i);
;
 BA.debugLineNum = 1059;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(4);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 if (true) break;

case 174:
//C
this.state = 175;
;
 BA.debugLineNum = 1061;BA.debugLine="Printer1.WriteString(\"---------------------------";
Debug.ShouldStop(16);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1064;BA.debugLine="Printer1.WriteString(\"Total Articulos:   \" & L_CA";
Debug.ShouldStop(128);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total Articulos:   "),__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1066;BA.debugLine="Printer1.WriteString(\"Total credito:   $\" & l_mon";
Debug.ShouldStop(512);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total credito:   $"),__ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1067;BA.debugLine="Printer1.WriteString(\"Total contado:   $\" & l_mon";
Debug.ShouldStop(1024);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total contado:   $"),__ref.getField(false,"_l_montoefec" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1068;BA.debugLine="Printer1.WriteString(\"Total general:   $\" & l_tot";
Debug.ShouldStop(2048);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total general:   $"),__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"))));
 BA.debugLineNum = 1071;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(16384);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1072;BA.debugLine="Printer1.WriteString(\"---------------------------";
Debug.ShouldStop(32768);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1075;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --";
Debug.ShouldStop(262144);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("----ESTE TICKET NO ES UN -----"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1076;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO";
Debug.ShouldStop(524288);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--COMPROBANTE FISCAL, SOLO ES-"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1077;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------";
Debug.ShouldStop(1048576);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------INFORMATIVO-----------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1078;BA.debugLine="Printer1.WriteString(\"---------------------------";
Debug.ShouldStop(2097152);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1079;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(4194304);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1080;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(8388608);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1081;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(16777216);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1082;BA.debugLine="Sleep(1000)";
Debug.ShouldStop(33554432);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp_click"),BA.numberCast(int.class, 1000));
this.state = 225;
return;
case 225:
//C
this.state = 175;
;
 BA.debugLineNum = 1083;BA.debugLine="Printer1.DisConnect";
Debug.ShouldStop(67108864);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ );
 BA.debugLineNum = 1085;BA.debugLine="ProgressDialogHide";
Debug.ShouldStop(268435456);
parent.__c.runVoidMethod ("ProgressDialogHide");
 BA.debugLineNum = 1087;BA.debugLine="If banderaimp = 1 Then";
Debug.ShouldStop(1073741824);
if (true) break;

case 175:
//if
this.state = 196;
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_banderaimp" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { 
this.state = 177;
}else 
{ BA.debugLineNum = 1104;BA.debugLine="Else If banderaimp = 0 Then";
Debug.ShouldStop(32768);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_banderaimp" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { 
this.state = 191;
}}
if (true) break;

case 177:
//C
this.state = 178;
 BA.debugLineNum = 1088;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket";
Debug.ShouldStop(-2147483648);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 1089;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
Debug.ShouldStop(1);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp_click"), null);
this.state = 226;
return;
case 226:
//C
this.state = 178;
_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado);
;
 BA.debugLineNum = 1090;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
Debug.ShouldStop(2);
if (true) break;

case 178:
//if
this.state = 189;
if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
this.state = 180;
}else {
this.state = 182;
}if (true) break;

case 180:
//C
this.state = 189;
 BA.debugLineNum = 1091;BA.debugLine="B_IMP_Click";
Debug.ShouldStop(4);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b_imp_click" /*void*/ );
 if (true) break;

case 182:
//C
this.state = 183;
 BA.debugLineNum = 1093;BA.debugLine="Dim totalcredito As Float = l_montopag.Text";
Debug.ShouldStop(16);
_totalcredito = BA.numberCast(float.class, __ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("totalcredito", _totalcredito);Debug.locals.put("totalcredito", _totalcredito);
 BA.debugLineNum = 1094;BA.debugLine="If totalcredito > 0 Then";
Debug.ShouldStop(32);
if (true) break;

case 183:
//if
this.state = 188;
if (RemoteObject.solveBoolean(">",_totalcredito,BA.numberCast(double.class, 0))) { 
this.state = 185;
}else {
this.state = 187;
}if (true) break;

case 185:
//C
this.state = 188;
 BA.debugLineNum = 1095;BA.debugLine="imprime_pagare";
Debug.ShouldStop(64);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_imprime_pagare" /*void*/ );
 if (true) break;

case 187:
//C
this.state = 188;
 BA.debugLineNum = 1098;BA.debugLine="Guardado";
Debug.ShouldStop(512);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_guardado" /*RemoteObject*/ );
 if (true) break;

case 188:
//C
this.state = 189;
;
 if (true) break;

case 189:
//C
this.state = 196;
;
 if (true) break;

case 191:
//C
this.state = 192;
 BA.debugLineNum = 1105;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket";
Debug.ShouldStop(65536);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 1106;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
Debug.ShouldStop(131072);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp_click"), null);
this.state = 227;
return;
case 227:
//C
this.state = 192;
_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado);
;
 BA.debugLineNum = 1107;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
Debug.ShouldStop(262144);
if (true) break;

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

case 194:
//C
this.state = 195;
 BA.debugLineNum = 1108;BA.debugLine="B_IMP_Click";
Debug.ShouldStop(524288);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b_imp_click" /*void*/ );
 if (true) break;

case 195:
//C
this.state = 196;
;
 if (true) break;

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

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static void  _b_imp2_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_IMP2_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2448);
if (RapidSub.canDelegate("b_imp2_click")) { __ref.runUserSub(false, "c_cliente","b_imp2_click", __ref); return;}
ResumableSub_B_IMP2_Click rsub = new ResumableSub_B_IMP2_Click(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_B_IMP2_Click extends BA.ResumableSub {
public ResumableSub_B_IMP2_Click(reparto_izca.keymon.lat.c_cliente parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
reparto_izca.keymon.lat.c_cliente parent;
RemoteObject _cont = RemoteObject.createImmutable(0);
int _i = 0;
RemoteObject _punit = RemoteObject.createImmutable("");
RemoteObject _ptot = RemoteObject.createImmutable("");
int _e = 0;
RemoteObject _vc5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _resultado = RemoteObject.createImmutable(0);
int step53;
int limit53;
int step65;
int limit65;
int step88;
int limit88;
int step114;
int limit114;
int step131;
int limit131;
int step156;
int limit156;
int step166;
int limit166;

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("B_IMP2_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2448);
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 = 2571;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));
 BA.debugLineNum = 2572;BA.debugLine="c.Position=0";
Debug.ShouldStop(2048);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2573;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(4096);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 2575;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(16384);
parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 2576;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\"";
Debug.ShouldStop(32768);
parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss"));
 BA.debugLineNum = 2577;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(65536);
__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 2578;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(131072);
__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 2579;BA.debugLine="c.Close";
Debug.ShouldStop(262144);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2585;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
Debug.ShouldStop(16777216);
parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ..."))));
 BA.debugLineNum = 2586;BA.debugLine="Printer1.DisConnect";
Debug.ShouldStop(33554432);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ );
 BA.debugLineNum = 2587;BA.debugLine="If Not(Printer1.IsConnected) Then";
Debug.ShouldStop(67108864);
if (true) break;

case 1:
//if
this.state = 38;
if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).<Boolean>get().booleanValue()) { 
this.state = 3;
}else {
this.state = 21;
}if (true) break;

case 3:
//C
this.state = 4;
 BA.debugLineNum = 2589;BA.debugLine="Printer1.Connect";
Debug.ShouldStop(268435456);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
 BA.debugLineNum = 2590;BA.debugLine="Private cont As Int = 0";
Debug.ShouldStop(536870912);
_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 2591;BA.debugLine="Do While Not(impresoraConectada)";
Debug.ShouldStop(1073741824);
if (true) break;

case 4:
//do while
this.state = 19;
while (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ ))).<Boolean>get().booleanValue()) {
this.state = 6;
if (true) break;
}
if (true) break;

case 6:
//C
this.state = 7;
 BA.debugLineNum = 2592;BA.debugLine="Sleep(1000)";
Debug.ShouldStop(-2147483648);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp2_click"),BA.numberCast(int.class, 1000));
this.state = 125;
return;
case 125:
//C
this.state = 7;
;
 BA.debugLineNum = 2594;BA.debugLine="cont = cont + 1";
Debug.ShouldStop(2);
_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 2595;BA.debugLine="If cont = 2 Then Printer1.Connect 'Tratamos de";
Debug.ShouldStop(4);
if (true) break;

case 7:
//if
this.state = 12;
if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 2))) { 
this.state = 9;
;}if (true) break;

case 9:
//C
this.state = 12;
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
if (true) break;

case 12:
//C
this.state = 13;
;
 BA.debugLineNum = 2596;BA.debugLine="If cont > 3 Then impresoraConectada = True";
Debug.ShouldStop(8);
if (true) break;

case 13:
//if
this.state = 18;
if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 3))) { 
this.state = 15;
;}if (true) break;

case 15:
//C
this.state = 18;
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True"));
if (true) break;

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

case 19:
//C
this.state = 38;
;
 BA.debugLineNum = 2598;BA.debugLine="Sleep(500)";
Debug.ShouldStop(32);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp2_click"),BA.numberCast(int.class, 500));
this.state = 126;
return;
case 126:
//C
this.state = 38;
;
 BA.debugLineNum = 2599;BA.debugLine="impresoraConectada = False";
Debug.ShouldStop(64);
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False"));
 if (true) break;

case 21:
//C
this.state = 22;
 BA.debugLineNum = 2602;BA.debugLine="Printer1.Connect";
Debug.ShouldStop(512);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
 BA.debugLineNum = 2603;BA.debugLine="Private cont As Int = 0";
Debug.ShouldStop(1024);
_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 2604;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
Debug.ShouldStop(2048);
if (true) break;

case 22:
//do while
this.state = 37;
while (RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ )))) || RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) {
this.state = 24;
if (true) break;
}
if (true) break;

case 24:
//C
this.state = 25;
 BA.debugLineNum = 2605;BA.debugLine="Sleep(1000)";
Debug.ShouldStop(4096);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp2_click"),BA.numberCast(int.class, 1000));
this.state = 127;
return;
case 127:
//C
this.state = 25;
;
 BA.debugLineNum = 2607;BA.debugLine="cont = cont + 1";
Debug.ShouldStop(16384);
_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 2608;BA.debugLine="If cont = 2 Then Printer1.Connect";
Debug.ShouldStop(32768);
if (true) break;

case 25:
//if
this.state = 30;
if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 2))) { 
this.state = 27;
;}if (true) break;

case 27:
//C
this.state = 30;
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
if (true) break;

case 30:
//C
this.state = 31;
;
 BA.debugLineNum = 2609;BA.debugLine="If cont > 3 Then impresoraConectada = True";
Debug.ShouldStop(65536);
if (true) break;

case 31:
//if
this.state = 36;
if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 3))) { 
this.state = 33;
;}if (true) break;

case 33:
//C
this.state = 36;
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True"));
if (true) break;

case 36:
//C
this.state = 22;
;
 if (true) break;

case 37:
//C
this.state = 38;
;
 BA.debugLineNum = 2611;BA.debugLine="Sleep(500)";
Debug.ShouldStop(262144);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp2_click"),BA.numberCast(int.class, 500));
this.state = 128;
return;
case 128:
//C
this.state = 38;
;
 BA.debugLineNum = 2612;BA.debugLine="impresoraConectada = False";
Debug.ShouldStop(524288);
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False"));
 if (true) break;

case 38:
//C
this.state = 39;
;
 BA.debugLineNum = 2615;BA.debugLine="TAMANO = 0";
Debug.ShouldStop(4194304);
__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 2616;BA.debugLine="ESPACIO = 28";
Debug.ShouldStop(8388608);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 28));
 BA.debugLineNum = 2617;BA.debugLine="BLANCO = \" \"";
Debug.ShouldStop(16777216);
__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" "));
 BA.debugLineNum = 2634;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" &  CRL";
Debug.ShouldStop(512);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Izca Distribuciones"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2636;BA.debugLine="Printer1.WriteString(sDate &  CRLF)";
Debug.ShouldStop(2048);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2637;BA.debugLine="Printer1.WriteString(sTime &  CRLF)";
Debug.ShouldStop(4096);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_stime" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2638;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario &  CRL";
Debug.ShouldStop(8192);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Vendedor:"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2639;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
Debug.ShouldStop(16384);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2640;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" &  la_cuenta.";
Debug.ShouldStop(32768);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2641;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
Debug.ShouldStop(65536);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2642;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
Debug.ShouldStop(131072);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2646;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(2097152);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2647;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM HIST_VE";
Debug.ShouldStop(4194304);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));
 BA.debugLineNum = 2648;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(8388608);
if (true) break;

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

case 41:
//C
this.state = 42;
 BA.debugLineNum = 2649;BA.debugLine="Printer1.WriteString(\"------------ENTREGA-------";
Debug.ShouldStop(16777216);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------ENTREGA-----------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2652;BA.debugLine="Printer1.WriteString(\"Cant.      Precio        I";
Debug.ShouldStop(134217728);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant.      Precio        Importe"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2654;BA.debugLine="Printer1.WriteString(\"--------------------------";
Debug.ShouldStop(536870912);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2656;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by  HVD_PROID")))));
 BA.debugLineNum = 2657;BA.debugLine="If S.RowCount>0 Then";
Debug.ShouldStop(1);
if (true) break;

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

case 44:
//C
this.state = 45;
 BA.debugLineNum = 2658;BA.debugLine="For i=0 To S.RowCount -1";
Debug.ShouldStop(2);
if (true) break;

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

case 129:
//C
this.state = 66;
if ((step53 > 0 && _i <= limit53) || (step53 < 0 && _i >= limit53)) this.state = 47;
if (true) break;

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

case 47:
//C
this.state = 48;
 BA.debugLineNum = 2659;BA.debugLine="S.Position=i";
Debug.ShouldStop(4);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 2660;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))";
Debug.ShouldStop(8);
parent.__c.runVoidMethod ("LogImpl","89961684",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),0);
 BA.debugLineNum = 2661;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_";
Debug.ShouldStop(16);
if (true) break;

case 48:
//if
this.state = 65;
if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0),BA.numberCast(double.class, 0))) { 
this.state = 50;
}if (true) break;

case 50:
//C
this.state = 51;
 BA.debugLineNum = 2664;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = Subs.traeAlm";
Debug.ShouldStop(128);
if (true) break;

case 51:
//if
this.state = 64;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { 
this.state = 53;
}else 
{ BA.debugLineNum = 2692;BA.debugLine="Else If s.GetString(\"HVD_RECHAZO\") = 1 Then";
Debug.ShouldStop(8);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(1))) { 
this.state = 59;
}}
if (true) break;

case 53:
//C
this.state = 54;
 BA.debugLineNum = 2666;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(512);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2667;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM";
Debug.ShouldStop(1024);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2670;BA.debugLine="Dim punit As String = NumberFormat2((s.GETST";
Debug.ShouldStop(8192);
_punit = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).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)(parent.__c.getField(true,"False")));Debug.locals.put("punit", _punit);Debug.locals.put("punit", _punit);
 BA.debugLineNum = 2671;BA.debugLine="TAMANO = punit.Length + TAMANO";
Debug.ShouldStop(16384);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 2674;BA.debugLine="Private ptot As String = NumberFormat2(( (s.";
Debug.ShouldStop(131072);
_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _punit)}, "*",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")));Debug.locals.put("ptot", _ptot);Debug.locals.put("ptot", _ptot);
 BA.debugLineNum = 2675;BA.debugLine="TAMANO = ptot.Length + TAMANO";
Debug.ShouldStop(262144);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 2677;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2";
Debug.ShouldStop(1048576);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0)));
 BA.debugLineNum = 2679;BA.debugLine="For E=0 To ESPACIO -1";
Debug.ShouldStop(4194304);
if (true) break;

case 54:
//for
this.state = 57;
step65 = 1;
limit65 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_e = 0 ;
Debug.locals.put("E", _e);
this.state = 131;
if (true) break;

case 131:
//C
this.state = 57;
if ((step65 > 0 && _e <= limit65) || (step65 < 0 && _e >= limit65)) this.state = 56;
if (true) break;

case 132:
//C
this.state = 131;
_e = ((int)(0 + _e + step65)) ;
Debug.locals.put("E", _e);
if (true) break;

case 56:
//C
this.state = 132;
 BA.debugLineNum = 2680;BA.debugLine="BLANCO = \" \" & BLANCO";
Debug.ShouldStop(8388608);
__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ )));
 if (true) break;
if (true) break;

case 57:
//C
this.state = 64;
Debug.locals.put("E", _e);
;
 BA.debugLineNum = 2682;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(33554432);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2683;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT";
Debug.ShouldStop(67108864);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 2684;BA.debugLine="Printer1.Justify = 1";
Debug.ShouldStop(134217728);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1));
 BA.debugLineNum = 2685;BA.debugLine="Printer1.WriteString( punit & BLANCO)";
Debug.ShouldStop(268435456);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 2686;BA.debugLine="Printer1.Justify = 2";
Debug.ShouldStop(536870912);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2));
 BA.debugLineNum = 2687;BA.debugLine="Printer1.WriteString( ptot &  CRLF )";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2688;BA.debugLine="TAMANO = 0";
Debug.ShouldStop(-2147483648);
__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 2689;BA.debugLine="ESPACIO = 29";
Debug.ShouldStop(1);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29));
 BA.debugLineNum = 2690;BA.debugLine="BLANCO = \" \"";
Debug.ShouldStop(2);
__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" "));
 if (true) break;

case 59:
//C
this.state = 60;
 BA.debugLineNum = 2694;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(32);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2695;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM";
Debug.ShouldStop(64);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2697;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQue";
Debug.ShouldStop(256);
_vc5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc5 = 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(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc5", _vc5);Debug.locals.put("vc5", _vc5);
 BA.debugLineNum = 2698;BA.debugLine="vc5.Position = 0";
Debug.ShouldStop(512);
_vc5.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2699;BA.debugLine="Dim punit As String = NumberFormat2((vc5.Get";
Debug.ShouldStop(1024);
_punit = parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, (_vc5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")));Debug.locals.put("punit", _punit);Debug.locals.put("punit", _punit);
 BA.debugLineNum = 2700;BA.debugLine="TAMANO = punit.Length + TAMANO";
Debug.ShouldStop(2048);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 2701;BA.debugLine="vc5.Close";
Debug.ShouldStop(4096);
_vc5.runVoidMethod ("Close");
 BA.debugLineNum = 2703;BA.debugLine="Private ptot As String = NumberFormat2(( (s.";
Debug.ShouldStop(16384);
_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _punit)}, "*",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")));Debug.locals.put("ptot", _ptot);Debug.locals.put("ptot", _ptot);
 BA.debugLineNum = 2704;BA.debugLine="TAMANO = ptot.Length + TAMANO";
Debug.ShouldStop(32768);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 2706;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2";
Debug.ShouldStop(131072);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0)));
 BA.debugLineNum = 2708;BA.debugLine="For E=0 To ESPACIO -1";
Debug.ShouldStop(524288);
if (true) break;

case 60:
//for
this.state = 63;
step88 = 1;
limit88 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_e = 0 ;
Debug.locals.put("E", _e);
this.state = 133;
if (true) break;

case 133:
//C
this.state = 63;
if ((step88 > 0 && _e <= limit88) || (step88 < 0 && _e >= limit88)) this.state = 62;
if (true) break;

case 134:
//C
this.state = 133;
_e = ((int)(0 + _e + step88)) ;
Debug.locals.put("E", _e);
if (true) break;

case 62:
//C
this.state = 134;
 BA.debugLineNum = 2709;BA.debugLine="BLANCO = \" \" & BLANCO";
Debug.ShouldStop(1048576);
__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ )));
 if (true) break;
if (true) break;

case 63:
//C
this.state = 64;
Debug.locals.put("E", _e);
;
 BA.debugLineNum = 2711;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(4194304);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2712;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT";
Debug.ShouldStop(8388608);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 2713;BA.debugLine="Printer1.Justify = 1";
Debug.ShouldStop(16777216);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1));
 BA.debugLineNum = 2714;BA.debugLine="Printer1.WriteString( punit & BLANCO)";
Debug.ShouldStop(33554432);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 2715;BA.debugLine="Printer1.Justify = 2";
Debug.ShouldStop(67108864);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2));
 BA.debugLineNum = 2716;BA.debugLine="Printer1.WriteString(ptot&  CRLF )";
Debug.ShouldStop(134217728);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2717;BA.debugLine="TAMANO = 0";
Debug.ShouldStop(268435456);
__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 2718;BA.debugLine="ESPACIO = 29";
Debug.ShouldStop(536870912);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29));
 BA.debugLineNum = 2719;BA.debugLine="BLANCO = \" \"";
Debug.ShouldStop(1073741824);
__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" "));
 BA.debugLineNum = 2720;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 if (true) break;

case 64:
//C
this.state = 65;
;
 if (true) break;

case 65:
//C
this.state = 130;
;
 if (true) break;
if (true) break;

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

case 67:
//C
this.state = 68;
;
 if (true) break;

case 68:
//C
this.state = 69;
;
 BA.debugLineNum = 2726;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(32);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2727;BA.debugLine="s.Close";
Debug.ShouldStop(64);
__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2728;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(128);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2729;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,";
Debug.ShouldStop(256);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' order by  HVD_CODPROMO, ESPROMO DESC, HVD_PROID"))))));
 BA.debugLineNum = 2731;BA.debugLine="If S.RowCount>0 Then";
Debug.ShouldStop(1024);
if (true) break;

case 69:
//if
this.state = 96;
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 71;
}if (true) break;

case 71:
//C
this.state = 72;
 BA.debugLineNum = 2732;BA.debugLine="Printer1.WriteString(\"-------PROMOS ENTREGA-----";
Debug.ShouldStop(2048);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-------PROMOS ENTREGA--------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2733;BA.debugLine="Printer1.WriteString(\"Cant.      Precio        I";
Debug.ShouldStop(4096);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant.      Precio        Importe"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2734;BA.debugLine="Printer1.WriteString(\"--------------------------";
Debug.ShouldStop(8192);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2736;BA.debugLine="For i=0 To S.RowCount -1";
Debug.ShouldStop(32768);
if (true) break;

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

case 135:
//C
this.state = 95;
if ((step114 > 0 && _i <= limit114) || (step114 < 0 && _i >= limit114)) this.state = 74;
if (true) break;

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

case 74:
//C
this.state = 75;
 BA.debugLineNum = 2737;BA.debugLine="S.Position=i";
Debug.ShouldStop(65536);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 2738;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_R";
Debug.ShouldStop(131072);
if (true) break;

case 75:
//if
this.state = 94;
if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0),BA.numberCast(double.class, 0))) { 
this.state = 77;
}if (true) break;

case 77:
//C
this.state = 78;
 BA.debugLineNum = 2741;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm";
Debug.ShouldStop(1048576);
if (true) break;

case 78:
//if
this.state = 93;
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { 
this.state = 80;
}else {
this.state = 92;
}if (true) break;

case 80:
//C
this.state = 81;
 BA.debugLineNum = 2743;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(4194304);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2744;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = s.GetString(";
Debug.ShouldStop(8388608);
if (true) break;

case 81:
//if
this.state = 90;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))) { 
this.state = 83;
}else {
this.state = 85;
}if (true) break;

case 83:
//C
this.state = 90;
 BA.debugLineNum = 2745;BA.debugLine="Printer1.WriteString(\"* \"&s.GetString(\"HVD_P";
Debug.ShouldStop(16777216);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("* "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2746;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(33554432);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2747;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(67108864);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 if (true) break;

case 85:
//C
this.state = 86;
 BA.debugLineNum = 2749;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM";
Debug.ShouldStop(268435456);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2751;BA.debugLine="Dim punit As String =NumberFormat2((s.GETSTR";
Debug.ShouldStop(1073741824);
_punit = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).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)(parent.__c.getField(true,"False")));Debug.locals.put("punit", _punit);Debug.locals.put("punit", _punit);
 BA.debugLineNum = 2752;BA.debugLine="TAMANO = punit.Length + TAMANO";
Debug.ShouldStop(-2147483648);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 2755;BA.debugLine="Private ptot As String = NumberFormat2((puni";
Debug.ShouldStop(4);
_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _punit),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).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)(parent.__c.getField(true,"False")));Debug.locals.put("ptot", _ptot);Debug.locals.put("ptot", _ptot);
 BA.debugLineNum = 2756;BA.debugLine="TAMANO = ptot.Length + TAMANO";
Debug.ShouldStop(8);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 2759;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2";
Debug.ShouldStop(64);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0)));
 BA.debugLineNum = 2760;BA.debugLine="Log(ESPACIO)";
Debug.ShouldStop(128);
parent.__c.runVoidMethod ("LogImpl","89961784",BA.NumberToString(__ref.getField(true,"_espacio" /*RemoteObject*/ )),0);
 BA.debugLineNum = 2761;BA.debugLine="For E=0 To ESPACIO -1";
Debug.ShouldStop(256);
if (true) break;

case 86:
//for
this.state = 89;
step131 = 1;
limit131 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_e = 0 ;
Debug.locals.put("E", _e);
this.state = 137;
if (true) break;

case 137:
//C
this.state = 89;
if ((step131 > 0 && _e <= limit131) || (step131 < 0 && _e >= limit131)) this.state = 88;
if (true) break;

case 138:
//C
this.state = 137;
_e = ((int)(0 + _e + step131)) ;
Debug.locals.put("E", _e);
if (true) break;

case 88:
//C
this.state = 138;
 BA.debugLineNum = 2762;BA.debugLine="BLANCO = \" \" & BLANCO";
Debug.ShouldStop(512);
__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ )));
 if (true) break;
if (true) break;

case 89:
//C
this.state = 90;
Debug.locals.put("E", _e);
;
 BA.debugLineNum = 2764;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(2048);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2765;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT";
Debug.ShouldStop(4096);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 2766;BA.debugLine="Printer1.Justify = 1";
Debug.ShouldStop(8192);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1));
 BA.debugLineNum = 2767;BA.debugLine="Printer1.WriteString( punit & BLANCO)";
Debug.ShouldStop(16384);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 2768;BA.debugLine="Printer1.Justify = 2";
Debug.ShouldStop(32768);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2));
 BA.debugLineNum = 2769;BA.debugLine="Printer1.WriteString(ptot &  CRLF )";
Debug.ShouldStop(65536);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2770;BA.debugLine="TAMANO = 0";
Debug.ShouldStop(131072);
__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 2771;BA.debugLine="ESPACIO = 29";
Debug.ShouldStop(262144);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29));
 BA.debugLineNum = 2772;BA.debugLine="BLANCO = \" \"";
Debug.ShouldStop(524288);
__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" "));
 BA.debugLineNum = 2773;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(1048576);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 if (true) break;

case 90:
//C
this.state = 93;
;
 if (true) break;

case 92:
//C
this.state = 93;
 if (true) break;

case 93:
//C
this.state = 94;
;
 if (true) break;

case 94:
//C
this.state = 136;
;
 if (true) break;
if (true) break;

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

case 96:
//C
this.state = 97;
;
 BA.debugLineNum = 2785;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(1);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2786;BA.debugLine="s=Starter.skmt.ExecQuery($\"select PE_PRONOMBRE, P";
Debug.ShouldStop(2);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select PE_PRONOMBRE, PE_CANT, length(PE_CANT) as L_CANT, PE_COSTO_TOT, length(PE_COSTO_TOT) as L_COSTOU,PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order BY PE_PROID")))));
 BA.debugLineNum = 2788;BA.debugLine="If S.RowCount>0 Then";
Debug.ShouldStop(8);
if (true) break;

case 97:
//if
this.state = 108;
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 99;
}if (true) break;

case 99:
//C
this.state = 100;
 BA.debugLineNum = 2789;BA.debugLine="Printer1.WriteString(\"-----------VENTA----------";
Debug.ShouldStop(16);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-----------VENTA------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2790;BA.debugLine="Printer1.WriteString(\"Cant.      Precio        I";
Debug.ShouldStop(32);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant.      Precio        Importe"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2791;BA.debugLine="Printer1.WriteString(\"--------------------------";
Debug.ShouldStop(64);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2793;BA.debugLine="For i=0 To S.RowCount -1";
Debug.ShouldStop(256);
if (true) break;

case 100:
//for
this.state = 107;
step156 = 1;
limit156 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
Debug.locals.put("i", _i);
this.state = 139;
if (true) break;

case 139:
//C
this.state = 107;
if ((step156 > 0 && _i <= limit156) || (step156 < 0 && _i >= limit156)) this.state = 102;
if (true) break;

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

case 102:
//C
this.state = 103;
 BA.debugLineNum = 2794;BA.debugLine="S.Position=i";
Debug.ShouldStop(512);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 2796;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(2048);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2797;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE\"";
Debug.ShouldStop(4096);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2800;BA.debugLine="Dim punit As String =NumberFormat2( (s.GETSTRIN";
Debug.ShouldStop(32768);
_punit = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "/",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")));Debug.locals.put("punit", _punit);Debug.locals.put("punit", _punit);
 BA.debugLineNum = 2801;BA.debugLine="TAMANO = punit.Length + TAMANO";
Debug.ShouldStop(65536);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 2803;BA.debugLine="Private ptot As String = NumberFormat2((punit*s";
Debug.ShouldStop(262144);
_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _punit),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "*",0, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False")));Debug.locals.put("ptot", _ptot);Debug.locals.put("ptot", _ptot);
 BA.debugLineNum = 2804;BA.debugLine="TAMANO = ptot.Length + TAMANO";
Debug.ShouldStop(524288);
__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1));
 BA.debugLineNum = 2807;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2";
Debug.ShouldStop(4194304);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0)));
 BA.debugLineNum = 2808;BA.debugLine="Log(ESPACIO)";
Debug.ShouldStop(8388608);
parent.__c.runVoidMethod ("LogImpl","89961832",BA.NumberToString(__ref.getField(true,"_espacio" /*RemoteObject*/ )),0);
 BA.debugLineNum = 2809;BA.debugLine="For E=0 To ESPACIO -1";
Debug.ShouldStop(16777216);
if (true) break;

case 103:
//for
this.state = 106;
step166 = 1;
limit166 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_e = 0 ;
Debug.locals.put("E", _e);
this.state = 141;
if (true) break;

case 141:
//C
this.state = 106;
if ((step166 > 0 && _e <= limit166) || (step166 < 0 && _e >= limit166)) this.state = 105;
if (true) break;

case 142:
//C
this.state = 141;
_e = ((int)(0 + _e + step166)) ;
Debug.locals.put("E", _e);
if (true) break;

case 105:
//C
this.state = 142;
 BA.debugLineNum = 2810;BA.debugLine="BLANCO = \" \" & BLANCO";
Debug.ShouldStop(33554432);
__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ )));
 if (true) break;
if (true) break;

case 106:
//C
this.state = 140;
Debug.locals.put("E", _e);
;
 BA.debugLineNum = 2812;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(134217728);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2813;BA.debugLine="Printer1.WriteString( s.GetString(\"PE_CANT\") &";
Debug.ShouldStop(268435456);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 2814;BA.debugLine="Printer1.Justify = 1";
Debug.ShouldStop(536870912);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1));
 BA.debugLineNum = 2815;BA.debugLine="Printer1.WriteString( punit & BLANCO)";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ ))));
 BA.debugLineNum = 2816;BA.debugLine="Printer1.Justify = 2";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2));
 BA.debugLineNum = 2817;BA.debugLine="Printer1.WriteString(ptot &  CRLF )";
Debug.ShouldStop(1);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2818;BA.debugLine="TAMANO = 0";
Debug.ShouldStop(2);
__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 2819;BA.debugLine="ESPACIO = 29";
Debug.ShouldStop(4);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29));
 BA.debugLineNum = 2820;BA.debugLine="BLANCO = \" \"";
Debug.ShouldStop(8);
__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" "));
 BA.debugLineNum = 2821;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(16);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 if (true) break;
if (true) break;

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

case 108:
//C
this.state = 109;
;
 BA.debugLineNum = 2825;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(256);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2826;BA.debugLine="Printer1.WriteString(\"---------------------------";
Debug.ShouldStop(512);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2829;BA.debugLine="Printer1.WriteString(\"Total Articulos:   \" & L_CA";
Debug.ShouldStop(4096);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total Articulos:   "),__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2830;BA.debugLine="Printer1.WriteString(\"Total:   $\" & l_total.Text)";
Debug.ShouldStop(8192);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total:   $"),__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"))));
 BA.debugLineNum = 2833;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(65536);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2834;BA.debugLine="Printer1.WriteString(\"---------------------------";
Debug.ShouldStop(131072);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2837;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --";
Debug.ShouldStop(1048576);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("----ESTE TICKET NO ES UN -----"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2838;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO";
Debug.ShouldStop(2097152);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--COMPROBANTE FISCAL, SOLO ES-"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2839;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------";
Debug.ShouldStop(4194304);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------INFORMATIVO-----------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2840;BA.debugLine="Printer1.WriteString(\"---------------------------";
Debug.ShouldStop(8388608);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2841;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(16777216);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2842;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(33554432);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2843;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(67108864);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2844;BA.debugLine="Sleep(1000)";
Debug.ShouldStop(134217728);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp2_click"),BA.numberCast(int.class, 1000));
this.state = 143;
return;
case 143:
//C
this.state = 109;
;
 BA.debugLineNum = 2845;BA.debugLine="Printer1.DisConnect";
Debug.ShouldStop(268435456);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ );
 BA.debugLineNum = 2847;BA.debugLine="ProgressDialogHide";
Debug.ShouldStop(1073741824);
parent.__c.runVoidMethod ("ProgressDialogHide");
 BA.debugLineNum = 2849;BA.debugLine="If banderaimp = 1 Then";
Debug.ShouldStop(1);
if (true) break;

case 109:
//if
this.state = 124;
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_banderaimp" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { 
this.state = 111;
}else 
{ BA.debugLineNum = 2860;BA.debugLine="Else If banderaimp = 0 Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_banderaimp" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { 
this.state = 119;
}}
if (true) break;

case 111:
//C
this.state = 112;
 BA.debugLineNum = 2850;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket";
Debug.ShouldStop(2);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 2851;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
Debug.ShouldStop(4);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp2_click"), null);
this.state = 144;
return;
case 144:
//C
this.state = 112;
_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado);
;
 BA.debugLineNum = 2852;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
Debug.ShouldStop(8);
if (true) break;

case 112:
//if
this.state = 117;
if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
this.state = 114;
}else {
this.state = 116;
}if (true) break;

case 114:
//C
this.state = 117;
 BA.debugLineNum = 2853;BA.debugLine="B_IMP_Click";
Debug.ShouldStop(16);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b_imp_click" /*void*/ );
 if (true) break;

case 116:
//C
this.state = 117;
 if (true) break;

case 117:
//C
this.state = 124;
;
 if (true) break;

case 119:
//C
this.state = 120;
 BA.debugLineNum = 2861;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket";
Debug.ShouldStop(4096);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 2862;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
Debug.ShouldStop(8192);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp2_click"), null);
this.state = 145;
return;
case 145:
//C
this.state = 120;
_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado);
;
 BA.debugLineNum = 2863;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
Debug.ShouldStop(16384);
if (true) break;

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

case 122:
//C
this.state = 123;
 BA.debugLineNum = 2864;BA.debugLine="B_IMP_Click";
Debug.ShouldStop(32768);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b_imp_click" /*void*/ );
 if (true) break;

case 123:
//C
this.state = 124;
;
 if (true) break;

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

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static RemoteObject  _b_noentrega_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("b_noEntrega_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,532);
if (RapidSub.canDelegate("b_noentrega_click")) { return __ref.runUserSub(false, "c_cliente","b_noentrega_click", __ref);}
 BA.debugLineNum = 532;BA.debugLine="Sub b_noEntrega_Click";
Debug.ShouldStop(524288);
 BA.debugLineNum = 534;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT gestion FROM k";
Debug.ShouldStop(2097152);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT gestion FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));
 BA.debugLineNum = 535;BA.debugLine="c.Position = 0";
Debug.ShouldStop(4194304);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 536;BA.debugLine="If c.GetInt(\"gestion\") = 2 Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("gestion"))),BA.numberCast(double.class, 2))) { 
 BA.debugLineNum = 537;BA.debugLine="MsgboxAsync(\"El cliente ya fue entregado y no se";
Debug.ShouldStop(16777216);
c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("El cliente ya fue entregado y no se puede realizar modificación")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 }else {
 BA.debugLineNum = 541;BA.debugLine="B4XPages.ShowPage(\"noVenta\")";
Debug.ShouldStop(268435456);
c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("noVenta")));
 };
 BA.debugLineNum = 543;BA.debugLine="End Sub";
Debug.ShouldStop(1073741824);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b_paso2_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B_PASO2_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1191);
if (RapidSub.canDelegate("b_paso2_click")) { return __ref.runUserSub(false, "c_cliente","b_paso2_click", __ref);}
 BA.debugLineNum = 1191;BA.debugLine="Sub B_PASO2_Click";
Debug.ShouldStop(64);
 BA.debugLineNum = 1192;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(128);
c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 1193;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(256);
__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1194;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(512);
__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1195;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CUENTA from cuentaa"))));
 BA.debugLineNum = 1196;BA.debugLine="c.Position = 0";
Debug.ShouldStop(2048);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1197;BA.debugLine="cuenta = c.GetString(\"CUENTA\")";
Debug.ShouldStop(4096);
__ref.setField ("_cuenta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))));
 BA.debugLineNum = 1198;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu";
Debug.ShouldStop(8192);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa"))));
 BA.debugLineNum = 1199;BA.debugLine="c.Position = 0";
Debug.ShouldStop(16384);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1200;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(32768);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 1201;BA.debugLine="c.Close";
Debug.ShouldStop(65536);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1202;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH";
Debug.ShouldStop(131072);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)")));
 BA.debugLineNum = 1203;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO  NOVENTA";
Debug.ShouldStop(262144);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO  NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON) VALUES(?,?,?,?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_cuenta" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),RemoteObject.createImmutable(("PASO")),RemoteObject.createImmutable(("PASO ESPERA")),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))})))));
 BA.debugLineNum = 1209;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
Debug.ShouldStop(16777216);
c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal")));
 BA.debugLineNum = 1211;BA.debugLine="End Sub";
Debug.ShouldStop(67108864);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b4xpage_appear(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_Appear (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,147);
if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_cliente","b4xpage_appear", __ref);}
RemoteObject _cym = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map");
RemoteObject _vc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cuenta0 = RemoteObject.createImmutable("");
RemoteObject _arti = RemoteObject.createImmutable("");
int _i = 0;
RemoteObject _vc2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cuenta1 = RemoteObject.createImmutable("");
RemoteObject _arti1 = RemoteObject.createImmutable("");
RemoteObject _preu = RemoteObject.createImmutable(0f);
RemoteObject _vc3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _vc4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cuenta2 = RemoteObject.createImmutable("");
RemoteObject _arti2 = RemoteObject.createImmutable("");
RemoteObject _vc5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _c4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cuenta3 = RemoteObject.createImmutable("");
RemoteObject _arti3 = RemoteObject.createImmutable("");
RemoteObject _vcred4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cuentacred2 = RemoteObject.createImmutable(0f);
RemoteObject _vcred5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _vcred = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cuentacred0 = RemoteObject.createImmutable(0f);
RemoteObject _cp = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _x2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _cabonos = RemoteObject.createImmutable("");
 BA.debugLineNum = 147;BA.debugLine="Sub B4XPage_Appear";
Debug.ShouldStop(262144);
 BA.debugLineNum = 148;BA.debugLine="banderaimp = 0";
Debug.ShouldStop(524288);
__ref.setField ("_banderaimp" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 149;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)";
Debug.ShouldStop(1048576);
c_cliente._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")));
 BA.debugLineNum = 150;BA.debugLine="Starter.skmt.Initialize(Starter.ruta,\"kmt.db\", Tr";
Debug.ShouldStop(2097152);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("Initialize",(Object)(c_cliente._starter._ruta /*RemoteObject*/ ),(Object)(BA.ObjectToString("kmt.db")),(Object)(c_cliente.__c.getField(true,"True")));
 BA.debugLineNum = 151;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE";
Debug.ShouldStop(4194304);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )));
 BA.debugLineNum = 152;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,CA";
Debug.ShouldStop(8388608);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT, CAT_CL_BCREDITO  from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))));
 BA.debugLineNum = 153;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot";
Debug.ShouldStop(16777216);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_TIPO NOT IN ('SOBRANTE','FALTANTE')"))));
 BA.debugLineNum = 154;BA.debugLine="s.Position=0";
Debug.ShouldStop(33554432);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 155;BA.debugLine="c.Position=0";
Debug.ShouldStop(67108864);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 156;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")";
Debug.ShouldStop(134217728);
__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))));
 BA.debugLineNum = 157;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")";
Debug.ShouldStop(268435456);
__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))));
 BA.debugLineNum = 158;BA.debugLine="NOMBRE = c.GetString(\"CAT_CL_NOMBRE\")";
Debug.ShouldStop(536870912);
__ref.setField ("_nombre" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))));
 BA.debugLineNum = 159;BA.debugLine="LONGITUD = c.GetString(\"CAT_CL_LONG\")";
Debug.ShouldStop(1073741824);
__ref.setField ("_longitud" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))));
 BA.debugLineNum = 160;BA.debugLine="LATITUD = c.GetString(\"CAT_CL_LAT\")";
Debug.ShouldStop(-2147483648);
__ref.setField ("_latitud" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))));
 BA.debugLineNum = 161;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G";
Debug.ShouldStop(1);
__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOEXT"))))));
 BA.debugLineNum = 162;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")";
Debug.ShouldStop(2);
__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_COLONIA")))));
 BA.debugLineNum = 163;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")";
Debug.ShouldStop(4);
__ref.getField(false,"_la_edo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_EDO")))));
 BA.debugLineNum = 164;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")";
Debug.ShouldStop(8);
__ref.getField(false,"_la_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CP")))));
 BA.debugLineNum = 165;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")";
Debug.ShouldStop(16);
__ref.getField(false,"_l_entre1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE1")))));
 BA.debugLineNum = 166;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")";
Debug.ShouldStop(32);
__ref.getField(false,"_l_entre2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE2")))));
 BA.debugLineNum = 167;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("N",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1")))) && RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1"))),BA.ObjectToString("null"))) { 
 BA.debugLineNum = 168;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")";
Debug.ShouldStop(128);
__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1")))));
 }else {
 BA.debugLineNum = 170;BA.debugLine="l_atiende.Text = \" \"";
Debug.ShouldStop(512);
__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(" "));
 };
 BA.debugLineNum = 172;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("N",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2")))) && RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2"))),BA.ObjectToString("NULL"))) { 
 BA.debugLineNum = 173;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")";
Debug.ShouldStop(4096);
__ref.getField(false,"_l_atiende2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2")))));
 }else {
 BA.debugLineNum = 175;BA.debugLine="l_atiende2.Text = \" \"";
Debug.ShouldStop(16384);
__ref.getField(false,"_l_atiende2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(" "));
 };
 BA.debugLineNum = 177;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\")";
Debug.ShouldStop(65536);
__ref.getField(false,"_la_saldotot" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO")))));
 BA.debugLineNum = 178;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")";
Debug.ShouldStop(131072);
__ref.getField(false,"_la_saldooper" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_EMAIL")))));
 BA.debugLineNum = 180;BA.debugLine="CREDITO = C.GetString(\"CAT_CL_BCREDITO\")";
Debug.ShouldStop(524288);
__ref.setField ("_credito" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO"))));
 BA.debugLineNum = 183;BA.debugLine="Private cym As Map = Subs.traeCantYMonto2(Subs.tr";
Debug.ShouldStop(4194304);
_cym = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");
_cym = c_cliente._subs.runMethod(false,"_traecantymonto2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))));Debug.locals.put("cym", _cym);Debug.locals.put("cym", _cym);
 BA.debugLineNum = 184;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")";
Debug.ShouldStop(8388608);
__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cym.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cantidad"))))));
 BA.debugLineNum = 185;BA.debugLine="l_total.Text = Round2(cym.Get(\"monto\"), 2)";
Debug.ShouldStop(16777216);
__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _cym.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto")))))),(Object)(BA.numberCast(int.class, 2)))));
 BA.debugLineNum = 193;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE HIST_VENTAS set";
Debug.ShouldStop(1);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE HIST_VENTAS set ESPROMO = 1  where HVD_CODPROMO = HVD_PROID AND HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
 BA.debugLineNum = 194;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s";
Debug.ShouldStop(2);
_vc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_CLIENTE in (select cuenta from cuentaa)"))))));Debug.locals.put("vc", _vc);Debug.locals.put("vc", _vc);
 BA.debugLineNum = 196;BA.debugLine="Private cuenta0 As String = 0";
Debug.ShouldStop(8);
_cuenta0 = BA.NumberToString(0);Debug.locals.put("cuenta0", _cuenta0);Debug.locals.put("cuenta0", _cuenta0);
 BA.debugLineNum = 197;BA.debugLine="Private arti As String = 0";
Debug.ShouldStop(16);
_arti = BA.NumberToString(0);Debug.locals.put("arti", _arti);Debug.locals.put("arti", _arti);
 BA.debugLineNum = 198;BA.debugLine="If vc.RowCount > 0 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean(">",_vc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 199;BA.debugLine="For i = 0 To vc.RowCount - 1";
Debug.ShouldStop(64);
{
final int step41 = 1;
final int limit41 = RemoteObject.solve(new RemoteObject[] {_vc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step41 > 0 && _i <= limit41) || (step41 < 0 && _i >= limit41) ;_i = ((int)(0 + _i + step41))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 200;BA.debugLine="vc.Position = i";
Debug.ShouldStop(128);
_vc.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 203;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CANT\")";
Debug.ShouldStop(1024);
_cuenta0 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("cuenta0", _cuenta0);
 BA.debugLineNum = 208;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - vc.Ge";
Debug.ShouldStop(32768);
_arti = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti", _arti);
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 214;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuery(\"s";
Debug.ShouldStop(2097152);
_vc2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 1"))));Debug.locals.put("vc2", _vc2);Debug.locals.put("vc2", _vc2);
 BA.debugLineNum = 215;BA.debugLine="Private Cuenta1 As String = 0";
Debug.ShouldStop(4194304);
_cuenta1 = BA.NumberToString(0);Debug.locals.put("Cuenta1", _cuenta1);Debug.locals.put("Cuenta1", _cuenta1);
 BA.debugLineNum = 216;BA.debugLine="Private arti1 As String = 0";
Debug.ShouldStop(8388608);
_arti1 = BA.NumberToString(0);Debug.locals.put("arti1", _arti1);Debug.locals.put("arti1", _arti1);
 BA.debugLineNum = 217;BA.debugLine="If vc2.RowCount > 0 Then";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean(">",_vc2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 218;BA.debugLine="For i = 0 To vc2.RowCount - 1";
Debug.ShouldStop(33554432);
{
final int step51 = 1;
final int limit51 = RemoteObject.solve(new RemoteObject[] {_vc2.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step51 > 0 && _i <= limit51) || (step51 < 0 && _i >= limit51) ;_i = ((int)(0 + _i + step51))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 219;BA.debugLine="vc2.Position = i";
Debug.ShouldStop(67108864);
_vc2.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 220;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetString";
Debug.ShouldStop(134217728);
_preu = BA.numberCast(float.class, c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))));Debug.locals.put("preu", _preu);Debug.locals.put("preu", _preu);
 BA.debugLineNum = 221;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQuery(";
Debug.ShouldStop(268435456);
_vc3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc3", _vc3);Debug.locals.put("vc3", _vc3);
 BA.debugLineNum = 222;BA.debugLine="If vc3.RowCount > 0 Then";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean(">",_vc3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 223;BA.debugLine="vc3.Position = 0";
Debug.ShouldStop(1073741824);
_vc3.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 224;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC\")-(";
Debug.ShouldStop(-2147483648);
_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 = 225;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\") - v";
Debug.ShouldStop(1);
_arti1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti1),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti1", _arti1);
 };
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 231;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuery($\"";
Debug.ShouldStop(64);
_vc4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PROID,HVD_PRONOMBRE,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc4", _vc4);Debug.locals.put("vc4", _vc4);
 BA.debugLineNum = 232;BA.debugLine="Private Cuenta2 As String = 0";
Debug.ShouldStop(128);
_cuenta2 = BA.NumberToString(0);Debug.locals.put("Cuenta2", _cuenta2);Debug.locals.put("Cuenta2", _cuenta2);
 BA.debugLineNum = 233;BA.debugLine="Private arti2 As String = 0";
Debug.ShouldStop(256);
_arti2 = BA.NumberToString(0);Debug.locals.put("arti2", _arti2);Debug.locals.put("arti2", _arti2);
 BA.debugLineNum = 234;BA.debugLine="If vc4.RowCount > 0 Then";
Debug.ShouldStop(512);
if (RemoteObject.solveBoolean(">",_vc4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 236;BA.debugLine="For i = 0 To vc4.RowCount - 1";
Debug.ShouldStop(2048);
{
final int step66 = 1;
final int limit66 = RemoteObject.solve(new RemoteObject[] {_vc4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step66 > 0 && _i <= limit66) || (step66 < 0 && _i >= limit66) ;_i = ((int)(0 + _i + step66))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 237;BA.debugLine="vc4.Position = i";
Debug.ShouldStop(4096);
_vc4.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 238;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetString(";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("!",_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))))) { 
 BA.debugLineNum = 239;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(0))) { 
 BA.debugLineNum = 240;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_COSTO_";
Debug.ShouldStop(32768);
_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 = 241;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")";
Debug.ShouldStop(65536);
_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 = 243;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQuer";
Debug.ShouldStop(262144);
_vc5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vc5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc5", _vc5);Debug.locals.put("vc5", _vc5);
 BA.debugLineNum = 244;BA.debugLine="If vc5.RowCount > 0 Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean(">",_vc5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 245;BA.debugLine="vc5.Position= 0";
Debug.ShouldStop(1048576);
_vc5.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 247;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_CANT";
Debug.ShouldStop(4194304);
_cuenta2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta2),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuenta2", _cuenta2);
 BA.debugLineNum = 248;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\")- v";
Debug.ShouldStop(8388608);
_arti2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti2),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti2", _arti2);
 };
 };
 };
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 258;BA.debugLine="Subs.centraPanel(p_credito, Root.Width)";
Debug.ShouldStop(2);
c_cliente._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_credito" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")));
 BA.debugLineNum = 259;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($\"S";
Debug.ShouldStop(4);
_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_TIPO NOT IN ('SOBRANTE','FALTANTE')")))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4);
 BA.debugLineNum = 260;BA.debugLine="Private Cuenta3 As String = 0";
Debug.ShouldStop(8);
_cuenta3 = BA.NumberToString(0);Debug.locals.put("Cuenta3", _cuenta3);Debug.locals.put("Cuenta3", _cuenta3);
 BA.debugLineNum = 261;BA.debugLine="Private arti3 As String = 0";
Debug.ShouldStop(16);
_arti3 = BA.NumberToString(0);Debug.locals.put("arti3", _arti3);Debug.locals.put("arti3", _arti3);
 BA.debugLineNum = 262;BA.debugLine="If c4.RowCount > 0 Then";
Debug.ShouldStop(32);
if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 263;BA.debugLine="For i = 0 To c4.RowCount -1";
Debug.ShouldStop(64);
{
final int step88 = 1;
final int limit88 = RemoteObject.solve(new RemoteObject[] {_c4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step88 > 0 && _i <= limit88) || (step88 < 0 && _i >= limit88) ;_i = ((int)(0 + _i + step88))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 264;BA.debugLine="c4.Position = i";
Debug.ShouldStop(128);
_c4.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 265;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")";
Debug.ShouldStop(256);
_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 = 266;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_TOT\"";
Debug.ShouldStop(512);
_cuenta3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta3),BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuenta3", _cuenta3);
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 269;BA.debugLine="Log(cuenta0)";
Debug.ShouldStop(4096);
c_cliente.__c.runVoidMethod ("LogImpl","87798906",_cuenta0,0);
 BA.debugLineNum = 270;BA.debugLine="Log(Cuenta1)";
Debug.ShouldStop(8192);
c_cliente.__c.runVoidMethod ("LogImpl","87798907",_cuenta1,0);
 BA.debugLineNum = 271;BA.debugLine="Log(Cuenta2)";
Debug.ShouldStop(16384);
c_cliente.__c.runVoidMethod ("LogImpl","87798908",_cuenta2,0);
 BA.debugLineNum = 272;BA.debugLine="Log(Cuenta3)";
Debug.ShouldStop(32768);
c_cliente.__c.runVoidMethod ("LogImpl","87798909",_cuenta3,0);
 BA.debugLineNum = 274;BA.debugLine="l_total.Text = NumberFormat2((cuenta0 + Cuenta1 +";
Debug.ShouldStop(131072);
__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),BA.numberCast(double.class, _cuenta1),BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _cuenta3)}, "+++",3, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"True")))));
 BA.debugLineNum = 275;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2";
Debug.ShouldStop(262144);
__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),BA.numberCast(double.class, _arti1),BA.numberCast(double.class, _arti2),BA.numberCast(double.class, _arti3)}, "+++",3, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_cliente.__c.getField(true,"True")))));
 BA.debugLineNum = 280;BA.debugLine="c = Starter.skmt.ExecQuery2(\"select CAT_VA_VALOR";
Debug.ShouldStop(8388608);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("MACIMP")}))));
 BA.debugLineNum = 281;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(16777216);
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 282;BA.debugLine="c.Position = 0";
Debug.ShouldStop(33554432);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 283;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO";
Debug.ShouldStop(67108864);
c_cliente._starter._mac_impresora /*RemoteObject*/  = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")));
 };
 BA.debugLineNum = 285;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM";
Debug.ShouldStop(268435456);
if (RemoteObject.solveBoolean("=",c_cliente._starter._mac_impresora /*RemoteObject*/ ,BA.ObjectToString(""))) { 
c_cliente._starter._mac_impresora /*RemoteObject*/  = BA.ObjectToString("0");};
 BA.debugLineNum = 287;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(RemoteObject.createImmutable("Printer1")));
 BA.debugLineNum = 289;BA.debugLine="If Printer1.IsConnected = False Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ),c_cliente.__c.getField(true,"False"))) { 
 }else {
 BA.debugLineNum = 293;BA.debugLine="Printer1.DisConnect";
Debug.ShouldStop(16);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ );
 BA.debugLineNum = 294;BA.debugLine="Printer1.Connect";
Debug.ShouldStop(32);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
 BA.debugLineNum = 295;BA.debugLine="Log(\"2\")";
Debug.ShouldStop(64);
c_cliente.__c.runVoidMethod ("LogImpl","87798932",RemoteObject.createImmutable("2"),0);
 };
 BA.debugLineNum = 326;BA.debugLine="Private vcred4 As Cursor = Starter.skmt.ExecQuery";
Debug.ShouldStop(32);
_vcred4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vcred4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PROID,HVD_PRONOMBRE,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_BCREDITO = '1' "))))));Debug.locals.put("vcred4", _vcred4);Debug.locals.put("vcred4", _vcred4);
 BA.debugLineNum = 327;BA.debugLine="Private Cuentacred2 As Float = 0";
Debug.ShouldStop(64);
_cuentacred2 = BA.numberCast(float.class, 0);Debug.locals.put("Cuentacred2", _cuentacred2);Debug.locals.put("Cuentacred2", _cuentacred2);
 BA.debugLineNum = 329;BA.debugLine="If vcred4.RowCount > 0 Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean(">",_vcred4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 331;BA.debugLine="For i = 0 To vcred4.RowCount - 1";
Debug.ShouldStop(1024);
{
final int step116 = 1;
final int limit116 = RemoteObject.solve(new RemoteObject[] {_vcred4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step116 > 0 && _i <= limit116) || (step116 < 0 && _i >= limit116) ;_i = ((int)(0 + _i + step116))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 332;BA.debugLine="vcred4.Position = i";
Debug.ShouldStop(2048);
_vcred4.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 333;BA.debugLine="If vcred4.GetString(\"HVD_PROID\") <> vcred4.GetS";
Debug.ShouldStop(4096);
if (RemoteObject.solveBoolean("!",_vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),_vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))))) { 
 BA.debugLineNum = 334;BA.debugLine="If vcred4.GetString(\"HVD_RECHAZO\") = 0 Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",_vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(0))) { 
 BA.debugLineNum = 335;BA.debugLine="Cuentacred2 = Cuentacred2 + vcred4.GetString(";
Debug.ShouldStop(16384);
_cuentacred2 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_cuentacred2,BA.numberCast(double.class, _vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuentacred2", _cuentacred2);
 }else {
 BA.debugLineNum = 338;BA.debugLine="Private vcred5 As Cursor = Starter.skmt.ExecQ";
Debug.ShouldStop(131072);
_vcred5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vcred5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vcred5", _vcred5);Debug.locals.put("vcred5", _vcred5);
 BA.debugLineNum = 339;BA.debugLine="If vcred5.RowCount > 0 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean(">",_vcred5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 340;BA.debugLine="vc5.Position= 0";
Debug.ShouldStop(524288);
_vc5.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 342;BA.debugLine="Cuentacred2 = Cuentacred2 +((vcred4.GetStrin";
Debug.ShouldStop(2097152);
_cuentacred2 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_cuentacred2,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuentacred2", _cuentacred2);
 };
 };
 };
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 351;BA.debugLine="Private vcred As Cursor = Starter.skmt.ExecQuery(";
Debug.ShouldStop(1073741824);
_vcred = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_vcred = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_CLIENTE in (select cuenta from cuentaa) and HVD_BCREDITO = '1'"))))));Debug.locals.put("vcred", _vcred);Debug.locals.put("vcred", _vcred);
 BA.debugLineNum = 353;BA.debugLine="Private cuentacred0 As Float = 0";
Debug.ShouldStop(1);
_cuentacred0 = BA.numberCast(float.class, 0);Debug.locals.put("cuentacred0", _cuentacred0);Debug.locals.put("cuentacred0", _cuentacred0);
 BA.debugLineNum = 355;BA.debugLine="If vcred.RowCount > 0 Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean(">",_vcred.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 356;BA.debugLine="For i = 0 To vcred.RowCount - 1";
Debug.ShouldStop(8);
{
final int step134 = 1;
final int limit134 = RemoteObject.solve(new RemoteObject[] {_vcred.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step134 > 0 && _i <= limit134) || (step134 < 0 && _i >= limit134) ;_i = ((int)(0 + _i + step134))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 357;BA.debugLine="vcred.Position = i";
Debug.ShouldStop(16);
_vcred.runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 360;BA.debugLine="cuentacred0 = cuentacred0 + ((vcred.GetInt(\"HVD";
Debug.ShouldStop(128);
_cuentacred0 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_cuentacred0,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_vcred.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_CANT"))),_vcred.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))}, "-",1, 1)),(RemoteObject.solve(new RemoteObject[] {_vcred.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))),_vcred.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_CANT")))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("cuentacred0", _cuentacred0);
 }
}Debug.locals.put("i", _i);
;
 };
 BA.debugLineNum = 369;BA.debugLine="Log(cuentacred0)";
Debug.ShouldStop(65536);
c_cliente.__c.runVoidMethod ("LogImpl","87799006",BA.NumberToString(_cuentacred0),0);
 BA.debugLineNum = 370;BA.debugLine="Log(Cuentacred2)";
Debug.ShouldStop(131072);
c_cliente.__c.runVoidMethod ("LogImpl","87799007",BA.NumberToString(_cuentacred2),0);
 BA.debugLineNum = 372;BA.debugLine="l_montopag.Text = NumberFormat2((cuentacred0 + Cu";
Debug.ShouldStop(524288);
__ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {_cuentacred0,_cuentacred2}, "+",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False")))));
 BA.debugLineNum = 373;BA.debugLine="l_montoefec.Text = NumberFormat2((NumberFormat2((";
Debug.ShouldStop(1048576);
__ref.getField(false,"_l_montoefec" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),BA.numberCast(double.class, _cuenta1),BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _cuenta3)}, "+++",3, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False")))),BA.numberCast(double.class, __ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"getText"))}, "-",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False")))));
 BA.debugLineNum = 377;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from";
Debug.ShouldStop(16777216);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));
 BA.debugLineNum = 378;BA.debugLine="c.Position = 0";
Debug.ShouldStop(33554432);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 379;BA.debugLine="almacen = c.GetString(\"ID_ALMACEN\")";
Debug.ShouldStop(67108864);
__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))));
 BA.debugLineNum = 380;BA.debugLine="c.Close";
Debug.ShouldStop(134217728);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 382;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"SELECT";
Debug.ShouldStop(536870912);
_cp = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_cp = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("cp", _cp);Debug.locals.put("cp", _cp);
 BA.debugLineNum = 383;BA.debugLine="If cp.RowCount > 0 Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean(">",_cp.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 385;BA.debugLine="Dim x2 As Cursor =Starter.skmt.ExecQuery(\"SELECT";
Debug.ShouldStop(1);
_x2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_x2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT gestion FROM kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("x2", _x2);Debug.locals.put("x2", _x2);
 BA.debugLineNum = 386;BA.debugLine="x2.Position = 0";
Debug.ShouldStop(2);
_x2.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 387;BA.debugLine="If x2.GetString(\"gestion\") = 2 Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("gestion"))),BA.NumberToString(2))) { 
 BA.debugLineNum = 388;BA.debugLine="b_cancel_pagare.Visible = True";
Debug.ShouldStop(8);
__ref.getField(false,"_b_cancel_pagare" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 }else {
 BA.debugLineNum = 390;BA.debugLine="b_cancel_pagare.Visible = False";
Debug.ShouldStop(32);
__ref.getField(false,"_b_cancel_pagare" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 };
 }else {
 BA.debugLineNum = 394;BA.debugLine="b_cancel_pagare.Visible = False";
Debug.ShouldStop(512);
__ref.getField(false,"_b_cancel_pagare" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 };
 BA.debugLineNum = 399;BA.debugLine="Log(\"SI AQUI\")";
Debug.ShouldStop(16384);
c_cliente.__c.runVoidMethod ("LogImpl","87799036",RemoteObject.createImmutable("SI AQUI"),0);
 BA.debugLineNum = 400;BA.debugLine="b = Starter.skmt.ExecQuery(\"select COUNT(*) AS C";
Debug.ShouldStop(32768);
__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select COUNT(*) AS CLIENTE FROM ABONOSP WHERE CLIENTE IN (Select CUENTA from cuentaa)"))));
 BA.debugLineNum = 401;BA.debugLine="b.Position = 0";
Debug.ShouldStop(65536);
__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 402;BA.debugLine="Dim cabonos As String = b.GetString(\"CLIENTE\")";
Debug.ShouldStop(131072);
_cabonos = __ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")));Debug.locals.put("cabonos", _cabonos);Debug.locals.put("cabonos", _cabonos);
 BA.debugLineNum = 403;BA.debugLine="If cabonos = 0 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",_cabonos,BA.NumberToString(0))) { 
 BA.debugLineNum = 404;BA.debugLine="b_cxc.Visible = False";
Debug.ShouldStop(524288);
__ref.getField(false,"_b_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False"));
 }else {
 BA.debugLineNum = 406;BA.debugLine="b_cxc.Visible = True";
Debug.ShouldStop(2097152);
__ref.getField(false,"_b_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True"));
 };
 BA.debugLineNum = 410;BA.debugLine="End Sub";
Debug.ShouldStop(33554432);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _b4xpage_closerequest(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_CloseRequest (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,545);
if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_cliente","b4xpage_closerequest", __ref);}
ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(null,__ref);
rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter();
rsub.resume(null, null);
return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub {
public ResumableSub_B4XPage_CloseRequest(reparto_izca.keymon.lat.c_cliente parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
reparto_izca.keymon.lat.c_cliente parent;

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_CloseRequest (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,545);
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 = 548;BA.debugLine="If p_credito.Visible Then";
Debug.ShouldStop(8);
if (true) break;

case 1:
//if
this.state = 8;
if (__ref.getField(false,"_p_credito" /*RemoteObject*/ ).runMethod(true,"getVisible").<Boolean>get().booleanValue()) { 
this.state = 3;
}else 
{ BA.debugLineNum = 552;BA.debugLine="Else If la_cuenta.Text = \"63403\" Then";
Debug.ShouldStop(128);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("63403"))) { 
this.state = 5;
}else {
this.state = 7;
}}
if (true) break;

case 3:
//C
this.state = 8;
 BA.debugLineNum = 549;BA.debugLine="et_montoacredito.Text = \"\"";
Debug.ShouldStop(16);
__ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(""));
 BA.debugLineNum = 550;BA.debugLine="p_credito.Visible = False";
Debug.ShouldStop(32);
__ref.getField(false,"_p_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 551;BA.debugLine="Return False";
Debug.ShouldStop(64);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 if (true) break;

case 5:
//C
this.state = 8;
 BA.debugLineNum = 553;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
Debug.ShouldStop(256);
parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal")));
 BA.debugLineNum = 554;BA.debugLine="Return False";
Debug.ShouldStop(512);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 if (true) break;

case 7:
//C
this.state = 8;
 BA.debugLineNum = 556;BA.debugLine="B4XPages.ShowPage(\"Clientes\")";
Debug.ShouldStop(2048);
parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes")));
 BA.debugLineNum = 557;BA.debugLine="Return False";
Debug.ShouldStop(4096);
if (true) {
parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;};
 if (true) break;

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

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static RemoteObject  _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{
try {
		Debug.PushSubsStack("B4XPage_Created (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,108);
if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_cliente","b4xpage_created", __ref, _root1);}
Debug.locals.put("Root1", _root1);
 BA.debugLineNum = 108;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)";
Debug.ShouldStop(2048);
 BA.debugLineNum = 109;BA.debugLine="Root = Root1";
Debug.ShouldStop(4096);
__ref.setField ("_root" /*RemoteObject*/ ,_root1);
 BA.debugLineNum = 111;BA.debugLine="g.Initialize(\"GPS\")";
Debug.ShouldStop(16384);
__ref.getField(false,"_g" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("GPS")));
 BA.debugLineNum = 113;BA.debugLine="Root.LoadLayout(\"cliente\")";
Debug.ShouldStop(65536);
__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("cliente")),__ref.getField(false, "ba"));
 BA.debugLineNum = 114;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO, C";
Debug.ShouldStop(131072);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO, CAT_CL_RUTA, CAT_CL_NOMBRE, CAT_CL_ATIENDE1, CAT_CL_ATIENTE2, CAT_CL_TELEFONO, CAT_CL_EMAIL, CAT_CL_CALLE, CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT  from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))));
 BA.debugLineNum = 115;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot";
Debug.ShouldStop(262144);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))));
 BA.debugLineNum = 116;BA.debugLine="s.Position=0";
Debug.ShouldStop(524288);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 117;BA.debugLine="c.Position=0";
Debug.ShouldStop(1048576);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 118;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")";
Debug.ShouldStop(2097152);
__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))));
 BA.debugLineNum = 119;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")";
Debug.ShouldStop(4194304);
__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))));
 BA.debugLineNum = 120;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G";
Debug.ShouldStop(8388608);
__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOEXT"))))));
 BA.debugLineNum = 121;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")";
Debug.ShouldStop(16777216);
__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_COLONIA")))));
 BA.debugLineNum = 122;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")";
Debug.ShouldStop(33554432);
__ref.getField(false,"_la_edo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_EDO")))));
 BA.debugLineNum = 123;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")";
Debug.ShouldStop(67108864);
__ref.getField(false,"_la_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CP")))));
 BA.debugLineNum = 124;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")";
Debug.ShouldStop(134217728);
__ref.getField(false,"_l_entre1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE1")))));
 BA.debugLineNum = 125;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")";
Debug.ShouldStop(268435456);
__ref.getField(false,"_l_entre2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE2")))));
 BA.debugLineNum = 126;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G";
Debug.ShouldStop(536870912);
if (RemoteObject.solveBoolean("N",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1")))) && RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1"))),BA.ObjectToString("null"))) { 
 BA.debugLineNum = 127;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1")))));
 }else {
 BA.debugLineNum = 129;BA.debugLine="l_atiende.Text = \" \"";
Debug.ShouldStop(1);
__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(" "));
 };
 BA.debugLineNum = 131;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("N",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2")))) && RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2"))),BA.ObjectToString("NULL"))) { 
 BA.debugLineNum = 132;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")";
Debug.ShouldStop(8);
__ref.getField(false,"_l_atiende2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2")))));
 BA.debugLineNum = 133;BA.debugLine="Log(\"|\"&c.GetString(\"CAT_CL_ATIENTE2\")&\"|\")";
Debug.ShouldStop(16);
c_cliente.__c.runVoidMethod ("LogImpl","87733273",RemoteObject.concat(RemoteObject.createImmutable("|"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2"))),RemoteObject.createImmutable("|")),0);
 }else {
 BA.debugLineNum = 135;BA.debugLine="l_atiende2.Text = \" \"";
Debug.ShouldStop(64);
__ref.getField(false,"_l_atiende2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(" "));
 };
 BA.debugLineNum = 137;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\")";
Debug.ShouldStop(256);
__ref.getField(false,"_la_saldotot" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO")))));
 BA.debugLineNum = 138;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")";
Debug.ShouldStop(512);
__ref.getField(false,"_la_saldooper" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_EMAIL")))));
 BA.debugLineNum = 140;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")";
Debug.ShouldStop(2048);
__ref.getField(false,"_btadmin" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("BlueTeeth")));
 BA.debugLineNum = 141;BA.debugLine="cmp20.Initialize(\"Printer\")";
Debug.ShouldStop(4096);
__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("Printer")));
 BA.debugLineNum = 142;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE";
Debug.ShouldStop(8192);
__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )));
 BA.debugLineNum = 143;BA.debugLine="End Sub";
Debug.ShouldStop(16384);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _cb_tipopago_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{
try {
		Debug.PushSubsStack("cb_tipopago_SelectedIndexChanged (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2444);
if (RapidSub.canDelegate("cb_tipopago_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_tipopago_selectedindexchanged", __ref, _index);}
Debug.locals.put("Index", _index);
 BA.debugLineNum = 2444;BA.debugLine="Private Sub cb_tipopago_SelectedIndexChanged (Inde";
Debug.ShouldStop(2048);
 BA.debugLineNum = 2445;BA.debugLine="itemselect = cb_tipopago.SelectedItem";
Debug.ShouldStop(4096);
__ref.setField ("_itemselect" /*RemoteObject*/ ,__ref.getField(false,"_cb_tipopago" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ ));
 BA.debugLineNum = 2446;BA.debugLine="End Sub";
Debug.ShouldStop(8192);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _class_globals(RemoteObject __ref) throws Exception{
 //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals";
 //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore";
c_cliente._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_cliente._root);
 //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore";
c_cliente._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_cliente._xui);
 //BA.debugLineNum = 4;BA.debugLine="Dim g As GPS";
c_cliente._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_cliente._g);
 //BA.debugLineNum = 5;BA.debugLine="Dim clie_id As String";
c_cliente._clie_id = RemoteObject.createImmutable("");__ref.setField("_clie_id",c_cliente._clie_id);
 //BA.debugLineNum = 6;BA.debugLine="Dim sDate,sTime As String";
c_cliente._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_cliente._sdate);
c_cliente._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_cliente._stime);
 //BA.debugLineNum = 7;BA.debugLine="Dim usuario As String";
c_cliente._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_cliente._usuario);
 //BA.debugLineNum = 8;BA.debugLine="Dim cuenta As String";
c_cliente._cuenta = RemoteObject.createImmutable("");__ref.setField("_cuenta",c_cliente._cuenta);
 //BA.debugLineNum = 9;BA.debugLine="Dim btAdmin As BluetoothAdmin";
c_cliente._btadmin = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial.BluetoothAdmin");__ref.setField("_btadmin",c_cliente._btadmin);
 //BA.debugLineNum = 10;BA.debugLine="Dim cmp20 As Serial";
c_cliente._cmp20 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial");__ref.setField("_cmp20",c_cliente._cmp20);
 //BA.debugLineNum = 11;BA.debugLine="Dim printer As TextWriter";
c_cliente._printer = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.TextWriterWrapper");__ref.setField("_printer",c_cliente._printer);
 //BA.debugLineNum = 12;BA.debugLine="Dim PairedDevices As Map";
c_cliente._paireddevices = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_paireddevices",c_cliente._paireddevices);
 //BA.debugLineNum = 13;BA.debugLine="Dim L As List";
c_cliente._l = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_l",c_cliente._l);
 //BA.debugLineNum = 14;BA.debugLine="Dim TAMANO As Int";
c_cliente._tamano = RemoteObject.createImmutable(0);__ref.setField("_tamano",c_cliente._tamano);
 //BA.debugLineNum = 15;BA.debugLine="Dim ESPACIO As Int";
c_cliente._espacio = RemoteObject.createImmutable(0);__ref.setField("_espacio",c_cliente._espacio);
 //BA.debugLineNum = 16;BA.debugLine="Dim BLANCO As String";
c_cliente._blanco = RemoteObject.createImmutable("");__ref.setField("_blanco",c_cliente._blanco);
 //BA.debugLineNum = 17;BA.debugLine="Dim impresoraConectada As Boolean = False";
c_cliente._impresoraconectada = c_cliente.__c.getField(true,"False");__ref.setField("_impresoraconectada",c_cliente._impresoraconectada);
 //BA.debugLineNum = 18;BA.debugLine="Dim LONGITUD As String";
c_cliente._longitud = RemoteObject.createImmutable("");__ref.setField("_longitud",c_cliente._longitud);
 //BA.debugLineNum = 19;BA.debugLine="Dim LATITUD As String";
c_cliente._latitud = RemoteObject.createImmutable("");__ref.setField("_latitud",c_cliente._latitud);
 //BA.debugLineNum = 20;BA.debugLine="Dim NOMBRE As String";
c_cliente._nombre = RemoteObject.createImmutable("");__ref.setField("_nombre",c_cliente._nombre);
 //BA.debugLineNum = 21;BA.debugLine="Dim c As Cursor";
c_cliente._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_cliente._c);
 //BA.debugLineNum = 22;BA.debugLine="Dim s As Cursor";
c_cliente._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_cliente._s);
 //BA.debugLineNum = 23;BA.debugLine="Dim ListView1 As ListView";
c_cliente._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_cliente._listview1);
 //BA.debugLineNum = 24;BA.debugLine="Dim la_cuenta As Label";
c_cliente._la_cuenta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_cuenta",c_cliente._la_cuenta);
 //BA.debugLineNum = 25;BA.debugLine="Dim La_nombre As Label";
c_cliente._la_nombre = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_nombre",c_cliente._la_nombre);
 //BA.debugLineNum = 26;BA.debugLine="Dim la_Calle As Label";
c_cliente._la_calle = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_calle",c_cliente._la_calle);
 //BA.debugLineNum = 27;BA.debugLine="Dim la_numero As Label";
c_cliente._la_numero = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_numero",c_cliente._la_numero);
 //BA.debugLineNum = 28;BA.debugLine="Dim la_nint As Label";
c_cliente._la_nint = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_nint",c_cliente._la_nint);
 //BA.debugLineNum = 29;BA.debugLine="Dim la_edo As Label";
c_cliente._la_edo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_edo",c_cliente._la_edo);
 //BA.debugLineNum = 30;BA.debugLine="Dim la_pob As Label";
c_cliente._la_pob = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_pob",c_cliente._la_pob);
 //BA.debugLineNum = 31;BA.debugLine="Dim la_col As Label";
c_cliente._la_col = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_col",c_cliente._la_col);
 //BA.debugLineNum = 32;BA.debugLine="Dim la_cp As Label";
c_cliente._la_cp = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_cp",c_cliente._la_cp);
 //BA.debugLineNum = 33;BA.debugLine="Dim la_zona As Label";
c_cliente._la_zona = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_zona",c_cliente._la_zona);
 //BA.debugLineNum = 34;BA.debugLine="Dim gest As Button";
c_cliente._gest = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_gest",c_cliente._gest);
 //BA.debugLineNum = 35;BA.debugLine="Dim la_saldotot As Label";
c_cliente._la_saldotot = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_saldotot",c_cliente._la_saldotot);
 //BA.debugLineNum = 36;BA.debugLine="Dim la_saldooper As Label";
c_cliente._la_saldooper = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_saldooper",c_cliente._la_saldooper);
 //BA.debugLineNum = 37;BA.debugLine="Dim reqManager As DBRequestManager";
c_cliente._reqmanager = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager");__ref.setField("_reqmanager",c_cliente._reqmanager);
 //BA.debugLineNum = 38;BA.debugLine="Dim b_noEntrega As Button";
c_cliente._b_noentrega = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_noentrega",c_cliente._b_noentrega);
 //BA.debugLineNum = 39;BA.debugLine="Dim Label10 As Label";
c_cliente._label10 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label10",c_cliente._label10);
 //BA.debugLineNum = 40;BA.debugLine="Dim Label11 As Label";
c_cliente._label11 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label11",c_cliente._label11);
 //BA.debugLineNum = 41;BA.debugLine="Dim d As Cursor";
c_cliente._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",c_cliente._d);
 //BA.debugLineNum = 42;BA.debugLine="Dim ime As IME";
c_cliente._ime = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_ime",c_cliente._ime);
 //BA.debugLineNum = 43;BA.debugLine="Dim Tar As Button";
c_cliente._tar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_tar",c_cliente._tar);
 //BA.debugLineNum = 44;BA.debugLine="Private L_QR As Label";
c_cliente._l_qr = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_qr",c_cliente._l_qr);
 //BA.debugLineNum = 45;BA.debugLine="Private BT_QR As Button";
c_cliente._bt_qr = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_bt_qr",c_cliente._bt_qr);
 //BA.debugLineNum = 46;BA.debugLine="Dim Printer1 As EscPosPrinter";
c_cliente._printer1 = RemoteObject.createNew ("reparto_izca.keymon.lat.escposprinter");__ref.setField("_printer1",c_cliente._printer1);
 //BA.debugLineNum = 47;BA.debugLine="Dim la_comm As Label";
c_cliente._la_comm = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_comm",c_cliente._la_comm);
 //BA.debugLineNum = 48;BA.debugLine="Dim la_actdte As Label";
c_cliente._la_actdte = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_actdte",c_cliente._la_actdte);
 //BA.debugLineNum = 49;BA.debugLine="Dim la_usuario As Label";
c_cliente._la_usuario = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_usuario",c_cliente._la_usuario);
 //BA.debugLineNum = 50;BA.debugLine="Dim la_resultado As Label";
c_cliente._la_resultado = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_resultado",c_cliente._la_resultado);
 //BA.debugLineNum = 51;BA.debugLine="Dim l_entre1 As Label";
c_cliente._l_entre1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_entre1",c_cliente._l_entre1);
 //BA.debugLineNum = 52;BA.debugLine="Dim l_entre2 As Label";
c_cliente._l_entre2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_entre2",c_cliente._l_entre2);
 //BA.debugLineNum = 53;BA.debugLine="Dim l_atiende As Label";
c_cliente._l_atiende = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_atiende",c_cliente._l_atiende);
 //BA.debugLineNum = 54;BA.debugLine="Dim l_atiende2 As Label";
c_cliente._l_atiende2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_atiende2",c_cliente._l_atiende2);
 //BA.debugLineNum = 55;BA.debugLine="Dim DATOS As Button";
c_cliente._datos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_datos",c_cliente._datos);
 //BA.debugLineNum = 56;BA.debugLine="Dim Guardar As Button";
c_cliente._guardar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_guardar",c_cliente._guardar);
 //BA.debugLineNum = 57;BA.debugLine="Dim NUEVO As Button";
c_cliente._nuevo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_nuevo",c_cliente._nuevo);
 //BA.debugLineNum = 58;BA.debugLine="Private l_total As Label";
c_cliente._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_cliente._l_total);
 //BA.debugLineNum = 59;BA.debugLine="Private HIST As Button";
c_cliente._hist = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_hist",c_cliente._hist);
 //BA.debugLineNum = 60;BA.debugLine="Dim PASA_IMP As String";
c_cliente._pasa_imp = RemoteObject.createImmutable("");__ref.setField("_pasa_imp",c_cliente._pasa_imp);
 //BA.debugLineNum = 61;BA.debugLine="Private B_IMP As Button";
c_cliente._b_imp = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_imp",c_cliente._b_imp);
 //BA.debugLineNum = 62;BA.debugLine="Dim total_cliente As String";
c_cliente._total_cliente = RemoteObject.createImmutable("");__ref.setField("_total_cliente",c_cliente._total_cliente);
 //BA.debugLineNum = 63;BA.debugLine="Dim CREDITO As String";
c_cliente._credito = RemoteObject.createImmutable("");__ref.setField("_credito",c_cliente._credito);
 //BA.debugLineNum = 64;BA.debugLine="Private p_principal As Panel";
c_cliente._p_principal = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_principal",c_cliente._p_principal);
 //BA.debugLineNum = 65;BA.debugLine="Private B_PASO2 As Button";
c_cliente._b_paso2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_paso2",c_cliente._b_paso2);
 //BA.debugLineNum = 66;BA.debugLine="Private L_CANT As Label";
c_cliente._l_cant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cant",c_cliente._l_cant);
 //BA.debugLineNum = 67;BA.debugLine="Dim errorImpresora As Int = 0";
c_cliente._errorimpresora = BA.numberCast(int.class, 0);__ref.setField("_errorimpresora",c_cliente._errorimpresora);
 //BA.debugLineNum = 68;BA.debugLine="Dim banderaimp As Int";
c_cliente._banderaimp = RemoteObject.createImmutable(0);__ref.setField("_banderaimp",c_cliente._banderaimp);
 //BA.debugLineNum = 69;BA.debugLine="Private l_credi As Label";
c_cliente._l_credi = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_credi",c_cliente._l_credi);
 //BA.debugLineNum = 70;BA.debugLine="Private l_pagare As Label";
c_cliente._l_pagare = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_pagare",c_cliente._l_pagare);
 //BA.debugLineNum = 71;BA.debugLine="Private l_montopag As Label";
c_cliente._l_montopag = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_montopag",c_cliente._l_montopag);
 //BA.debugLineNum = 72;BA.debugLine="Private l_efectivo As Label";
c_cliente._l_efectivo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_efectivo",c_cliente._l_efectivo);
 //BA.debugLineNum = 73;BA.debugLine="Private l_montoefec As Label";
c_cliente._l_montoefec = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_montoefec",c_cliente._l_montoefec);
 //BA.debugLineNum = 74;BA.debugLine="Private p_credito As Panel";
c_cliente._p_credito = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_credito",c_cliente._p_credito);
 //BA.debugLineNum = 75;BA.debugLine="Private b_acred As Button";
c_cliente._b_acred = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_acred",c_cliente._b_acred);
 //BA.debugLineNum = 76;BA.debugLine="Private b_cancred As Button";
c_cliente._b_cancred = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cancred",c_cliente._b_cancred);
 //BA.debugLineNum = 77;BA.debugLine="Private et_montoacredito As EditText";
c_cliente._et_montoacredito = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_montoacredito",c_cliente._et_montoacredito);
 //BA.debugLineNum = 78;BA.debugLine="Private Label16 As Label";
c_cliente._label16 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label16",c_cliente._label16);
 //BA.debugLineNum = 79;BA.debugLine="Private l_limite As Label";
c_cliente._l_limite = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_limite",c_cliente._l_limite);
 //BA.debugLineNum = 80;BA.debugLine="Dim almacen As String";
c_cliente._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",c_cliente._almacen);
 //BA.debugLineNum = 81;BA.debugLine="Dim fechaprev As String";
c_cliente._fechaprev = RemoteObject.createImmutable("");__ref.setField("_fechaprev",c_cliente._fechaprev);
 //BA.debugLineNum = 82;BA.debugLine="Dim rutaprev As String";
c_cliente._rutaprev = RemoteObject.createImmutable("");__ref.setField("_rutaprev",c_cliente._rutaprev);
 //BA.debugLineNum = 83;BA.debugLine="Dim rutarep As String";
c_cliente._rutarep = RemoteObject.createImmutable("");__ref.setField("_rutarep",c_cliente._rutarep);
 //BA.debugLineNum = 84;BA.debugLine="Dim montopagare As String";
c_cliente._montopagare = RemoteObject.createImmutable("");__ref.setField("_montopagare",c_cliente._montopagare);
 //BA.debugLineNum = 85;BA.debugLine="Private p_abono As Panel";
c_cliente._p_abono = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_abono",c_cliente._p_abono);
 //BA.debugLineNum = 86;BA.debugLine="Private clv_abonos As CustomListView";
c_cliente._clv_abonos = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_abonos",c_cliente._clv_abonos);
 //BA.debugLineNum = 87;BA.debugLine="Private et_abono As EditText";
c_cliente._et_abono = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_abono",c_cliente._et_abono);
 //BA.debugLineNum = 88;BA.debugLine="Private b_cancelar As Button";
c_cliente._b_cancelar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cancelar",c_cliente._b_cancelar);
 //BA.debugLineNum = 89;BA.debugLine="Private b_abono As Button";
c_cliente._b_abono = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_abono",c_cliente._b_abono);
 //BA.debugLineNum = 90;BA.debugLine="Private l_montoabonostotal As Label";
c_cliente._l_montoabonostotal = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_montoabonostotal",c_cliente._l_montoabonostotal);
 //BA.debugLineNum = 91;BA.debugLine="Dim h, j,b, f As Cursor";
c_cliente._h = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_h",c_cliente._h);
c_cliente._j = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_j",c_cliente._j);
c_cliente._b = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_b",c_cliente._b);
c_cliente._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f",c_cliente._f);
 //BA.debugLineNum = 92;BA.debugLine="Private l_folio As Label";
c_cliente._l_folio = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_folio",c_cliente._l_folio);
 //BA.debugLineNum = 93;BA.debugLine="Private l_saldo As Label";
c_cliente._l_saldo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_saldo",c_cliente._l_saldo);
 //BA.debugLineNum = 94;BA.debugLine="Private b_cxc As Button";
c_cliente._b_cxc = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cxc",c_cliente._b_cxc);
 //BA.debugLineNum = 95;BA.debugLine="Private cb_tipopago As B4XComboBox";
c_cliente._cb_tipopago = RemoteObject.createNew ("reparto_izca.keymon.lat.b4xcombobox");__ref.setField("_cb_tipopago",c_cliente._cb_tipopago);
 //BA.debugLineNum = 96;BA.debugLine="Dim itemselect As String";
c_cliente._itemselect = RemoteObject.createImmutable("");__ref.setField("_itemselect",c_cliente._itemselect);
 //BA.debugLineNum = 97;BA.debugLine="Dim tipo_abonox As String";
c_cliente._tipo_abonox = RemoteObject.createImmutable("");__ref.setField("_tipo_abonox",c_cliente._tipo_abonox);
 //BA.debugLineNum = 98;BA.debugLine="Private b_cancel_pagare As Button";
c_cliente._b_cancel_pagare = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cancel_pagare",c_cliente._b_cancel_pagare);
 //BA.debugLineNum = 99;BA.debugLine="Dim NOTA As String";
c_cliente._nota = RemoteObject.createImmutable("");__ref.setField("_nota",c_cliente._nota);
 //BA.debugLineNum = 100;BA.debugLine="End Sub";
return RemoteObject.createImmutable("");
}
public static RemoteObject  _createlistitem(RemoteObject __ref,RemoteObject _mostrar,RemoteObject _mostrar1) throws Exception{
try {
		Debug.PushSubsStack("CreateListItem (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2020);
if (RapidSub.canDelegate("createlistitem")) { return __ref.runUserSub(false, "c_cliente","createlistitem", __ref, _mostrar, _mostrar1);}
RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper");
Debug.locals.put("mostrar", _mostrar);
Debug.locals.put("mostrar1", _mostrar1);
 BA.debugLineNum = 2020;BA.debugLine="Sub CreateListItem(mostrar As String, mostrar1 As";
Debug.ShouldStop(8);
 BA.debugLineNum = 2021;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")";
Debug.ShouldStop(16);
_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");
_p = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p", _p);Debug.locals.put("p", _p);
 BA.debugLineNum = 2022;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 1, 10)";
Debug.ShouldStop(32);
_p.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 10)));
 BA.debugLineNum = 2023;BA.debugLine="p.LoadLayout(\"folioabono\")";
Debug.ShouldStop(64);
_p.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("folioabono")),__ref.getField(false, "ba"));
 BA.debugLineNum = 2024;BA.debugLine="p.Height= 32dip";
Debug.ShouldStop(128);
_p.runMethod(true,"setHeight",c_cliente.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 32))));
 BA.debugLineNum = 2025;BA.debugLine="p.Width = 80dip";
Debug.ShouldStop(256);
_p.runMethod(true,"setWidth",c_cliente.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 80))));
 BA.debugLineNum = 2027;BA.debugLine="l_folio.Text = mostrar";
Debug.ShouldStop(1024);
__ref.getField(false,"_l_folio" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_mostrar));
 BA.debugLineNum = 2028;BA.debugLine="l_saldo.Text = mostrar1";
Debug.ShouldStop(2048);
__ref.getField(false,"_l_saldo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_mostrar1));
 BA.debugLineNum = 2031;BA.debugLine="Return p";
Debug.ShouldStop(16384);
if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _p.getObject());
 BA.debugLineNum = 2032;BA.debugLine="End Sub";
Debug.ShouldStop(32768);
return RemoteObject.createImmutable(null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _datos_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("DATOS_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,567);
if (RapidSub.canDelegate("datos_click")) { return __ref.runUserSub(false, "c_cliente","datos_click", __ref);}
 BA.debugLineNum = 567;BA.debugLine="Sub DATOS_Click";
Debug.ShouldStop(4194304);
 BA.debugLineNum = 569;BA.debugLine="End Sub";
Debug.ShouldStop(16777216);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static void  _gest_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("gest_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,431);
if (RapidSub.canDelegate("gest_click")) { __ref.runUserSub(false, "c_cliente","gest_click", __ref); return;}
ResumableSub_gest_Click rsub = new ResumableSub_gest_Click(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_gest_Click extends BA.ResumableSub {
public ResumableSub_gest_Click(reparto_izca.keymon.lat.c_cliente parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
reparto_izca.keymon.lat.c_cliente parent;
RemoteObject _x2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _result = RemoteObject.createImmutable(0);
RemoteObject _k = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _y = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _u = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("gest_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,431);
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 = 443;BA.debugLine="Dim x2 As Cursor =Starter.skmt.ExecQuery(\"SELECT";
Debug.ShouldStop(67108864);
_x2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_x2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT gestion FROM kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("x2", _x2);Debug.locals.put("x2", _x2);
 BA.debugLineNum = 444;BA.debugLine="x2.Position = 0";
Debug.ShouldStop(134217728);
_x2.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 445;BA.debugLine="If x2.GetString(\"gestion\") = 2 Then";
Debug.ShouldStop(268435456);
if (true) break;

case 1:
//if
this.state = 34;
if (RemoteObject.solveBoolean("=",_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("gestion"))),BA.NumberToString(2))) { 
this.state = 3;
}else {
this.state = 9;
}if (true) break;

case 3:
//C
this.state = 4;
 BA.debugLineNum = 446;BA.debugLine="Msgbox2Async(\"Ya se gestiono el cliente, no se p";
Debug.ShouldStop(536870912);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Ya se gestiono el cliente, no se pueden hacer modificaciones")),(Object)(BA.ObjectToCharSequence("Atención")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("Ok")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 447;BA.debugLine="Wait For Msgbox_Result (Result As Int)";
Debug.ShouldStop(1073741824);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "gest_click"), null);
this.state = 35;
return;
case 35:
//C
this.state = 4;
_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result);
;
 BA.debugLineNum = 448;BA.debugLine="If Result= DialogResponse.NEGATIVE Then";
Debug.ShouldStop(-2147483648);
if (true) break;

case 4:
//if
this.state = 7;
if (RemoteObject.solveBoolean("=",_result,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"NEGATIVE")))) { 
this.state = 6;
}if (true) break;

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

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

case 9:
//C
this.state = 10;
 BA.debugLineNum = 452;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT";
Debug.ShouldStop(8);
_k = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_k = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA from CUENTAA"))));Debug.locals.put("k", _k);Debug.locals.put("k", _k);
 BA.debugLineNum = 453;BA.debugLine="k.Position = 0";
Debug.ShouldStop(16);
_k.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 454;BA.debugLine="Log(k.GetString(\"CUENTA\"))";
Debug.ShouldStop(32);
parent.__c.runVoidMethod ("LogImpl","88060951",_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),0);
 BA.debugLineNum = 455;BA.debugLine="Dim y As Cursor = Starter.skmt.ExecQuery2(\"SELEC";
Debug.ShouldStop(64);
_y = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_y = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT IFNULL(SUM(a_abono),0) AS a_abono FROM ABONOS WHERE a_cliente = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));Debug.locals.put("y", _y);Debug.locals.put("y", _y);
 BA.debugLineNum = 456;BA.debugLine="y.position = 0";
Debug.ShouldStop(128);
_y.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 457;BA.debugLine="Dim u As Cursor = Starter.skmt.ExecQuery2(\"SELEC";
Debug.ShouldStop(256);
_u = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_u = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT IFNULL(SUM(SALDO_PENDIENTE),0) AS SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));Debug.locals.put("u", _u);Debug.locals.put("u", _u);
 BA.debugLineNum = 458;BA.debugLine="u.Position = 0";
Debug.ShouldStop(512);
_u.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 459;BA.debugLine="If u.RowCount > 0 Then";
Debug.ShouldStop(1024);
if (true) break;

case 10:
//if
this.state = 33;
if (RemoteObject.solveBoolean(">",_u.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 12;
}else {
this.state = 32;
}if (true) break;

case 12:
//C
this.state = 13;
 BA.debugLineNum = 460;BA.debugLine="If u.GetString(\"SALDO_PENDIENTE\") <> 0 Then";
Debug.ShouldStop(2048);
if (true) break;

case 13:
//if
this.state = 30;
if (RemoteObject.solveBoolean("!",_u.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),BA.NumberToString(0))) { 
this.state = 15;
}else 
{ BA.debugLineNum = 471;BA.debugLine="Else If u.GetString(\"SALDO_PENDIENTE\") = 0 Then";
Debug.ShouldStop(4194304);
if (RemoteObject.solveBoolean("=",_u.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),BA.NumberToString(0))) { 
this.state = 29;
}}
if (true) break;

case 15:
//C
this.state = 16;
 BA.debugLineNum = 461;BA.debugLine="If y.RowCount > 0 Then";
Debug.ShouldStop(4096);
if (true) break;

case 16:
//if
this.state = 27;
if (RemoteObject.solveBoolean(">",_y.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 18;
}else {
this.state = 26;
}if (true) break;

case 18:
//C
this.state = 19;
 BA.debugLineNum = 462;BA.debugLine="If u.GetString(\"SALDO_PENDIENTE\") = y.GetStri";
Debug.ShouldStop(8192);
if (true) break;

case 19:
//if
this.state = 24;
if (RemoteObject.solveBoolean("=",_u.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),_y.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))) { 
this.state = 21;
}else {
this.state = 23;
}if (true) break;

case 21:
//C
this.state = 24;
 BA.debugLineNum = 463;BA.debugLine="B_IMP_Click";
Debug.ShouldStop(16384);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b_imp_click" /*void*/ );
 BA.debugLineNum = 464;BA.debugLine="banderaimp = 1";
Debug.ShouldStop(32768);
__ref.setField ("_banderaimp" /*RemoteObject*/ ,BA.numberCast(int.class, 1));
 if (true) break;

case 23:
//C
this.state = 24;
 BA.debugLineNum = 466;BA.debugLine="MsgboxAsync(\"Para poder hacer una entrega se";
Debug.ShouldStop(131072);
parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Para poder hacer una entrega se necesita liquidar el(los) pagare(s)")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 if (true) break;

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

case 26:
//C
this.state = 27;
 BA.debugLineNum = 469;BA.debugLine="MsgboxAsync(\"Para poder hacer una entrega se";
Debug.ShouldStop(1048576);
parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Para poder hacer una entrega se necesita liquidar el(los) pagare(s)")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 if (true) break;

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

case 29:
//C
this.state = 30;
 BA.debugLineNum = 472;BA.debugLine="B_IMP_Click";
Debug.ShouldStop(8388608);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b_imp_click" /*void*/ );
 BA.debugLineNum = 473;BA.debugLine="banderaimp = 1";
Debug.ShouldStop(16777216);
__ref.setField ("_banderaimp" /*RemoteObject*/ ,BA.numberCast(int.class, 1));
 if (true) break;

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

case 32:
//C
this.state = 33;
 BA.debugLineNum = 476;BA.debugLine="B_IMP_Click";
Debug.ShouldStop(134217728);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b_imp_click" /*void*/ );
 BA.debugLineNum = 477;BA.debugLine="banderaimp = 1";
Debug.ShouldStop(268435456);
__ref.setField ("_banderaimp" /*RemoteObject*/ ,BA.numberCast(int.class, 1));
 if (true) break;

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

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

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static RemoteObject  _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{
try {
		Debug.PushSubsStack("GPS_LocationChanged (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,416);
if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_cliente","gps_locationchanged", __ref, _location1);}
Debug.locals.put("Location1", _location1);
 BA.debugLineNum = 416;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)";
Debug.ShouldStop(-2147483648);
 BA.debugLineNum = 419;BA.debugLine="Dim sDate,sTime As String";
Debug.ShouldStop(4);
c_cliente._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_cliente._sdate);
c_cliente._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_cliente._stime);
 BA.debugLineNum = 420;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(8);
c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 421;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(16);
__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 422;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(32);
__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 423;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM HIST_GPS\")";
Debug.ShouldStop(64);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_GPS")));
 BA.debugLineNum = 424;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO  HIST_GPS";
Debug.ShouldStop(128);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO  HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))})))));
 BA.debugLineNum = 425;BA.debugLine="End Sub";
Debug.ShouldStop(256);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _guardado(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("Guardado (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,483);
if (RapidSub.canDelegate("guardado")) { return __ref.runUserSub(false, "c_cliente","guardado", __ref);}
RemoteObject _ruta = RemoteObject.createImmutable("");
RemoteObject _rutapre = RemoteObject.createImmutable("");
RemoteObject _rutaactualizar = RemoteObject.createImmutable("");
RemoteObject _rut = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
 BA.debugLineNum = 483;BA.debugLine="Sub Guardado";
Debug.ShouldStop(4);
 BA.debugLineNum = 484;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(8);
c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 485;BA.debugLine="DateTime.TimeFormat=\"HHmmss\"";
Debug.ShouldStop(16);
c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss"));
 BA.debugLineNum = 486;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(32);
__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 487;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(64);
__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 488;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen";
Debug.ShouldStop(128);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CUENTA from cuentaa"))));
 BA.debugLineNum = 489;BA.debugLine="c.Position = 0";
Debug.ShouldStop(256);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 490;BA.debugLine="cuenta = c.GetString(\"CUENTA\")";
Debug.ShouldStop(512);
__ref.setField ("_cuenta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))));
 BA.debugLineNum = 491;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa"))));
 BA.debugLineNum = 492;BA.debugLine="c.Position = 0";
Debug.ShouldStop(2048);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 493;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(4096);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 494;BA.debugLine="c.Close";
Debug.ShouldStop(8192);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 495;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT";
Debug.ShouldStop(16384);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA"))));
 BA.debugLineNum = 496;BA.debugLine="d.Position = 0";
Debug.ShouldStop(32768);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 497;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")";
Debug.ShouldStop(65536);
_ruta = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")));Debug.locals.put("ruta", _ruta);Debug.locals.put("ruta", _ruta);
 BA.debugLineNum = 498;BA.debugLine="d.Close";
Debug.ShouldStop(131072);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 499;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA FR";
Debug.ShouldStop(262144);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));
 BA.debugLineNum = 500;BA.debugLine="d.Position = 0";
Debug.ShouldStop(524288);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 501;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUTA\"";
Debug.ShouldStop(1048576);
_rutapre = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutapre", _rutapre);Debug.locals.put("rutapre", _rutapre);
 BA.debugLineNum = 502;BA.debugLine="d.Close";
Debug.ShouldStop(2097152);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 506;BA.debugLine="Dim fechaprev As String = Subs.traefECHAPREV";
Debug.ShouldStop(33554432);
c_cliente._fechaprev = c_cliente._subs.runMethod(true,"_traefechaprev" /*RemoteObject*/ ,__ref.getField(false, "ba"));__ref.setField("_fechaprev",c_cliente._fechaprev);
 BA.debugLineNum = 509;BA.debugLine="Dim rutaactualizar As String";
Debug.ShouldStop(268435456);
_rutaactualizar = RemoteObject.createImmutable("");Debug.locals.put("rutaactualizar", _rutaactualizar);
 BA.debugLineNum = 510;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SELEC";
Debug.ShouldStop(536870912);
_rut = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_rut = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("rut", _rut);Debug.locals.put("rut", _rut);
 BA.debugLineNum = 511;BA.debugLine="If rut.RowCount > 0 Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean(">",_rut.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 512;BA.debugLine="rut.Position = 0";
Debug.ShouldStop(-2147483648);
_rut.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 513;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")";
Debug.ShouldStop(1);
_rutaactualizar = _rut.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutaactualizar", _rutaactualizar);
 };
 BA.debugLineNum = 516;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENTA W";
Debug.ShouldStop(8);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa) AND NV_RUTA ='"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutaactualizar))),RemoteObject.createImmutable("' ")))));
 BA.debugLineNum = 517;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA (";
Debug.ShouldStop(16);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_RUTA) VALUES(?,?,?,?,?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(__ref.getField(true,"_cuenta" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),RemoteObject.createImmutable(("ENTREGA")),RemoteObject.createImmutable(("ENTREGA COMPLETA")),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(_rutaactualizar)})))));
 BA.debugLineNum = 518;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO_G";
Debug.ShouldStop(32);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,0)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {10},new Object[] {__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )),c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ),c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ),c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_almacen" /*RemoteObject*/ ),_ruta,_rutapre,__ref.getField(true,"_fechaprev" /*RemoteObject*/ ),RemoteObject.createImmutable("ENTREGADO")})))));
 BA.debugLineNum = 519;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g";
Debug.ShouldStop(64);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 2, HORAENT = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutaactualizar))),RemoteObject.createImmutable("' ")))));
 BA.debugLineNum = 520;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET";
Debug.ShouldStop(128);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("update HIST_VENTAS SET HVD_ESTATUS = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
 BA.debugLineNum = 521;BA.debugLine="mandaPendientesreparto";
Debug.ShouldStop(256);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_mandapendientesreparto" /*RemoteObject*/ );
 BA.debugLineNum = 528;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
Debug.ShouldStop(32768);
c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal")));
 BA.debugLineNum = 530;BA.debugLine="End Sub";
Debug.ShouldStop(131072);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _guardar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("Guardar_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,571);
if (RapidSub.canDelegate("guardar_click")) { return __ref.runUserSub(false, "c_cliente","guardar_click", __ref);}
 BA.debugLineNum = 571;BA.debugLine="Sub Guardar_Click";
Debug.ShouldStop(67108864);
 BA.debugLineNum = 576;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
Debug.ShouldStop(-2147483648);
c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal")));
 BA.debugLineNum = 578;BA.debugLine="End Sub";
Debug.ShouldStop(2);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static void  _hist_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("HIST_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,584);
if (RapidSub.canDelegate("hist_click")) { __ref.runUserSub(false, "c_cliente","hist_click", __ref); return;}
ResumableSub_HIST_Click rsub = new ResumableSub_HIST_Click(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_HIST_Click extends BA.ResumableSub {
public ResumableSub_HIST_Click(reparto_izca.keymon.lat.c_cliente parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
reparto_izca.keymon.lat.c_cliente parent;
RemoteObject _x2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _result = RemoteObject.createImmutable(0);
RemoteObject _pagacheca2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _k = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _y = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _u = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("HIST_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,584);
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 = 601;BA.debugLine="Dim x2 As Cursor =Starter.skmt.ExecQuery(\"SELECT";
Debug.ShouldStop(16777216);
_x2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_x2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT gestion FROM kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("x2", _x2);Debug.locals.put("x2", _x2);
 BA.debugLineNum = 602;BA.debugLine="x2.Position = 0";
Debug.ShouldStop(33554432);
_x2.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 603;BA.debugLine="If x2.GetString(\"gestion\") = 2 Then";
Debug.ShouldStop(67108864);
if (true) break;

case 1:
//if
this.state = 44;
if (RemoteObject.solveBoolean("=",_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("gestion"))),BA.NumberToString(2))) { 
this.state = 3;
}else {
this.state = 9;
}if (true) break;

case 3:
//C
this.state = 4;
 BA.debugLineNum = 604;BA.debugLine="Msgbox2Async(\"Ya se gestiono el cliente, no se p";
Debug.ShouldStop(134217728);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Ya se gestiono el cliente, no se pueden hacer modificaciones")),(Object)(BA.ObjectToCharSequence("Atención")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("Ok")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 605;BA.debugLine="Wait For Msgbox_Result (Result As Int)";
Debug.ShouldStop(268435456);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "hist_click"), null);
this.state = 45;
return;
case 45:
//C
this.state = 4;
_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result);
;
 BA.debugLineNum = 606;BA.debugLine="If Result= DialogResponse.NEGATIVE Then";
Debug.ShouldStop(536870912);
if (true) break;

case 4:
//if
this.state = 7;
if (RemoteObject.solveBoolean("=",_result,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"NEGATIVE")))) { 
this.state = 6;
}if (true) break;

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

case 7:
//C
this.state = 44;
;
 if (true) break;

case 9:
//C
this.state = 10;
 BA.debugLineNum = 611;BA.debugLine="Dim pagacheca2 As Cursor = Starter.skmt.ExecQuer";
Debug.ShouldStop(4);
_pagacheca2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_pagacheca2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("pagacheca2", _pagacheca2);Debug.locals.put("pagacheca2", _pagacheca2);
 BA.debugLineNum = 613;BA.debugLine="If pagacheca2.RowCount > 0 Then";
Debug.ShouldStop(16);
if (true) break;

case 10:
//if
this.state = 43;
if (RemoteObject.solveBoolean(">",_pagacheca2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 12;
}else {
this.state = 18;
}if (true) break;

case 12:
//C
this.state = 13;
 BA.debugLineNum = 616;BA.debugLine="Msgbox2Async(\"El pagare ya fue generdo, no se p";
Debug.ShouldStop(128);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("El pagare ya fue generdo, no se puede realizar modificación.")),(Object)(BA.ObjectToCharSequence("Atención")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("Ok")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 617;BA.debugLine="Wait For Msgbox_Result (Result As Int)";
Debug.ShouldStop(256);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "hist_click"), null);
this.state = 46;
return;
case 46:
//C
this.state = 13;
_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result);
;
 BA.debugLineNum = 618;BA.debugLine="If Result= DialogResponse.POSITIVE Then";
Debug.ShouldStop(512);
if (true) break;

case 13:
//if
this.state = 16;
if (RemoteObject.solveBoolean("=",_result,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
this.state = 15;
}if (true) break;

case 15:
//C
this.state = 16;
 BA.debugLineNum = 619;BA.debugLine="Log(\"Aqui\")";
Debug.ShouldStop(1024);
parent.__c.runVoidMethod ("LogImpl","88585251",RemoteObject.createImmutable("Aqui"),0);
 if (true) break;

case 16:
//C
this.state = 43;
;
 if (true) break;

case 18:
//C
this.state = 19;
 BA.debugLineNum = 624;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELEC";
Debug.ShouldStop(32768);
_k = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_k = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA from CUENTAA"))));Debug.locals.put("k", _k);Debug.locals.put("k", _k);
 BA.debugLineNum = 625;BA.debugLine="k.Position = 0";
Debug.ShouldStop(65536);
_k.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 626;BA.debugLine="Log(k.GetString(\"CUENTA\"))";
Debug.ShouldStop(131072);
parent.__c.runVoidMethod ("LogImpl","88585258",_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),0);
 BA.debugLineNum = 627;BA.debugLine="Dim y As Cursor = Starter.skmt.ExecQuery2(\"SELE";
Debug.ShouldStop(262144);
_y = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_y = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT IFNULL(SUM(a_abono),0) AS a_abono FROM ABONOS WHERE a_cliente = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));Debug.locals.put("y", _y);Debug.locals.put("y", _y);
 BA.debugLineNum = 628;BA.debugLine="y.position = 0";
Debug.ShouldStop(524288);
_y.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 629;BA.debugLine="Dim u As Cursor = Starter.skmt.ExecQuery2(\"SELE";
Debug.ShouldStop(1048576);
_u = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_u = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT IFNULL(SUM(SALDO_PENDIENTE),0) AS SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));Debug.locals.put("u", _u);Debug.locals.put("u", _u);
 BA.debugLineNum = 630;BA.debugLine="u.Position = 0";
Debug.ShouldStop(2097152);
_u.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 631;BA.debugLine="If u.RowCount > 0 Then";
Debug.ShouldStop(4194304);
if (true) break;

case 19:
//if
this.state = 42;
if (RemoteObject.solveBoolean(">",_u.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 21;
}else {
this.state = 41;
}if (true) break;

case 21:
//C
this.state = 22;
 BA.debugLineNum = 632;BA.debugLine="If u.GetString(\"SALDO_PENDIENTE\") <> 0 Then";
Debug.ShouldStop(8388608);
if (true) break;

case 22:
//if
this.state = 39;
if (RemoteObject.solveBoolean("!",_u.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),BA.NumberToString(0))) { 
this.state = 24;
}else 
{ BA.debugLineNum = 643;BA.debugLine="Else If u.GetString(\"SALDO_PENDIENTE\") = 0 The";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",_u.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),BA.NumberToString(0))) { 
this.state = 38;
}}
if (true) break;

case 24:
//C
this.state = 25;
 BA.debugLineNum = 633;BA.debugLine="If y.RowCount > 0 Then";
Debug.ShouldStop(16777216);
if (true) break;

case 25:
//if
this.state = 36;
if (RemoteObject.solveBoolean(">",_y.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 27;
}else {
this.state = 35;
}if (true) break;

case 27:
//C
this.state = 28;
 BA.debugLineNum = 634;BA.debugLine="If u.GetString(\"SALDO_PENDIENTE\") = y.GetStr";
Debug.ShouldStop(33554432);
if (true) break;

case 28:
//if
this.state = 33;
if (RemoteObject.solveBoolean("=",_u.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),_y.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))) { 
this.state = 30;
}else {
this.state = 32;
}if (true) break;

case 30:
//C
this.state = 33;
 BA.debugLineNum = 635;BA.debugLine="B4XPages.MainPage.detalleVenta.prodsMap.Ini";
Debug.ShouldStop(67108864);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_detalleventa" /*RemoteObject*/ ).getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 636;BA.debugLine="B4XPages.ShowPage(\"DetalleVenta\")";
Debug.ShouldStop(134217728);
parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("DetalleVenta")));
 if (true) break;

case 32:
//C
this.state = 33;
 BA.debugLineNum = 638;BA.debugLine="MsgboxAsync(\"Para poder hacer una entrega s";
Debug.ShouldStop(536870912);
parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Para poder hacer una entrega se necesita liquidar el(los) pagare(s)")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 if (true) break;

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

case 35:
//C
this.state = 36;
 BA.debugLineNum = 641;BA.debugLine="MsgboxAsync(\"Para poder hacer una entrega se";
Debug.ShouldStop(1);
parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Para poder hacer una entrega se necesita liquidar el(los) pagare(s)")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 if (true) break;

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

case 38:
//C
this.state = 39;
 BA.debugLineNum = 644;BA.debugLine="B4XPages.MainPage.detalleVenta.prodsMap.Initi";
Debug.ShouldStop(8);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_detalleventa" /*RemoteObject*/ ).getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 645;BA.debugLine="B4XPages.ShowPage(\"DetalleVenta\")";
Debug.ShouldStop(16);
parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("DetalleVenta")));
 if (true) break;

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

case 41:
//C
this.state = 42;
 BA.debugLineNum = 648;BA.debugLine="B4XPages.MainPage.detalleVenta.prodsMap.Initia";
Debug.ShouldStop(128);
parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_detalleventa" /*RemoteObject*/ ).getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 649;BA.debugLine="B4XPages.ShowPage(\"DetalleVenta\")";
Debug.ShouldStop(256);
parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("DetalleVenta")));
 if (true) break;

case 42:
//C
this.state = 43;
;
 if (true) break;

case 43:
//C
this.state = 44;
;
 if (true) break;

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

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static void  _imprime_abonopagare(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("imprime_abonopagare (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1571);
if (RapidSub.canDelegate("imprime_abonopagare")) { __ref.runUserSub(false, "c_cliente","imprime_abonopagare", __ref); return;}
ResumableSub_imprime_abonopagare rsub = new ResumableSub_imprime_abonopagare(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_imprime_abonopagare extends BA.ResumableSub {
public ResumableSub_imprime_abonopagare(reparto_izca.keymon.lat.c_cliente parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
reparto_izca.keymon.lat.c_cliente parent;
RemoteObject _cont = RemoteObject.createImmutable(0);
RemoteObject _telefono = RemoteObject.createImmutable("");
RemoteObject _c7 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _notaabono = RemoteObject.createImmutable("");
RemoteObject _saldopendiente = RemoteObject.createImmutable(0);
RemoteObject _saldopendiente1 = RemoteObject.createImmutable(0);
RemoteObject _c4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _c5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _numpago = RemoteObject.createImmutable(0);
RemoteObject _tipopagotick = RemoteObject.createImmutable("");
RemoteObject _resultado = RemoteObject.createImmutable(0);
RemoteObject _rutaactualizar = RemoteObject.createImmutable("");
RemoteObject _rut = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _textedit = RemoteObject.createImmutable(0);
RemoteObject _sumaresta = RemoteObject.createImmutable(0);
RemoteObject _ruta = RemoteObject.createImmutable("");
RemoteObject _rutapre = RemoteObject.createImmutable("");

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("imprime_abonopagare (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1571);
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 = 1572;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu";
Debug.ShouldStop(8);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));
 BA.debugLineNum = 1573;BA.debugLine="c.Position=0";
Debug.ShouldStop(16);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1574;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(32);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 1575;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(64);
parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 1576;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
Debug.ShouldStop(128);
parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss"));
 BA.debugLineNum = 1577;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(256);
__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1578;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(512);
__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1579;BA.debugLine="c.Close";
Debug.ShouldStop(1024);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1610;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
Debug.ShouldStop(512);
parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ..."))));
 BA.debugLineNum = 1611;BA.debugLine="Printer1.DisConnect";
Debug.ShouldStop(1024);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ );
 BA.debugLineNum = 1612;BA.debugLine="If Not(Printer1.IsConnected) Then";
Debug.ShouldStop(2048);
if (true) break;

case 1:
//if
this.state = 38;
if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).<Boolean>get().booleanValue()) { 
this.state = 3;
}else {
this.state = 21;
}if (true) break;

case 3:
//C
this.state = 4;
 BA.debugLineNum = 1614;BA.debugLine="Printer1.Connect";
Debug.ShouldStop(8192);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
 BA.debugLineNum = 1615;BA.debugLine="Private cont As Int = 0";
Debug.ShouldStop(16384);
_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 1616;BA.debugLine="Do While Not(impresoraConectada)";
Debug.ShouldStop(32768);
if (true) break;

case 4:
//do while
this.state = 19;
while (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ ))).<Boolean>get().booleanValue()) {
this.state = 6;
if (true) break;
}
if (true) break;

case 6:
//C
this.state = 7;
 BA.debugLineNum = 1617;BA.debugLine="Sleep(1000)";
Debug.ShouldStop(65536);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_abonopagare"),BA.numberCast(int.class, 1000));
this.state = 145;
return;
case 145:
//C
this.state = 7;
;
 BA.debugLineNum = 1618;BA.debugLine="cont = cont + 1";
Debug.ShouldStop(131072);
_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 1619;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
Debug.ShouldStop(262144);
if (true) break;

case 7:
//if
this.state = 12;
if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 7))) { 
this.state = 9;
;}if (true) break;

case 9:
//C
this.state = 12;
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
if (true) break;

case 12:
//C
this.state = 13;
;
 BA.debugLineNum = 1620;BA.debugLine="If cont > 15 Then impresoraConectada = True";
Debug.ShouldStop(524288);
if (true) break;

case 13:
//if
this.state = 18;
if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 15))) { 
this.state = 15;
;}if (true) break;

case 15:
//C
this.state = 18;
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True"));
if (true) break;

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

case 19:
//C
this.state = 38;
;
 BA.debugLineNum = 1622;BA.debugLine="Sleep(500)";
Debug.ShouldStop(2097152);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_abonopagare"),BA.numberCast(int.class, 500));
this.state = 146;
return;
case 146:
//C
this.state = 38;
;
 BA.debugLineNum = 1623;BA.debugLine="impresoraConectada = False";
Debug.ShouldStop(4194304);
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False"));
 if (true) break;

case 21:
//C
this.state = 22;
 BA.debugLineNum = 1626;BA.debugLine="Printer1.Connect";
Debug.ShouldStop(33554432);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
 BA.debugLineNum = 1627;BA.debugLine="Private cont As Int = 0";
Debug.ShouldStop(67108864);
_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 1628;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
Debug.ShouldStop(134217728);
if (true) break;

case 22:
//do while
this.state = 37;
while (RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ )))) || RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) {
this.state = 24;
if (true) break;
}
if (true) break;

case 24:
//C
this.state = 25;
 BA.debugLineNum = 1629;BA.debugLine="Sleep(1000)";
Debug.ShouldStop(268435456);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_abonopagare"),BA.numberCast(int.class, 1000));
this.state = 147;
return;
case 147:
//C
this.state = 25;
;
 BA.debugLineNum = 1630;BA.debugLine="cont = cont + 1";
Debug.ShouldStop(536870912);
_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 1631;BA.debugLine="If cont = 2 Then Printer1.Connect";
Debug.ShouldStop(1073741824);
if (true) break;

case 25:
//if
this.state = 30;
if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 2))) { 
this.state = 27;
;}if (true) break;

case 27:
//C
this.state = 30;
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
if (true) break;

case 30:
//C
this.state = 31;
;
 BA.debugLineNum = 1632;BA.debugLine="If cont > 4 Then impresoraConectada = True";
Debug.ShouldStop(-2147483648);
if (true) break;

case 31:
//if
this.state = 36;
if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 4))) { 
this.state = 33;
;}if (true) break;

case 33:
//C
this.state = 36;
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True"));
if (true) break;

case 36:
//C
this.state = 22;
;
 if (true) break;

case 37:
//C
this.state = 38;
;
 BA.debugLineNum = 1634;BA.debugLine="Sleep(500)";
Debug.ShouldStop(2);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_abonopagare"),BA.numberCast(int.class, 500));
this.state = 148;
return;
case 148:
//C
this.state = 38;
;
 BA.debugLineNum = 1635;BA.debugLine="impresoraConectada = False";
Debug.ShouldStop(4);
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False"));
 if (true) break;

case 38:
//C
this.state = 39;
;
 BA.debugLineNum = 1637;BA.debugLine="TAMANO = 0";
Debug.ShouldStop(16);
__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 1638;BA.debugLine="ESPACIO = 22";
Debug.ShouldStop(32);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 22));
 BA.debugLineNum = 1639;BA.debugLine="BLANCO = \" \"";
Debug.ShouldStop(64);
__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" "));
 BA.debugLineNum = 1649;BA.debugLine="Dim telefono As String = \"\"";
Debug.ShouldStop(65536);
_telefono = BA.ObjectToString("");Debug.locals.put("telefono", _telefono);Debug.locals.put("telefono", _telefono);
 BA.debugLineNum = 1650;BA.debugLine="Dim c7 As Cursor = Starter.skmt.ExecQuery(\"select";
Debug.ShouldStop(131072);
_c7 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c7 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(CAT_CL_TELEFONO,' ') AS CAT_CL_TELEFONO FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("c7", _c7);Debug.locals.put("c7", _c7);
 BA.debugLineNum = 1651;BA.debugLine="If c7.RowCount > 0 Then";
Debug.ShouldStop(262144);
if (true) break;

case 39:
//if
this.state = 42;
if (RemoteObject.solveBoolean(">",_c7.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 41;
}if (true) break;

case 41:
//C
this.state = 42;
 BA.debugLineNum = 1652;BA.debugLine="c7.Position = 0";
Debug.ShouldStop(524288);
_c7.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1653;BA.debugLine="telefono = c7.GetString(\"CAT_CL_TELEFONO\")";
Debug.ShouldStop(1048576);
_telefono = _c7.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO")));Debug.locals.put("telefono", _telefono);
 if (true) break;

case 42:
//C
this.state = 43;
;
 BA.debugLineNum = 1655;BA.debugLine="c7.Close";
Debug.ShouldStop(4194304);
_c7.runVoidMethod ("Close");
 BA.debugLineNum = 1659;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" &  CRL";
Debug.ShouldStop(67108864);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Izca Distribuciones"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1661;BA.debugLine="Printer1.WriteString(sDate &  CRLF)";
Debug.ShouldStop(268435456);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1662;BA.debugLine="Printer1.WriteString(sTime &  CRLF)";
Debug.ShouldStop(536870912);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_stime" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1663;BA.debugLine="Printer1.WriteString(\"Reparto:\" & usuario &  CRLF";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Reparto:"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1664;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1665;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" &  la_cuenta.";
Debug.ShouldStop(1);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1666;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
Debug.ShouldStop(2);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1667;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
Debug.ShouldStop(4);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1668;BA.debugLine="Printer1.WriteString(\"Telefono: \" & telefono &  C";
Debug.ShouldStop(8);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Telefono: "),_telefono,parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1669;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(16);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1670;BA.debugLine="Dim notaabono As String";
Debug.ShouldStop(32);
_notaabono = RemoteObject.createImmutable("");Debug.locals.put("notaabono", _notaabono);
 BA.debugLineNum = 1671;BA.debugLine="Dim saldopendiente As Double";
Debug.ShouldStop(64);
_saldopendiente = RemoteObject.createImmutable(0);Debug.locals.put("saldopendiente", _saldopendiente);
 BA.debugLineNum = 1673;BA.debugLine="If tipo_abonox = \"abono\" Then";
Debug.ShouldStop(256);
if (true) break;

case 43:
//if
this.state = 68;
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_tipo_abonox" /*RemoteObject*/ ),BA.ObjectToString("abono"))) { 
this.state = 45;
}else 
{ BA.debugLineNum = 1703;BA.debugLine="Else If tipo_abonox = \"cxc\" Then";
Debug.ShouldStop(64);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_tipo_abonox" /*RemoteObject*/ ),BA.ObjectToString("cxc"))) { 
this.state = 59;
}}
if (true) break;

case 45:
//C
this.state = 46;
 BA.debugLineNum = 1676;BA.debugLine="c = Starter.skmt.ExecQuery($\"select distinct hvd";
Debug.ShouldStop(2048);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select distinct hvd_num_ticket from hist_ventas where hvd_cliente = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("'"))))));
 BA.debugLineNum = 1677;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(4096);
if (true) break;

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

case 48:
//C
this.state = 49;
 BA.debugLineNum = 1678;BA.debugLine="c.Position = 0";
Debug.ShouldStop(8192);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1679;BA.debugLine="notaabono = c.GetString(\"HVD_NUM_TICKET\")";
Debug.ShouldStop(16384);
_notaabono = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_TICKET")));Debug.locals.put("notaabono", _notaabono);
 if (true) break;

case 49:
//C
this.state = 50;
;
 BA.debugLineNum = 1681;BA.debugLine="c.Close";
Debug.ShouldStop(65536);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1683;BA.debugLine="c = Starter.skmt.ExecQuery($\"select iFNULL(sum(P";
Debug.ShouldStop(262144);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select iFNULL(sum(PA_MONTO),0) AS SALDO_PENDIENTE from PAGARES where PA_CLIENTE = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("'"))))));
 BA.debugLineNum = 1684;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(524288);
if (true) break;

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

case 52:
//C
this.state = 53;
 BA.debugLineNum = 1685;BA.debugLine="c.Position = 0";
Debug.ShouldStop(1048576);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1686;BA.debugLine="saldopendiente = c.GetDouble(\"SALDO_PENDIENTE\")";
Debug.ShouldStop(2097152);
_saldopendiente = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")));Debug.locals.put("saldopendiente", _saldopendiente);
 BA.debugLineNum = 1687;BA.debugLine="Log(c.GetString(\"SALDO_PENDIENTE\"))";
Debug.ShouldStop(4194304);
parent.__c.runVoidMethod ("LogImpl","89437300",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),0);
 if (true) break;

case 53:
//C
this.state = 54;
;
 BA.debugLineNum = 1689;BA.debugLine="c.Close";
Debug.ShouldStop(16777216);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1692;BA.debugLine="Dim saldopendiente1 As Double = 0";
Debug.ShouldStop(134217728);
_saldopendiente1 = BA.numberCast(double.class, 0);Debug.locals.put("saldopendiente1", _saldopendiente1);Debug.locals.put("saldopendiente1", _saldopendiente1);
 BA.debugLineNum = 1693;BA.debugLine="Dim c4 As Cursor= Starter.skmt.ExecQuery(\"SELECT";
Debug.ShouldStop(268435456);
_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT Ifnull(SUM(a_abono),0) AS SALDO_PENDIENTE FROM ABONOS WHERE a_cliente IN (SELECT CUENTA FROM CUENTAA) and a_tipoabono is not null"))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4);
 BA.debugLineNum = 1694;BA.debugLine="If c4.RowCount > 0 Then";
Debug.ShouldStop(536870912);
if (true) break;

case 54:
//if
this.state = 57;
if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 56;
}if (true) break;

case 56:
//C
this.state = 57;
 BA.debugLineNum = 1695;BA.debugLine="c4.Position = 0";
Debug.ShouldStop(1073741824);
_c4.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1696;BA.debugLine="Dim c5 As Cursor= Starter.skmt.ExecQuery(\"SELEC";
Debug.ShouldStop(-2147483648);
_c5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT Ifnull(a_abono,0) AS SALDO_PENDIENTE FROM ABONOS WHERE a_cliente IN (SELECT CUENTA FROM CUENTAA) and a_tipoabono is not null"))));Debug.locals.put("c5", _c5);Debug.locals.put("c5", _c5);
 BA.debugLineNum = 1697;BA.debugLine="saldopendiente1 = c4.GetDouble(\"SALDO_PENDIENTE";
Debug.ShouldStop(1);
_saldopendiente1 = _c4.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")));Debug.locals.put("saldopendiente1", _saldopendiente1);
 if (true) break;

case 57:
//C
this.state = 68;
;
 BA.debugLineNum = 1701;BA.debugLine="c4.Close";
Debug.ShouldStop(16);
_c4.runVoidMethod ("Close");
 if (true) break;

case 59:
//C
this.state = 60;
 BA.debugLineNum = 1704;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT NOTA, SUM(SAL";
Debug.ShouldStop(128);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT NOTA, SUM(SALDO_PENDIENTE) AS SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));
 BA.debugLineNum = 1705;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(256);
if (true) break;

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

case 62:
//C
this.state = 63;
 BA.debugLineNum = 1706;BA.debugLine="c.Position = 0";
Debug.ShouldStop(512);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1707;BA.debugLine="notaabono = c.GetString(\"NOTA\")";
Debug.ShouldStop(1024);
_notaabono = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOTA")));Debug.locals.put("notaabono", _notaabono);
 BA.debugLineNum = 1708;BA.debugLine="saldopendiente = c.GetDouble(\"SALDO_PENDIENTE\")";
Debug.ShouldStop(2048);
_saldopendiente = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")));Debug.locals.put("saldopendiente", _saldopendiente);
 if (true) break;

case 63:
//C
this.state = 64;
;
 BA.debugLineNum = 1710;BA.debugLine="c.Close";
Debug.ShouldStop(8192);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1712;BA.debugLine="Dim saldopendiente1 As Double = 0";
Debug.ShouldStop(32768);
_saldopendiente1 = BA.numberCast(double.class, 0);Debug.locals.put("saldopendiente1", _saldopendiente1);Debug.locals.put("saldopendiente1", _saldopendiente1);
 BA.debugLineNum = 1713;BA.debugLine="Dim c4 As Cursor= Starter.skmt.ExecQuery(\"SELECT";
Debug.ShouldStop(65536);
_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT Ifnull(SUM(a_abono),0) AS SALDO_PENDIENTE FROM ABONOS WHERE a_cliente IN (SELECT CUENTA FROM CUENTAA) and a_tipoabono is null"))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4);
 BA.debugLineNum = 1714;BA.debugLine="If c4.RowCount > 0 Then";
Debug.ShouldStop(131072);
if (true) break;

case 64:
//if
this.state = 67;
if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 66;
}if (true) break;

case 66:
//C
this.state = 67;
 BA.debugLineNum = 1715;BA.debugLine="c4.Position = 0";
Debug.ShouldStop(262144);
_c4.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1716;BA.debugLine="Dim c5 As Cursor= Starter.skmt.ExecQuery(\"SELEC";
Debug.ShouldStop(524288);
_c5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT Ifnull(a_abono,0) AS SALDO_PENDIENTE FROM ABONOS WHERE a_cliente IN (SELECT CUENTA FROM CUENTAA) and a_tipoabono is null"))));Debug.locals.put("c5", _c5);Debug.locals.put("c5", _c5);
 BA.debugLineNum = 1717;BA.debugLine="saldopendiente1 = c4.GetDouble(\"SALDO_PENDIENTE";
Debug.ShouldStop(1048576);
_saldopendiente1 = _c4.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")));Debug.locals.put("saldopendiente1", _saldopendiente1);
 if (true) break;

case 67:
//C
this.state = 68;
;
 BA.debugLineNum = 1722;BA.debugLine="c4.Close";
Debug.ShouldStop(33554432);
_c4.runVoidMethod ("Close");
 if (true) break;

case 68:
//C
this.state = 69;
;
 BA.debugLineNum = 1732;BA.debugLine="Dim numpago As Int = c5.RowCount + 1";
Debug.ShouldStop(8);
_numpago = RemoteObject.solve(new RemoteObject[] {_c5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("numpago", _numpago);Debug.locals.put("numpago", _numpago);
 BA.debugLineNum = 1733;BA.debugLine="Log(notaabono)";
Debug.ShouldStop(16);
parent.__c.runVoidMethod ("LogImpl","89437346",_notaabono,0);
 BA.debugLineNum = 1734;BA.debugLine="Log(et_abono.Text)";
Debug.ShouldStop(32);
parent.__c.runVoidMethod ("LogImpl","89437347",__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText"),0);
 BA.debugLineNum = 1735;BA.debugLine="Printer1.WriteString(\"Comprobante de pago del pag";
Debug.ShouldStop(64);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Comprobante de pago del pagare"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1736;BA.debugLine="Printer1.WriteString(\"Folio:  \" & notaabono &\"-\"&";
Debug.ShouldStop(128);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Folio:  "),_notaabono,RemoteObject.createImmutable("-"),(_numpago),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1737;BA.debugLine="Printer1.WriteString(\"Monto deuda:  \" & (NumberFo";
Debug.ShouldStop(256);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Monto deuda:  "),(parent.__c.runMethod(true,"NumberFormat",(Object)(RemoteObject.solve(new RemoteObject[] {_saldopendiente,_saldopendiente1}, "-",1, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1738;BA.debugLine="Printer1.WriteString(\"Monto abono:  \" & (NumberFo";
Debug.ShouldStop(512);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Monto abono:  "),(parent.__c.runMethod(true,"NumberFormat",(Object)(BA.numberCast(double.class, __ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText"))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1739;BA.debugLine="Printer1.WriteString(\"Restante: \" &(NumberFormat(";
Debug.ShouldStop(1024);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Restante: "),(parent.__c.runMethod(true,"NumberFormat",(Object)(RemoteObject.solve(new RemoteObject[] {_saldopendiente,BA.numberCast(double.class, __ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")),_saldopendiente1}, "--",2, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1740;BA.debugLine="Printer1.WriteString(\"Fecha Abono: \" & sDate &  C";
Debug.ShouldStop(2048);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Fecha Abono: "),__ref.getField(true,"_sdate" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1741;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(4096);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1742;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(8192);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1743;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(16384);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1744;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(32768);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1745;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(65536);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1746;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(131072);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1747;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(262144);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1748;BA.debugLine="Printer1.WriteString(\"---------------------------";
Debug.ShouldStop(524288);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1749;BA.debugLine="Printer1.WriteString(\"-------------FIRMA---------";
Debug.ShouldStop(1048576);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-------------FIRMA------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1750;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(2097152);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1751;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(4194304);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1752;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(8388608);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1753;BA.debugLine="DateTime.DateFormat = \"ddMMyyyy\"";
Debug.ShouldStop(16777216);
parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("ddMMyyyy"));
 BA.debugLineNum = 1754;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(33554432);
__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 1760;BA.debugLine="Dim tipopagotick As String = \"\"";
Debug.ShouldStop(-2147483648);
_tipopagotick = BA.ObjectToString("");Debug.locals.put("tipopagotick", _tipopagotick);Debug.locals.put("tipopagotick", _tipopagotick);
 BA.debugLineNum = 1761;BA.debugLine="If itemselect = \"TRANSFERENCIA\" Then";
Debug.ShouldStop(1);
if (true) break;

case 69:
//if
this.state = 76;
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect" /*RemoteObject*/ ),BA.ObjectToString("TRANSFERENCIA"))) { 
this.state = 71;
}else 
{ BA.debugLineNum = 1763;BA.debugLine="Else If itemselect = \"EFECTIVO\" Then";
Debug.ShouldStop(4);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect" /*RemoteObject*/ ),BA.ObjectToString("EFECTIVO"))) { 
this.state = 73;
}else 
{ BA.debugLineNum = 1765;BA.debugLine="Else If itemselect = \"CHEQUE\" Then";
Debug.ShouldStop(16);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect" /*RemoteObject*/ ),BA.ObjectToString("CHEQUE"))) { 
this.state = 75;
}}}
if (true) break;

case 71:
//C
this.state = 76;
 BA.debugLineNum = 1762;BA.debugLine="tipopagotick = \"T\"";
Debug.ShouldStop(2);
_tipopagotick = BA.ObjectToString("T");Debug.locals.put("tipopagotick", _tipopagotick);
 if (true) break;

case 73:
//C
this.state = 76;
 BA.debugLineNum = 1764;BA.debugLine="tipopagotick = \"E\"";
Debug.ShouldStop(8);
_tipopagotick = BA.ObjectToString("E");Debug.locals.put("tipopagotick", _tipopagotick);
 if (true) break;

case 75:
//C
this.state = 76;
 BA.debugLineNum = 1766;BA.debugLine="tipopagotick = \"C\"";
Debug.ShouldStop(32);
_tipopagotick = BA.ObjectToString("C");Debug.locals.put("tipopagotick", _tipopagotick);
 if (true) break;

case 76:
//C
this.state = 77;
;
 BA.debugLineNum = 1769;BA.debugLine="Printer1.WriteBarCode(\"I\",notaabono&sDate&tipopag";
Debug.ShouldStop(256);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebarcode" /*RemoteObject*/ ,(Object)(BA.ObjectToString("I")),(Object)(RemoteObject.concat(_notaabono,__ref.getField(true,"_sdate" /*RemoteObject*/ ),_tipopagotick,_numpago)));
 BA.debugLineNum = 1770;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(512);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1771;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(1024);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1772;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(2048);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 1773;BA.debugLine="Sleep(1000)";
Debug.ShouldStop(4096);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_abonopagare"),BA.numberCast(int.class, 1000));
this.state = 149;
return;
case 149:
//C
this.state = 77;
;
 BA.debugLineNum = 1774;BA.debugLine="Printer1.DisConnect";
Debug.ShouldStop(8192);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ );
 BA.debugLineNum = 1775;BA.debugLine="ProgressDialogHide";
Debug.ShouldStop(16384);
parent.__c.runVoidMethod ("ProgressDialogHide");
 BA.debugLineNum = 1778;BA.debugLine="If tipo_abonox = \"abono\" Then";
Debug.ShouldStop(131072);
if (true) break;

case 77:
//if
this.state = 144;
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_tipo_abonox" /*RemoteObject*/ ),BA.ObjectToString("abono"))) { 
this.state = 79;
}else 
{ BA.debugLineNum = 1791;BA.debugLine="Else If tipo_abonox = \"cxc\" Then";
Debug.ShouldStop(1073741824);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_tipo_abonox" /*RemoteObject*/ ),BA.ObjectToString("cxc"))) { 
this.state = 87;
}}
if (true) break;

case 79:
//C
this.state = 80;
 BA.debugLineNum = 1779;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket";
Debug.ShouldStop(262144);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 1781;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
Debug.ShouldStop(1048576);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_abonopagare"), null);
this.state = 150;
return;
case 150:
//C
this.state = 80;
_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado);
;
 BA.debugLineNum = 1782;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
Debug.ShouldStop(2097152);
if (true) break;

case 80:
//if
this.state = 85;
if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
this.state = 82;
}else {
this.state = 84;
}if (true) break;

case 82:
//C
this.state = 85;
 BA.debugLineNum = 1783;BA.debugLine="imprime_abonopagare";
Debug.ShouldStop(4194304);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_imprime_abonopagare" /*void*/ );
 if (true) break;

case 84:
//C
this.state = 85;
 BA.debugLineNum = 1785;BA.debugLine="p_abono.Visible = False";
Debug.ShouldStop(16777216);
__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 1787;BA.debugLine="Starter.skmt.ExecNonQuery($\"INSERT INTO ABONOS(";
Debug.ShouldStop(67108864);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha,a_tipoabono,TIPO_PAGO,a_ticket,a_numpago) VALUES ('"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' ,'"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_fechakmt" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))))))),RemoteObject.createImmutable("', 1,'"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_itemselect" /*RemoteObject*/ )))),RemoteObject.createImmutable("','"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_notaabono))),RemoteObject.createImmutable("','"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_numpago))),RemoteObject.createImmutable("')")))));
 BA.debugLineNum = 1788;BA.debugLine="ToastMessageShow(\"Abono guardado\", False)";
Debug.ShouldStop(134217728);
parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Abono guardado")),(Object)(parent.__c.getField(true,"False")));
 if (true) break;

case 85:
//C
this.state = 144;
;
 if (true) break;

case 87:
//C
this.state = 88;
 BA.debugLineNum = 1792;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket";
Debug.ShouldStop(-2147483648);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 1793;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
Debug.ShouldStop(1);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_abonopagare"), null);
this.state = 151;
return;
case 151:
//C
this.state = 88;
_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado);
;
 BA.debugLineNum = 1794;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
Debug.ShouldStop(2);
if (true) break;

case 88:
//if
this.state = 143;
if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
this.state = 90;
}else {
this.state = 92;
}if (true) break;

case 90:
//C
this.state = 143;
 BA.debugLineNum = 1795;BA.debugLine="imprime_abonopagare";
Debug.ShouldStop(4);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_imprime_abonopagare" /*void*/ );
 if (true) break;

case 92:
//C
this.state = 93;
 BA.debugLineNum = 1801;BA.debugLine="h = Starter.skmt.ExecQuery(\"SELECT CUENTA from";
Debug.ShouldStop(256);
__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA from CUENTAA"))));
 BA.debugLineNum = 1802;BA.debugLine="h.Position = 0";
Debug.ShouldStop(512);
__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1803;BA.debugLine="Log(h.GetString(\"CUENTA\"))";
Debug.ShouldStop(1024);
parent.__c.runVoidMethod ("LogImpl","89437416",__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),0);
 BA.debugLineNum = 1804;BA.debugLine="j = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO";
Debug.ShouldStop(2048);
__ref.getField(false,"_j" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT a_abono FROM ABONOS WHERE a_cliente = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));
 BA.debugLineNum = 1805;BA.debugLine="j.position = 0";
Debug.ShouldStop(4096);
__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1806;BA.debugLine="If j.RowCount = 0 Then";
Debug.ShouldStop(8192);
if (true) break;

case 93:
//if
this.state = 142;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 95;
}else {
this.state = 119;
}if (true) break;

case 95:
//C
this.state = 96;
 BA.debugLineNum = 1807;BA.debugLine="p_abono.Visible = False";
Debug.ShouldStop(16384);
__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 1808;BA.debugLine="Starter.skmt.ExecNonQuery($\"INSERT INTO ABONOS";
Debug.ShouldStop(32768);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha,TIPO_PAGO,a_ticket,a_numpago) VALUES ('"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' ,'"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_fechakmt" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))))))),RemoteObject.createImmutable("','"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_itemselect" /*RemoteObject*/ )))),RemoteObject.createImmutable("','"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_notaabono))),RemoteObject.createImmutable("','"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_numpago))),RemoteObject.createImmutable("')")))));
 BA.debugLineNum = 1809;BA.debugLine="ToastMessageShow(\"Abono guardado\", False)";
Debug.ShouldStop(65536);
parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Abono guardado")),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 1810;BA.debugLine="Dim rutaactualizar As String";
Debug.ShouldStop(131072);
_rutaactualizar = RemoteObject.createImmutable("");Debug.locals.put("rutaactualizar", _rutaactualizar);
 BA.debugLineNum = 1811;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SE";
Debug.ShouldStop(262144);
_rut = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_rut = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("rut", _rut);Debug.locals.put("rut", _rut);
 BA.debugLineNum = 1812;BA.debugLine="If rut.RowCount > 0 Then";
Debug.ShouldStop(524288);
if (true) break;

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

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

case 99:
//C
this.state = 100;
;
 BA.debugLineNum = 1816;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info se";
Debug.ShouldStop(8388608);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 0, HORAENT = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutaactualizar))),RemoteObject.createImmutable("'")))));
 BA.debugLineNum = 1817;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENT";
Debug.ShouldStop(16777216);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"))));
 BA.debugLineNum = 1818;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery(";
Debug.ShouldStop(33554432);
_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM PEDIDO WHERE PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3);
 BA.debugLineNum = 1819;BA.debugLine="If c3.RowCount = 0 Then";
Debug.ShouldStop(67108864);
if (true) break;

case 100:
//if
this.state = 105;
if (RemoteObject.solveBoolean("=",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 102;
}else {
this.state = 104;
}if (true) break;

case 102:
//C
this.state = 105;
 BA.debugLineNum = 1820;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTA";
Debug.ShouldStop(134217728);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 0,  HVD_RECHAZOCANT = 0, BCAJAS = BCAJAS_OR, CANTC = CANTC_OR  WHERE HVD_cliente in (Select CUENTA from cuentaa)"))));
 BA.debugLineNum = 1821;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(268435456);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b4xpage_appear" /*RemoteObject*/ );
 if (true) break;

case 104:
//C
this.state = 105;
 BA.debugLineNum = 1823;BA.debugLine="MsgboxAsync(\"Hay productos que ya se vendiero";
Debug.ShouldStop(1073741824);
parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Hay productos que ya se vendieron, no se puede regresar la venta")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 if (true) break;

case 105:
//C
this.state = 106;
;
 BA.debugLineNum = 1825;BA.debugLine="Dim textedit As Double = et_abono.Text";
Debug.ShouldStop(1);
_textedit = BA.numberCast(double.class, __ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textedit", _textedit);Debug.locals.put("textedit", _textedit);
 BA.debugLineNum = 1826;BA.debugLine="Dim sumaresta As Double = saldopendiente-texte";
Debug.ShouldStop(2);
_sumaresta = RemoteObject.solve(new RemoteObject[] {_saldopendiente,_textedit,_saldopendiente1}, "--",2, 0);Debug.locals.put("sumaresta", _sumaresta);Debug.locals.put("sumaresta", _sumaresta);
 BA.debugLineNum = 1827;BA.debugLine="Log(NumberFormat2(sumaresta,0,2,2,False))";
Debug.ShouldStop(4);
parent.__c.runVoidMethod ("LogImpl","89437440",parent.__c.runMethod(true,"NumberFormat2",(Object)(_sumaresta),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),0);
 BA.debugLineNum = 1828;BA.debugLine="If NumberFormat2(sumaresta,0,2,2,False) <> \"-.";
Debug.ShouldStop(8);
if (true) break;

case 106:
//if
this.state = 117;
if (RemoteObject.solveBoolean("!",parent.__c.runMethod(true,"NumberFormat2",(Object)(_sumaresta),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),BA.ObjectToString("-.00"))) { 
this.state = 108;
}if (true) break;

case 108:
//C
this.state = 109;
 BA.debugLineNum = 1829;BA.debugLine="If NumberFormat2(sumaresta,0,2,2,False) <> \".";
Debug.ShouldStop(16);
if (true) break;

case 109:
//if
this.state = 116;
if (RemoteObject.solveBoolean("!",parent.__c.runMethod(true,"NumberFormat2",(Object)(_sumaresta),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),BA.ObjectToString(".00"))) { 
this.state = 111;
}if (true) break;

case 111:
//C
this.state = 112;
 BA.debugLineNum = 1830;BA.debugLine="Dim rutaactualizar As String";
Debug.ShouldStop(32);
_rutaactualizar = RemoteObject.createImmutable("");Debug.locals.put("rutaactualizar", _rutaactualizar);
 BA.debugLineNum = 1831;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"";
Debug.ShouldStop(64);
_rut = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_rut = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("rut", _rut);Debug.locals.put("rut", _rut);
 BA.debugLineNum = 1832;BA.debugLine="If rut.RowCount > 0 Then";
Debug.ShouldStop(128);
if (true) break;

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

case 114:
//C
this.state = 115;
 BA.debugLineNum = 1833;BA.debugLine="rut.Position = 0";
Debug.ShouldStop(256);
_rut.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1834;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA";
Debug.ShouldStop(512);
_rutaactualizar = _rut.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutaactualizar", _rutaactualizar);
 if (true) break;

case 115:
//C
this.state = 116;
;
 BA.debugLineNum = 1836;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info";
Debug.ShouldStop(2048);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 3, HORAENT = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutaactualizar))),RemoteObject.createImmutable("'")))));
 BA.debugLineNum = 1837;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVE";
Debug.ShouldStop(4096);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"))));
 BA.debugLineNum = 1838;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVE";
Debug.ShouldStop(8192);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_FOTO,NV_REPROGRAMAR) VALUES(?,?,?,?,?,?,?,?,?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),RemoteObject.createImmutable(("PAGO INCOMPLETO")),RemoteObject.createImmutable(("PAGO INCOMPLETO")),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(_rutaactualizar),RemoteObject.createImmutable((0))})))));
 BA.debugLineNum = 1839;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTA";
Debug.ShouldStop(16384);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("update HIST_VENTAS SET HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT, HVD_RECHAZOCANTC = CANTC, BCAJAS = 0 , CANTC = 0 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
 BA.debugLineNum = 1840;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT";
Debug.ShouldStop(32768);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 2,  HVD_RECHAZOCANT = HVD_RECHAZOCANT  WHERE HVD_PROID = HVD_CODPROMO and HVD_CLIENTE in (Select CUENTA from cuentaa)"))));
 BA.debugLineNum = 1841;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM PEDID";
Debug.ShouldStop(65536);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
 BA.debugLineNum = 1842;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FRO";
Debug.ShouldStop(131072);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA"))));
 BA.debugLineNum = 1843;BA.debugLine="d.Position = 0";
Debug.ShouldStop(262144);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1844;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")";
Debug.ShouldStop(524288);
_ruta = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")));Debug.locals.put("ruta", _ruta);Debug.locals.put("ruta", _ruta);
 BA.debugLineNum = 1845;BA.debugLine="d.Close";
Debug.ShouldStop(1048576);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1846;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RU";
Debug.ShouldStop(2097152);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));
 BA.debugLineNum = 1847;BA.debugLine="d.Position = 0";
Debug.ShouldStop(4194304);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1848;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_";
Debug.ShouldStop(8388608);
_rutapre = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutapre", _rutapre);Debug.locals.put("rutapre", _rutapre);
 BA.debugLineNum = 1849;BA.debugLine="d.Close";
Debug.ShouldStop(16777216);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1850;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA";
Debug.ShouldStop(33554432);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HVD_FECHA FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));
 BA.debugLineNum = 1851;BA.debugLine="d.Position = 0";
Debug.ShouldStop(67108864);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1852;BA.debugLine="Dim fechaprev As String = d.GetString(\"HVD_F";
Debug.ShouldStop(134217728);
parent._fechaprev = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")));__ref.setField("_fechaprev",parent._fechaprev);
 BA.debugLineNum = 1853;BA.debugLine="d.Close";
Debug.ShouldStop(268435456);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1854;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CUENTA FR";
Debug.ShouldStop(536870912);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA"))));
 BA.debugLineNum = 1855;BA.debugLine="d.Position = 0";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1856;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPA";
Debug.ShouldStop(-2147483648);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {12},new Object[] {__ref.getField(true,"_cuenta" /*RemoteObject*/ ),__ref.getField(true,"_usuario" /*RemoteObject*/ ),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )),parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ),parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ),parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_almacen" /*RemoteObject*/ ),_ruta,_rutapre,__ref.getField(true,"_fechaprev" /*RemoteObject*/ ),BA.ObjectToString("PAGO INCOMPLETO"),BA.ObjectToString("PAGO INCOMPLETO"),RemoteObject.createImmutable("NO ENTREGADO")})))));
 BA.debugLineNum = 1857;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
Debug.ShouldStop(1);
parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal")));
 if (true) break;

case 116:
//C
this.state = 117;
;
 if (true) break;

case 117:
//C
this.state = 142;
;
 if (true) break;

case 119:
//C
this.state = 120;
 BA.debugLineNum = 1861;BA.debugLine="p_abono.Visible = False";
Debug.ShouldStop(16);
__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False"));
 BA.debugLineNum = 1862;BA.debugLine="Starter.skmt.ExecNonQuery($\"INSERT INTO ABONOS";
Debug.ShouldStop(32);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha,TIPO_PAGO,a_ticket,a_numpago) VALUES ('"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' ,'"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_fechakmt" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))))))),RemoteObject.createImmutable("','"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_itemselect" /*RemoteObject*/ )))),RemoteObject.createImmutable("','"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_notaabono))),RemoteObject.createImmutable("','"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_numpago))),RemoteObject.createImmutable("')")))));
 BA.debugLineNum = 1863;BA.debugLine="ToastMessageShow(\"Abono guardado\", False)";
Debug.ShouldStop(64);
parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Abono guardado")),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 1864;BA.debugLine="Dim rutaactualizar As String";
Debug.ShouldStop(128);
_rutaactualizar = RemoteObject.createImmutable("");Debug.locals.put("rutaactualizar", _rutaactualizar);
 BA.debugLineNum = 1865;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SE";
Debug.ShouldStop(256);
_rut = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_rut = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("rut", _rut);Debug.locals.put("rut", _rut);
 BA.debugLineNum = 1866;BA.debugLine="If rut.RowCount > 0 Then";
Debug.ShouldStop(512);
if (true) break;

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

case 122:
//C
this.state = 123;
 BA.debugLineNum = 1867;BA.debugLine="rut.Position = 0";
Debug.ShouldStop(1024);
_rut.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1868;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")";
Debug.ShouldStop(2048);
_rutaactualizar = _rut.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutaactualizar", _rutaactualizar);
 if (true) break;

case 123:
//C
this.state = 124;
;
 BA.debugLineNum = 1870;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info se";
Debug.ShouldStop(8192);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 0, HORAENT = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutaactualizar))),RemoteObject.createImmutable("'")))));
 BA.debugLineNum = 1871;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENT";
Debug.ShouldStop(16384);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"))));
 BA.debugLineNum = 1872;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery(";
Debug.ShouldStop(32768);
_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM PEDIDO WHERE PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3);
 BA.debugLineNum = 1873;BA.debugLine="If c3.RowCount = 0 Then";
Debug.ShouldStop(65536);
if (true) break;

case 124:
//if
this.state = 129;
if (RemoteObject.solveBoolean("=",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 126;
}else {
this.state = 128;
}if (true) break;

case 126:
//C
this.state = 129;
 BA.debugLineNum = 1874;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTA";
Debug.ShouldStop(131072);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 0,  HVD_RECHAZOCANT = 0, BCAJAS = BCAJAS_OR, CANTC = CANTC_OR  WHERE HVD_cliente in (Select CUENTA from cuentaa)"))));
 BA.debugLineNum = 1875;BA.debugLine="B4XPage_Appear";
Debug.ShouldStop(262144);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b4xpage_appear" /*RemoteObject*/ );
 if (true) break;

case 128:
//C
this.state = 129;
 BA.debugLineNum = 1877;BA.debugLine="MsgboxAsync(\"Hay productos que ya se vendiero";
Debug.ShouldStop(1048576);
parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Hay productos que ya se vendieron, no se puede regresar la venta")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba"));
 if (true) break;

case 129:
//C
this.state = 130;
;
 BA.debugLineNum = 1879;BA.debugLine="Dim textedit As Double = et_abono.Text";
Debug.ShouldStop(4194304);
_textedit = BA.numberCast(double.class, __ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textedit", _textedit);Debug.locals.put("textedit", _textedit);
 BA.debugLineNum = 1880;BA.debugLine="Dim sumaresta As Double = saldopendiente-texte";
Debug.ShouldStop(8388608);
_sumaresta = RemoteObject.solve(new RemoteObject[] {_saldopendiente,_textedit,_saldopendiente1}, "--",2, 0);Debug.locals.put("sumaresta", _sumaresta);Debug.locals.put("sumaresta", _sumaresta);
 BA.debugLineNum = 1882;BA.debugLine="If NumberFormat2(sumaresta,0,2,2,False) <> \"-.";
Debug.ShouldStop(33554432);
if (true) break;

case 130:
//if
this.state = 141;
if (RemoteObject.solveBoolean("!",parent.__c.runMethod(true,"NumberFormat2",(Object)(_sumaresta),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),BA.ObjectToString("-.00"))) { 
this.state = 132;
}if (true) break;

case 132:
//C
this.state = 133;
 BA.debugLineNum = 1883;BA.debugLine="If NumberFormat2(sumaresta,0,2,2,False) <> \".";
Debug.ShouldStop(67108864);
if (true) break;

case 133:
//if
this.state = 140;
if (RemoteObject.solveBoolean("!",parent.__c.runMethod(true,"NumberFormat2",(Object)(_sumaresta),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),BA.ObjectToString(".00"))) { 
this.state = 135;
}if (true) break;

case 135:
//C
this.state = 136;
 BA.debugLineNum = 1884;BA.debugLine="Dim rutaactualizar As String";
Debug.ShouldStop(134217728);
_rutaactualizar = RemoteObject.createImmutable("");Debug.locals.put("rutaactualizar", _rutaactualizar);
 BA.debugLineNum = 1885;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"";
Debug.ShouldStop(268435456);
_rut = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_rut = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("rut", _rut);Debug.locals.put("rut", _rut);
 BA.debugLineNum = 1886;BA.debugLine="If rut.RowCount > 0 Then";
Debug.ShouldStop(536870912);
if (true) break;

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

case 138:
//C
this.state = 139;
 BA.debugLineNum = 1887;BA.debugLine="rut.Position = 0";
Debug.ShouldStop(1073741824);
_rut.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1888;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA";
Debug.ShouldStop(-2147483648);
_rutaactualizar = _rut.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutaactualizar", _rutaactualizar);
 if (true) break;

case 139:
//C
this.state = 140;
;
 BA.debugLineNum = 1890;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info";
Debug.ShouldStop(2);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 3, HORAENT = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutaactualizar))),RemoteObject.createImmutable("'")))));
 BA.debugLineNum = 1891;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVE";
Debug.ShouldStop(4);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"))));
 BA.debugLineNum = 1892;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVE";
Debug.ShouldStop(8);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_FOTO,NV_REPROGRAMAR) VALUES(?,?,?,?,?,?,?,?,?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),RemoteObject.createImmutable(("PAGO INCOMPLETO")),RemoteObject.createImmutable(("PAGO INCOMPLETO")),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(_rutaactualizar),RemoteObject.createImmutable((0))})))));
 BA.debugLineNum = 1893;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTA";
Debug.ShouldStop(16);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("update HIST_VENTAS SET HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT, HVD_RECHAZOCANTC = CANTC, BCAJAS = 0 , CANTC = 0 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
 BA.debugLineNum = 1894;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT";
Debug.ShouldStop(32);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 2,  HVD_RECHAZOCANT = HVD_RECHAZOCANT  WHERE HVD_PROID = HVD_CODPROMO and HVD_CLIENTE in (Select CUENTA from cuentaa)"))));
 BA.debugLineNum = 1895;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM PEDID";
Debug.ShouldStop(64);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
 BA.debugLineNum = 1896;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FRO";
Debug.ShouldStop(128);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA"))));
 BA.debugLineNum = 1897;BA.debugLine="d.Position = 0";
Debug.ShouldStop(256);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1898;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")";
Debug.ShouldStop(512);
_ruta = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")));Debug.locals.put("ruta", _ruta);Debug.locals.put("ruta", _ruta);
 BA.debugLineNum = 1899;BA.debugLine="d.Close";
Debug.ShouldStop(1024);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1900;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RU";
Debug.ShouldStop(2048);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));
 BA.debugLineNum = 1901;BA.debugLine="d.Position = 0";
Debug.ShouldStop(4096);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1902;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_";
Debug.ShouldStop(8192);
_rutapre = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutapre", _rutapre);Debug.locals.put("rutapre", _rutapre);
 BA.debugLineNum = 1903;BA.debugLine="d.Close";
Debug.ShouldStop(16384);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1904;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA";
Debug.ShouldStop(32768);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HVD_FECHA FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));
 BA.debugLineNum = 1905;BA.debugLine="d.Position = 0";
Debug.ShouldStop(65536);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1906;BA.debugLine="Dim fechaprev As String = d.GetString(\"HVD_F";
Debug.ShouldStop(131072);
parent._fechaprev = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")));__ref.setField("_fechaprev",parent._fechaprev);
 BA.debugLineNum = 1907;BA.debugLine="d.Close";
Debug.ShouldStop(262144);
__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1908;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CUENTA FR";
Debug.ShouldStop(524288);
__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA"))));
 BA.debugLineNum = 1909;BA.debugLine="d.Position = 0";
Debug.ShouldStop(1048576);
__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 1910;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPA";
Debug.ShouldStop(2097152);
parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {12},new Object[] {__ref.getField(true,"_cuenta" /*RemoteObject*/ ),__ref.getField(true,"_usuario" /*RemoteObject*/ ),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )),parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ),parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ),parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_almacen" /*RemoteObject*/ ),_ruta,_rutapre,__ref.getField(true,"_fechaprev" /*RemoteObject*/ ),BA.ObjectToString("PAGO INCOMPLETO"),BA.ObjectToString("PAGO INCOMPLETO"),RemoteObject.createImmutable("NO ENTREGADO")})))));
 BA.debugLineNum = 1911;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
Debug.ShouldStop(4194304);
parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal")));
 if (true) break;

case 140:
//C
this.state = 141;
;
 if (true) break;

case 141:
//C
this.state = 142;
;
 if (true) break;

case 142:
//C
this.state = 143;
;
 if (true) break;

case 143:
//C
this.state = 144;
;
 if (true) break;

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

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static void  _imprime_pagare(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("imprime_pagare (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2126);
if (RapidSub.canDelegate("imprime_pagare")) { __ref.runUserSub(false, "c_cliente","imprime_pagare", __ref); return;}
ResumableSub_imprime_pagare rsub = new ResumableSub_imprime_pagare(null,__ref);
rsub.resume(null, null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static class ResumableSub_imprime_pagare extends BA.ResumableSub {
public ResumableSub_imprime_pagare(reparto_izca.keymon.lat.c_cliente parent,RemoteObject __ref) {
this.parent = parent;
this.__ref = __ref;
}
java.util.LinkedHashMap<String, Object> rsLocals = new java.util.LinkedHashMap<String, Object>();
RemoteObject __ref;
reparto_izca.keymon.lat.c_cliente parent;
RemoteObject _cont = RemoteObject.createImmutable(0);
RemoteObject _telefono = RemoteObject.createImmutable("");
RemoteObject _c7 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
RemoteObject _ticket = RemoteObject.createImmutable("");
RemoteObject _c6 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper");
int _k = 0;
int _i = 0;
RemoteObject _resultado = RemoteObject.createImmutable(0);
int step59;
int limit59;
int step76;
int limit76;
int step100;
int limit100;

@Override
public void resume(BA ba, RemoteObject result) throws Exception{
try {
		Debug.PushSubsStack("imprime_pagare (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2126);
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 = 2127;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu";
Debug.ShouldStop(16384);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));
 BA.debugLineNum = 2128;BA.debugLine="c.Position=0";
Debug.ShouldStop(32768);
__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2129;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
Debug.ShouldStop(65536);
__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))));
 BA.debugLineNum = 2130;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
Debug.ShouldStop(131072);
parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy"));
 BA.debugLineNum = 2131;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(262144);
__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 2132;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(524288);
__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 2133;BA.debugLine="c.Close";
Debug.ShouldStop(1048576);
__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2164;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
Debug.ShouldStop(524288);
parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ..."))));
 BA.debugLineNum = 2165;BA.debugLine="Printer1.DisConnect";
Debug.ShouldStop(1048576);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ );
 BA.debugLineNum = 2166;BA.debugLine="If Not(Printer1.IsConnected) Then";
Debug.ShouldStop(2097152);
if (true) break;

case 1:
//if
this.state = 38;
if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).<Boolean>get().booleanValue()) { 
this.state = 3;
}else {
this.state = 21;
}if (true) break;

case 3:
//C
this.state = 4;
 BA.debugLineNum = 2168;BA.debugLine="Printer1.Connect";
Debug.ShouldStop(8388608);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
 BA.debugLineNum = 2169;BA.debugLine="Private cont As Int = 0";
Debug.ShouldStop(16777216);
_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 2170;BA.debugLine="Do While Not(impresoraConectada)";
Debug.ShouldStop(33554432);
if (true) break;

case 4:
//do while
this.state = 19;
while (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ ))).<Boolean>get().booleanValue()) {
this.state = 6;
if (true) break;
}
if (true) break;

case 6:
//C
this.state = 7;
 BA.debugLineNum = 2171;BA.debugLine="Sleep(1000)";
Debug.ShouldStop(67108864);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_pagare"),BA.numberCast(int.class, 1000));
this.state = 117;
return;
case 117:
//C
this.state = 7;
;
 BA.debugLineNum = 2172;BA.debugLine="cont = cont + 1";
Debug.ShouldStop(134217728);
_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 2173;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
Debug.ShouldStop(268435456);
if (true) break;

case 7:
//if
this.state = 12;
if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 7))) { 
this.state = 9;
;}if (true) break;

case 9:
//C
this.state = 12;
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
if (true) break;

case 12:
//C
this.state = 13;
;
 BA.debugLineNum = 2174;BA.debugLine="If cont > 15 Then impresoraConectada = True";
Debug.ShouldStop(536870912);
if (true) break;

case 13:
//if
this.state = 18;
if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 15))) { 
this.state = 15;
;}if (true) break;

case 15:
//C
this.state = 18;
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True"));
if (true) break;

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

case 19:
//C
this.state = 38;
;
 BA.debugLineNum = 2176;BA.debugLine="Sleep(500)";
Debug.ShouldStop(-2147483648);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_pagare"),BA.numberCast(int.class, 500));
this.state = 118;
return;
case 118:
//C
this.state = 38;
;
 BA.debugLineNum = 2177;BA.debugLine="impresoraConectada = False";
Debug.ShouldStop(1);
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False"));
 if (true) break;

case 21:
//C
this.state = 22;
 BA.debugLineNum = 2180;BA.debugLine="Printer1.Connect";
Debug.ShouldStop(8);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
 BA.debugLineNum = 2181;BA.debugLine="Private cont As Int = 0";
Debug.ShouldStop(16);
_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 2182;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
Debug.ShouldStop(32);
if (true) break;

case 22:
//do while
this.state = 37;
while (RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_impresoraconectada" /*RemoteObject*/ )))) || RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) {
this.state = 24;
if (true) break;
}
if (true) break;

case 24:
//C
this.state = 25;
 BA.debugLineNum = 2183;BA.debugLine="Sleep(1000)";
Debug.ShouldStop(64);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_pagare"),BA.numberCast(int.class, 1000));
this.state = 119;
return;
case 119:
//C
this.state = 25;
;
 BA.debugLineNum = 2184;BA.debugLine="cont = cont + 1";
Debug.ShouldStop(128);
_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont);
 BA.debugLineNum = 2185;BA.debugLine="If cont = 2 Then Printer1.Connect";
Debug.ShouldStop(256);
if (true) break;

case 25:
//if
this.state = 30;
if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 2))) { 
this.state = 27;
;}if (true) break;

case 27:
//C
this.state = 30;
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ );
if (true) break;

case 30:
//C
this.state = 31;
;
 BA.debugLineNum = 2186;BA.debugLine="If cont > 4 Then impresoraConectada = True";
Debug.ShouldStop(512);
if (true) break;

case 31:
//if
this.state = 36;
if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 4))) { 
this.state = 33;
;}if (true) break;

case 33:
//C
this.state = 36;
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"True"));
if (true) break;

case 36:
//C
this.state = 22;
;
 if (true) break;

case 37:
//C
this.state = 38;
;
 BA.debugLineNum = 2188;BA.debugLine="Sleep(500)";
Debug.ShouldStop(2048);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_pagare"),BA.numberCast(int.class, 500));
this.state = 120;
return;
case 120:
//C
this.state = 38;
;
 BA.debugLineNum = 2189;BA.debugLine="impresoraConectada = False";
Debug.ShouldStop(4096);
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False"));
 if (true) break;

case 38:
//C
this.state = 39;
;
 BA.debugLineNum = 2192;BA.debugLine="TAMANO = 0";
Debug.ShouldStop(32768);
__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 BA.debugLineNum = 2193;BA.debugLine="ESPACIO = 28";
Debug.ShouldStop(65536);
__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 28));
 BA.debugLineNum = 2194;BA.debugLine="BLANCO = \" \"";
Debug.ShouldStop(131072);
__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" "));
 BA.debugLineNum = 2196;BA.debugLine="Dim telefono As String = \"\"";
Debug.ShouldStop(524288);
_telefono = BA.ObjectToString("");Debug.locals.put("telefono", _telefono);Debug.locals.put("telefono", _telefono);
 BA.debugLineNum = 2197;BA.debugLine="Dim c7 As Cursor = Starter.skmt.ExecQuery(\"select";
Debug.ShouldStop(1048576);
_c7 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c7 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select IFNULL(CAT_CL_TELEFONO,' ') AS CAT_CL_TELEFONO FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("c7", _c7);Debug.locals.put("c7", _c7);
 BA.debugLineNum = 2198;BA.debugLine="If c7.RowCount > 0 Then";
Debug.ShouldStop(2097152);
if (true) break;

case 39:
//if
this.state = 42;
if (RemoteObject.solveBoolean(">",_c7.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 41;
}if (true) break;

case 41:
//C
this.state = 42;
 BA.debugLineNum = 2199;BA.debugLine="c7.Position = 0";
Debug.ShouldStop(4194304);
_c7.runMethod(true,"setPosition",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2200;BA.debugLine="telefono = c7.GetString(\"CAT_CL_TELEFONO\")";
Debug.ShouldStop(8388608);
_telefono = _c7.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO")));Debug.locals.put("telefono", _telefono);
 if (true) break;

case 42:
//C
this.state = 43;
;
 BA.debugLineNum = 2202;BA.debugLine="c7.Close";
Debug.ShouldStop(33554432);
_c7.runVoidMethod ("Close");
 BA.debugLineNum = 2221;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
Debug.ShouldStop(4096);
parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy"));
 BA.debugLineNum = 2222;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
Debug.ShouldStop(8192);
parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss"));
 BA.debugLineNum = 2223;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(16384);
__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 2224;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
Debug.ShouldStop(32768);
__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 2225;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" &  CRL";
Debug.ShouldStop(65536);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Izca Distribuciones"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2226;BA.debugLine="Printer1.WriteString(sDate &  CRLF)";
Debug.ShouldStop(131072);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2227;BA.debugLine="Printer1.WriteString(sTime &  CRLF)";
Debug.ShouldStop(262144);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_stime" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2228;BA.debugLine="Printer1.WriteString(\"Reparto:\" & usuario &  CRLF";
Debug.ShouldStop(524288);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Reparto:"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2229;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
Debug.ShouldStop(1048576);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2230;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" &  la_cuenta.";
Debug.ShouldStop(2097152);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2231;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
Debug.ShouldStop(4194304);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2232;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
Debug.ShouldStop(8388608);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2233;BA.debugLine="Printer1.WriteString(\"Telefono: \" & telefono &  C";
Debug.ShouldStop(16777216);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Telefono: "),_telefono,parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2234;BA.debugLine="Dim Ticket As String = 0";
Debug.ShouldStop(33554432);
_ticket = BA.NumberToString(0);Debug.locals.put("Ticket", _ticket);Debug.locals.put("Ticket", _ticket);
 BA.debugLineNum = 2235;BA.debugLine="Dim c6 As Cursor = Starter.skmt.ExecQuery(\"select";
Debug.ShouldStop(67108864);
_c6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");
_c6 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct HVD_NUM_TICKET FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_PRONOMBRE <> 'Cobranza Pendiente' and HVD_BCREDITO = '1'"))));Debug.locals.put("c6", _c6);Debug.locals.put("c6", _c6);
 BA.debugLineNum = 2236;BA.debugLine="If c6.RowCount > 0 Then";
Debug.ShouldStop(134217728);
if (true) break;

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

case 45:
//C
this.state = 46;
 BA.debugLineNum = 2237;BA.debugLine="For k = 0 To c6.RowCount -1";
Debug.ShouldStop(268435456);
if (true) break;

case 46:
//for
this.state = 49;
step59 = 1;
limit59 = RemoteObject.solve(new RemoteObject[] {_c6.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_k = 0 ;
Debug.locals.put("k", _k);
this.state = 121;
if (true) break;

case 121:
//C
this.state = 49;
if ((step59 > 0 && _k <= limit59) || (step59 < 0 && _k >= limit59)) this.state = 48;
if (true) break;

case 122:
//C
this.state = 121;
_k = ((int)(0 + _k + step59)) ;
Debug.locals.put("k", _k);
if (true) break;

case 48:
//C
this.state = 122;
 BA.debugLineNum = 2238;BA.debugLine="c6.Position = k";
Debug.ShouldStop(536870912);
_c6.runMethod(true,"setPosition",BA.numberCast(int.class, _k));
 BA.debugLineNum = 2239;BA.debugLine="Ticket = c6.GetString(\"HVD_NUM_TICKET\")";
Debug.ShouldStop(1073741824);
_ticket = _c6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_TICKET")));Debug.locals.put("Ticket", _ticket);
 BA.debugLineNum = 2240;BA.debugLine="Printer1.WriteString(\"Num. Ticket \" & (k +1)&\":";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Num. Ticket "),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_k),RemoteObject.createImmutable(1)}, "+",1, 1)),RemoteObject.createImmutable(": "),_ticket,parent.__c.getField(true,"CRLF"))));
 if (true) break;
if (true) break;

case 49:
//C
this.state = 50;
Debug.locals.put("k", _k);
;
 if (true) break;

case 50:
//C
this.state = 51;
;
 BA.debugLineNum = 2243;BA.debugLine="c6.Close";
Debug.ShouldStop(4);
_c6.runVoidMethod ("Close");
 BA.debugLineNum = 2244;BA.debugLine="Printer1.WriteString(\"Fecha: \" &  sDate &\" \" & sT";
Debug.ShouldStop(8);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Fecha: "),__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2245;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(16);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2249;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM HIST_VE";
Debug.ShouldStop(256);
__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO = '1' "))));
 BA.debugLineNum = 2250;BA.debugLine="If c.RowCount > 0 Then";
Debug.ShouldStop(512);
if (true) break;

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

case 53:
//C
this.state = 54;
 BA.debugLineNum = 2251;BA.debugLine="Printer1.WriteString(\"------------PAGARE--------";
Debug.ShouldStop(1024);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------PAGARE------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2252;BA.debugLine="Printer1.WriteString(\"\" &  CRLF)";
Debug.ShouldStop(2048);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2253;BA.debugLine="Printer1.WriteString(\"Pagare por los articulos\"";
Debug.ShouldStop(4096);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Pagare por los articulos"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2254;BA.debugLine="Printer1.WriteString(\"--------------------------";
Debug.ShouldStop(8192);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2257;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,";
Debug.ShouldStop(65536);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_BCREDITO = '1' order by  HVD_PROID")))));
 BA.debugLineNum = 2258;BA.debugLine="If S.RowCount>0 Then";
Debug.ShouldStop(131072);
if (true) break;

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

case 56:
//C
this.state = 57;
 BA.debugLineNum = 2259;BA.debugLine="For i=0 To S.RowCount -1";
Debug.ShouldStop(262144);
if (true) break;

case 57:
//for
this.state = 70;
step76 = 1;
limit76 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
Debug.locals.put("i", _i);
this.state = 123;
if (true) break;

case 123:
//C
this.state = 70;
if ((step76 > 0 && _i <= limit76) || (step76 < 0 && _i >= limit76)) this.state = 59;
if (true) break;

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

case 59:
//C
this.state = 60;
 BA.debugLineNum = 2260;BA.debugLine="S.Position=i";
Debug.ShouldStop(524288);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 2261;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))";
Debug.ShouldStop(1048576);
parent.__c.runVoidMethod ("LogImpl","89830535",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),0);
 BA.debugLineNum = 2262;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_";
Debug.ShouldStop(2097152);
if (true) break;

case 60:
//if
this.state = 69;
if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0),BA.numberCast(double.class, 0))) { 
this.state = 62;
}if (true) break;

case 62:
//C
this.state = 63;
 BA.debugLineNum = 2263;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = Subs.traeAlm";
Debug.ShouldStop(4194304);
if (true) break;

case 63:
//if
this.state = 68;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { 
this.state = 65;
}else 
{ BA.debugLineNum = 2287;BA.debugLine="Else If s.GetString(\"HVD_RECHAZO\") = 1 Then";
Debug.ShouldStop(16384);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(1))) { 
this.state = 67;
}}
if (true) break;

case 65:
//C
this.state = 68;
 BA.debugLineNum = 2264;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(8388608);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2265;BA.debugLine="Printer1.WriteString((s.GetString(\"HVD_CANT\"";
Debug.ShouldStop(16777216);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 if (true) break;

case 67:
//C
this.state = 68;
 BA.debugLineNum = 2288;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(32768);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2289;BA.debugLine="Printer1.WriteString((s.GetString(\"HVD_CANT\"";
Debug.ShouldStop(65536);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2314;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(512);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 if (true) break;

case 68:
//C
this.state = 69;
;
 if (true) break;

case 69:
//C
this.state = 124;
;
 if (true) break;
if (true) break;

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

case 71:
//C
this.state = 72;
;
 if (true) break;

case 72:
//C
this.state = 73;
;
 BA.debugLineNum = 2320;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(32768);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2321;BA.debugLine="s.Close";
Debug.ShouldStop(65536);
__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 2322;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(131072);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2324;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,";
Debug.ShouldStop(524288);
__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_BCREDITO = '1' order by  HVD_CODPROMO, ESPROMO DESC, HVD_PROID"))))));
 BA.debugLineNum = 2325;BA.debugLine="If S.RowCount>0 Then";
Debug.ShouldStop(1048576);
if (true) break;

case 73:
//if
this.state = 100;
if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { 
this.state = 75;
}if (true) break;

case 75:
//C
this.state = 76;
 BA.debugLineNum = 2326;BA.debugLine="Printer1.WriteString(\"-------PROMOS ENTREGA-----";
Debug.ShouldStop(2097152);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-------PROMOS ENTREGA--------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2327;BA.debugLine="Printer1.WriteString(\"Cant.      Precio        I";
Debug.ShouldStop(4194304);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant.      Precio        Importe"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2328;BA.debugLine="Printer1.WriteString(\"--------------------------";
Debug.ShouldStop(8388608);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2329;BA.debugLine="For i=0 To S.RowCount -1";
Debug.ShouldStop(16777216);
if (true) break;

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

case 125:
//C
this.state = 99;
if ((step100 > 0 && _i <= limit100) || (step100 < 0 && _i >= limit100)) this.state = 78;
if (true) break;

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

case 78:
//C
this.state = 79;
 BA.debugLineNum = 2330;BA.debugLine="S.Position=i";
Debug.ShouldStop(33554432);
__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i));
 BA.debugLineNum = 2331;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_R";
Debug.ShouldStop(67108864);
if (true) break;

case 79:
//if
this.state = 98;
if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0),BA.numberCast(double.class, 0))) { 
this.state = 81;
}if (true) break;

case 81:
//C
this.state = 82;
 BA.debugLineNum = 2332;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm";
Debug.ShouldStop(134217728);
if (true) break;

case 82:
//if
this.state = 97;
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { 
this.state = 84;
}else {
this.state = 96;
}if (true) break;

case 84:
//C
this.state = 85;
 BA.debugLineNum = 2333;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(268435456);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 BA.debugLineNum = 2334;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = s.GetString(";
Debug.ShouldStop(536870912);
if (true) break;

case 85:
//if
this.state = 94;
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))) { 
this.state = 87;
}else {
this.state = 89;
}if (true) break;

case 87:
//C
this.state = 94;
 if (true) break;

case 89:
//C
this.state = 90;
 BA.debugLineNum = 2337;BA.debugLine="If s.GetString(\"HVD_PRONOMBRE\") <> \"Cobranza";
Debug.ShouldStop(1);
if (true) break;

case 90:
//if
this.state = 93;
if (RemoteObject.solveBoolean("!",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),BA.ObjectToString("Cobranza Pendiente"))) { 
this.state = 92;
}if (true) break;

case 92:
//C
this.state = 93;
 BA.debugLineNum = 2339;BA.debugLine="Printer1.WriteString((s.GetString(\"HVD_CANT";
Debug.ShouldStop(4);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF"))));
 if (true) break;

case 93:
//C
this.state = 94;
;
 if (true) break;

case 94:
//C
this.state = 97;
;
 BA.debugLineNum = 2360;BA.debugLine="Printer1.Justify = 0";
Debug.ShouldStop(8388608);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0));
 if (true) break;

case 96:
//C
this.state = 97;
 if (true) break;

case 97:
//C
this.state = 98;
;
 if (true) break;

case 98:
//C
this.state = 126;
;
 if (true) break;
if (true) break;

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

case 100:
//C
this.state = 101;
;
 BA.debugLineNum = 2367;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(1073741824);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2368;BA.debugLine="Printer1.WriteString(\"Por monto de $\" &l_montopag";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Por monto de $"),__ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2369;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(1);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2370;BA.debugLine="Printer1.WriteString(\"Debo(mos) y pagare(mos) inc";
Debug.ShouldStop(2);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Debo(mos) y pagare(mos) incon"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2371;BA.debugLine="Printer1.WriteString(\"dicionalmente en __________";
Debug.ShouldStop(4);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("dicionalmente en _____________"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2372;BA.debugLine="Printer1.WriteString(\"o en el lugar donde se me \"";
Debug.ShouldStop(8);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("o en el lugar donde se me "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2373;BA.debugLine="Printer1.WriteString(\"requiera por el presente pa";
Debug.ShouldStop(16);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("requiera por el presente pagare"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2374;BA.debugLine="Printer1.WriteString(\"a Izca Distribuciones la \"&";
Debug.ShouldStop(32);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("a Izca Distribuciones la "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2375;BA.debugLine="Printer1.WriteString(\"cantidad de $\"&l_montopag.T";
Debug.ShouldStop(64);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("cantidad de $"),__ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2376;BA.debugLine="Printer1.WriteString(\"valor recibido a entera \" &";
Debug.ShouldStop(128);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("valor recibido a entera "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2377;BA.debugLine="Printer1.WriteString(\"satisfaccion. La falta de p";
Debug.ShouldStop(256);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("satisfaccion. La falta de pago"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2378;BA.debugLine="Printer1.WriteString(\"a la fecha indicada causara";
Debug.ShouldStop(512);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("a la fecha indicada causara "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2379;BA.debugLine="Printer1.WriteString(\"intereses moratorios a razo";
Debug.ShouldStop(1024);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("intereses moratorios a razon "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2380;BA.debugLine="Printer1.WriteString(\"de ______% mensual a la fec";
Debug.ShouldStop(2048);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("de ______% mensual a la fecha."),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2381;BA.debugLine="Printer1.WriteString(\"\" &  CRLF)";
Debug.ShouldStop(4096);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2382;BA.debugLine="Printer1.WriteString(\"\" &  CRLF)";
Debug.ShouldStop(8192);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2383;BA.debugLine="Printer1.WriteString(\"            Recibi";
Debug.ShouldStop(16384);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("            Recibi            "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2384;BA.debugLine="Printer1.WriteString(\"\" &  CRLF)";
Debug.ShouldStop(32768);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2385;BA.debugLine="Printer1.WriteString(\"\" &  CRLF)";
Debug.ShouldStop(65536);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2386;BA.debugLine="Printer1.WriteString(\"___________________________";
Debug.ShouldStop(131072);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("______________________________"),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2388;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(524288);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2389;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(1048576);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2390;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(2097152);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2391;BA.debugLine="DateTime.DateFormat = \"ddMMyyyy\"";
Debug.ShouldStop(4194304);
parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("ddMMyyyy"));
 BA.debugLineNum = 2392;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
Debug.ShouldStop(8388608);
__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))));
 BA.debugLineNum = 2394;BA.debugLine="Printer1.WriteBarCode(\"I\",Ticket&sDate)";
Debug.ShouldStop(33554432);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebarcode" /*RemoteObject*/ ,(Object)(BA.ObjectToString("I")),(Object)(RemoteObject.concat(_ticket,__ref.getField(true,"_sdate" /*RemoteObject*/ ))));
 BA.debugLineNum = 2396;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(134217728);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2397;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(268435456);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2398;BA.debugLine="Printer1.WriteString(\" \" &  CRLF)";
Debug.ShouldStop(536870912);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF"))));
 BA.debugLineNum = 2399;BA.debugLine="Sleep(1000)";
Debug.ShouldStop(1073741824);
parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_pagare"),BA.numberCast(int.class, 1000));
this.state = 127;
return;
case 127:
//C
this.state = 101;
;
 BA.debugLineNum = 2400;BA.debugLine="Printer1.DisConnect";
Debug.ShouldStop(-2147483648);
__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ );
 BA.debugLineNum = 2401;BA.debugLine="ProgressDialogHide";
Debug.ShouldStop(1);
parent.__c.runVoidMethod ("ProgressDialogHide");
 BA.debugLineNum = 2402;BA.debugLine="If banderaimp = 1 Then";
Debug.ShouldStop(2);
if (true) break;

case 101:
//if
this.state = 116;
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_banderaimp" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { 
this.state = 103;
}else 
{ BA.debugLineNum = 2412;BA.debugLine="Else If banderaimp = 0 Then";
Debug.ShouldStop(2048);
if (RemoteObject.solveBoolean("=",__ref.getField(true,"_banderaimp" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { 
this.state = 111;
}}
if (true) break;

case 103:
//C
this.state = 104;
 BA.debugLineNum = 2403;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el PAGARE";
Debug.ShouldStop(4);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el PAGARE?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 2404;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
Debug.ShouldStop(8);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_pagare"), null);
this.state = 128;
return;
case 128:
//C
this.state = 104;
_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado);
;
 BA.debugLineNum = 2405;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
Debug.ShouldStop(16);
if (true) break;

case 104:
//if
this.state = 109;
if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
this.state = 106;
}else {
this.state = 108;
}if (true) break;

case 106:
//C
this.state = 109;
 BA.debugLineNum = 2406;BA.debugLine="imprime_pagare";
Debug.ShouldStop(32);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_imprime_pagare" /*void*/ );
 if (true) break;

case 108:
//C
this.state = 109;
 BA.debugLineNum = 2408;BA.debugLine="b_acred_Click";
Debug.ShouldStop(128);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b_acred_click" /*RemoteObject*/ );
 if (true) break;

case 109:
//C
this.state = 116;
;
 if (true) break;

case 111:
//C
this.state = 112;
 BA.debugLineNum = 2413;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el PAGARE";
Debug.ShouldStop(4096);
parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el PAGARE?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(Object)(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png")))),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False")));
 BA.debugLineNum = 2414;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
Debug.ShouldStop(8192);
parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_pagare"), null);
this.state = 129;
return;
case 129:
//C
this.state = 112;
_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado);
;
 BA.debugLineNum = 2415;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
Debug.ShouldStop(16384);
if (true) break;

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

case 114:
//C
this.state = 115;
 BA.debugLineNum = 2416;BA.debugLine="imprime_pagare";
Debug.ShouldStop(32768);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_imprime_pagare" /*void*/ );
 if (true) break;

case 115:
//C
this.state = 116;
;
 if (true) break;

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

            }
        }
    }
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}
public static RemoteObject  _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{
try {
		Debug.PushSubsStack("Initialize (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,103);
if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_cliente","initialize", __ref, _ba);}
__ref.runVoidMethodAndSync("innerInitializeHelper", _ba);
Debug.locals.put("ba", _ba);
 BA.debugLineNum = 103;BA.debugLine="Public Sub Initialize As Object";
Debug.ShouldStop(64);
 BA.debugLineNum = 104;BA.debugLine="Return Me";
Debug.ShouldStop(128);
if (true) return __ref;
 BA.debugLineNum = 105;BA.debugLine="End Sub";
Debug.ShouldStop(256);
return RemoteObject.createImmutable(null);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _jobdone(RemoteObject __ref,RemoteObject _job) throws Exception{
try {
		Debug.PushSubsStack("JobDone (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1234);
if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "c_cliente","jobdone", __ref, _job);}
RemoteObject _resultado = RemoteObject.declareNull("reparto_izca.keymon.lat.dbrequestmanager._dbresult");
RemoteObject _cliente = RemoteObject.createImmutable("");
RemoteObject _records = null;
RemoteObject _k = RemoteObject.createImmutable("");
Debug.locals.put("Job", _job);
 BA.debugLineNum = 1234;BA.debugLine="Sub JobDone(Job As HttpJob)";
Debug.ShouldStop(131072);
 BA.debugLineNum = 1235;BA.debugLine="Log(Job.Success)";
Debug.ShouldStop(262144);
c_cliente.__c.runVoidMethod ("LogImpl","89109505",BA.ObjectToString(_job.getField(true,"_success" /*RemoteObject*/ )),0);
 BA.debugLineNum = 1236;BA.debugLine="If Job.Success = False Then";
Debug.ShouldStop(524288);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),c_cliente.__c.getField(true,"False"))) { 
 }else {
 BA.debugLineNum = 1239;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
Debug.ShouldStop(4194304);
c_cliente.__c.runVoidMethod ("LogImpl","89109509",RemoteObject.concat(RemoteObject.createImmutable("JobDone: '"),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("' - Registros: "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),c_cliente.__c.getField(false,"Colors").getField(true,"Green"));
 BA.debugLineNum = 1240;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
Debug.ShouldStop(8388608);
if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { 
 BA.debugLineNum = 1241;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo";
Debug.ShouldStop(16777216);
_resultado = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("resultado", _resultado);Debug.locals.put("resultado", _resultado);
 BA.debugLineNum = 1242;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_REPART";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean(">",(BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("ins_REPARTOPendientes_head_"))),BA.numberCast(double.class, -(double) (0 + 1)))) { 
 BA.debugLineNum = 1243;BA.debugLine="Private cliente As String= resultado.Tag";
Debug.ShouldStop(67108864);
_cliente = BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ));Debug.locals.put("cliente", _cliente);Debug.locals.put("cliente", _cliente);
 BA.debugLineNum = 1244;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_";
Debug.ShouldStop(134217728);
_cliente = _cliente.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_cliente.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("_"))),RemoteObject.createImmutable(24)}, "+",1, 1)));Debug.locals.put("cliente", _cliente);
 BA.debugLineNum = 1245;BA.debugLine="Log($\"Cliente1:${cliente}\"$)";
Debug.ShouldStop(268435456);
c_cliente.__c.runVoidMethod ("LogImpl","89109515",(RemoteObject.concat(RemoteObject.createImmutable("Cliente1:"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable(""))),0);
 BA.debugLineNum = 1246;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO";
Debug.ShouldStop(536870912);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update REPARTO_GEO SET ENVIO = ? WHERE CLIENTE = ? AND ENVIO <> ?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {BA.ObjectToString("1"),_cliente,RemoteObject.createImmutable("1")})))));
 BA.debugLineNum = 1247;BA.debugLine="For Each records() As Object In resultado.Rows";
Debug.ShouldStop(1073741824);
{
final RemoteObject group12 = _resultado.getField(false,"Rows" /*RemoteObject*/ );
final int groupLen12 = group12.runMethod(true,"getSize").<Integer>get()
;int index12 = 0;
;
for (; index12 < groupLen12;index12++){
_records = (group12.runMethod(false,"Get",index12));Debug.locals.put("records", _records);
Debug.locals.put("records", _records);
 BA.debugLineNum = 1248;BA.debugLine="For Each k As String In resultado.Columns.Key";
Debug.ShouldStop(-2147483648);
{
final RemoteObject group13 = _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys");
final int groupLen13 = group13.runMethod(true,"getSize").<Integer>get()
;int index13 = 0;
;
for (; index13 < groupLen13;index13++){
_k = BA.ObjectToString(group13.runMethod(false,"Get",index13));Debug.locals.put("k", _k);
Debug.locals.put("k", _k);
 BA.debugLineNum = 1249;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record";
Debug.ShouldStop(1);
c_cliente.__c.runVoidMethod ("LogImpl","89109519",RemoteObject.concat(_resultado.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(": "),_k,RemoteObject.createImmutable(": "),_records.getArrayElement(false,BA.numberCast(int.class, _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_k)))))),0);
 }
}Debug.locals.put("k", _k);
;
 }
}Debug.locals.put("records", _records);
;
 };
 };
 BA.debugLineNum = 1254;BA.debugLine="Job.Release";
Debug.ShouldStop(32);
_job.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ );
 };
 BA.debugLineNum = 1257;BA.debugLine="End Sub";
Debug.ShouldStop(256);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _listview1_itemlongclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{
try {
		Debug.PushSubsStack("ListView1_ItemLongClick (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,427);
if (RapidSub.canDelegate("listview1_itemlongclick")) { return __ref.runUserSub(false, "c_cliente","listview1_itemlongclick", __ref, _position, _value);}
Debug.locals.put("Position", _position);
Debug.locals.put("Value", _value);
 BA.debugLineNum = 427;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu";
Debug.ShouldStop(1024);
 BA.debugLineNum = 429;BA.debugLine="End Sub";
Debug.ShouldStop(4096);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _mandapendientesreparto(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("mandaPendientesreparto (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1214);
if (RapidSub.canDelegate("mandapendientesreparto")) { return __ref.runUserSub(false, "c_cliente","mandapendientesreparto", __ref);}
 BA.debugLineNum = 1214;BA.debugLine="Sub mandaPendientesreparto";
Debug.ShouldStop(536870912);
 BA.debugLineNum = 1230;BA.debugLine="End Sub";
Debug.ShouldStop(8192);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _nuevo_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("NUEVO_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,580);
if (RapidSub.canDelegate("nuevo_click")) { return __ref.runUserSub(false, "c_cliente","nuevo_click", __ref);}
 BA.debugLineNum = 580;BA.debugLine="Sub NUEVO_Click";
Debug.ShouldStop(8);
 BA.debugLineNum = 581;BA.debugLine="StartActivity(MAPA_CLIENTE)";
Debug.ShouldStop(16);
c_cliente.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_cliente._mapa_cliente.getObject())));
 BA.debugLineNum = 582;BA.debugLine="End Sub";
Debug.ShouldStop(32);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _p_abono_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("p_abono_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2016);
if (RapidSub.canDelegate("p_abono_click")) { return __ref.runUserSub(false, "c_cliente","p_abono_click", __ref);}
 BA.debugLineNum = 2016;BA.debugLine="Private Sub p_abono_Click";
Debug.ShouldStop(-2147483648);
 BA.debugLineNum = 2018;BA.debugLine="End Sub";
Debug.ShouldStop(2);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _p_credito_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("p_credito_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1331);
if (RapidSub.canDelegate("p_credito_click")) { return __ref.runUserSub(false, "c_cliente","p_credito_click", __ref);}
 BA.debugLineNum = 1331;BA.debugLine="Private Sub p_credito_Click";
Debug.ShouldStop(262144);
 BA.debugLineNum = 1333;BA.debugLine="End Sub";
Debug.ShouldStop(1048576);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _printer_connected(RemoteObject __ref,RemoteObject _success) throws Exception{
try {
		Debug.PushSubsStack("Printer_Connected (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1140);
if (RapidSub.canDelegate("printer_connected")) { return __ref.runUserSub(false, "c_cliente","printer_connected", __ref, _success);}
Debug.locals.put("Success", _success);
 BA.debugLineNum = 1140;BA.debugLine="Sub Printer_Connected (Success As Boolean)";
Debug.ShouldStop(524288);
 BA.debugLineNum = 1141;BA.debugLine="If Success Then";
Debug.ShouldStop(1048576);
if (_success.<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 1143;BA.debugLine="PASA_IMP = \"1\"";
Debug.ShouldStop(4194304);
__ref.setField ("_pasa_imp" /*RemoteObject*/ ,BA.ObjectToString("1"));
 }else {
 BA.debugLineNum = 1146;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel";
Debug.ShouldStop(33554432);
if (RemoteObject.solveBoolean("=",c_cliente.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("")),(Object)(BA.ObjectToCharSequence("Printer Error")),(Object)(BA.ObjectToString("Reprint")),(Object)(BA.ObjectToString("Cancel")),(Object)(BA.ObjectToString("")),(Object)((c_cliente.__c.getField(false,"Null"))),__ref.getField(false, "ba")),BA.numberCast(double.class, c_cliente.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { 
 BA.debugLineNum = 1147;BA.debugLine="StartPrinter";
Debug.ShouldStop(67108864);
__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_startprinter" /*RemoteObject*/ );
 };
 };
 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  _printer1_connected(RemoteObject __ref,RemoteObject _success) throws Exception{
try {
		Debug.PushSubsStack("Printer1_Connected (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1115);
if (RapidSub.canDelegate("printer1_connected")) { return __ref.runUserSub(false, "c_cliente","printer1_connected", __ref, _success);}
Debug.locals.put("Success", _success);
 BA.debugLineNum = 1115;BA.debugLine="Sub Printer1_Connected (Success As Boolean)";
Debug.ShouldStop(67108864);
 BA.debugLineNum = 1117;BA.debugLine="If Success Then";
Debug.ShouldStop(268435456);
if (_success.<Boolean>get().booleanValue()) { 
 BA.debugLineNum = 1118;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)";
Debug.ShouldStop(536870912);
c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Impresora conectada")),(Object)(c_cliente.__c.getField(true,"False")));
 BA.debugLineNum = 1119;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI";
Debug.ShouldStop(1073741824);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("MACIMP"))})))));
 BA.debugLineNum = 1120;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI";
Debug.ShouldStop(-2147483648);
c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("MACIMP")),(c_cliente._starter._mac_impresora /*RemoteObject*/ )})))));
 BA.debugLineNum = 1123;BA.debugLine="impresoraConectada = True";
Debug.ShouldStop(4);
__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,c_cliente.__c.getField(true,"True"));
 }else {
 BA.debugLineNum = 1127;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors";
Debug.ShouldStop(64);
c_cliente.__c.runVoidMethod ("LogImpl","88716300",BA.ObjectToString("Error conectando la impresora"),c_cliente.__c.getField(false,"Colors").getField(true,"Red"));
 BA.debugLineNum = 1128;BA.debugLine="errorImpresora = errorImpresora + 1";
Debug.ShouldStop(128);
__ref.setField ("_errorimpresora" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_errorimpresora" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1));
 BA.debugLineNum = 1129;BA.debugLine="If errorImpresora > 1 Then";
Debug.ShouldStop(256);
if (RemoteObject.solveBoolean(">",__ref.getField(true,"_errorimpresora" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { 
 BA.debugLineNum = 1130;BA.debugLine="Starter.MAC_IMPRESORA = \"0\"";
Debug.ShouldStop(512);
c_cliente._starter._mac_impresora /*RemoteObject*/  = BA.ObjectToString("0");
 BA.debugLineNum = 1131;BA.debugLine="errorImpresora = 0";
Debug.ShouldStop(1024);
__ref.setField ("_errorimpresora" /*RemoteObject*/ ,BA.numberCast(int.class, 0));
 };
 };
 BA.debugLineNum = 1134;BA.debugLine="End Sub";
Debug.ShouldStop(8192);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _printer1_error(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("Printer1_Error (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1136);
if (RapidSub.canDelegate("printer1_error")) { return __ref.runUserSub(false, "c_cliente","printer1_error", __ref);}
 BA.debugLineNum = 1136;BA.debugLine="Sub Printer1_Error";
Debug.ShouldStop(32768);
 BA.debugLineNum = 1137;BA.debugLine="Log(\"error printer\")";
Debug.ShouldStop(65536);
c_cliente.__c.runVoidMethod ("LogImpl","88781825",RemoteObject.createImmutable("error printer"),0);
 BA.debugLineNum = 1138;BA.debugLine="End Sub";
Debug.ShouldStop(131072);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _startprinter(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("StartPrinter (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1152);
if (RapidSub.canDelegate("startprinter")) { return __ref.runUserSub(false, "c_cliente","startprinter", __ref);}
RemoteObject _l1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List");
RemoteObject _resimp = RemoteObject.createImmutable(0);
int _i = 0;
 BA.debugLineNum = 1152;BA.debugLine="Sub StartPrinter";
Debug.ShouldStop(-2147483648);
 BA.debugLineNum = 1153;BA.debugLine="Dim PairedDevices As Map";
Debug.ShouldStop(1);
c_cliente._paireddevices = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_paireddevices",c_cliente._paireddevices);
 BA.debugLineNum = 1154;BA.debugLine="Dim L1 As List";
Debug.ShouldStop(2);
_l1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("L1", _l1);
 BA.debugLineNum = 1155;BA.debugLine="Dim resimp As Int";
Debug.ShouldStop(4);
_resimp = RemoteObject.createImmutable(0);Debug.locals.put("resimp", _resimp);
 BA.debugLineNum = 1156;BA.debugLine="ToastMessageShow(\"Printing.....\",True)";
Debug.ShouldStop(8);
c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Printing.....")),(Object)(c_cliente.__c.getField(true,"True")));
 BA.debugLineNum = 1157;BA.debugLine="PairedDevices.Initialize";
Debug.ShouldStop(16);
__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runVoidMethod ("Initialize");
 BA.debugLineNum = 1158;BA.debugLine="Try";
Debug.ShouldStop(32);
try { BA.debugLineNum = 1159;BA.debugLine="PairedDevices = cmp20.GetPairedDevices";
Debug.ShouldStop(64);
__ref.setField ("_paireddevices" /*RemoteObject*/ ,__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runMethod(false,"GetPairedDevices"));
 Debug.CheckDeviceExceptions();
} 
       catch (Exception e9) {
			BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e9.toString()); BA.debugLineNum = 1161;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")";
Debug.ShouldStop(256);
c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Getting Paired Devices")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Printer Error"))),__ref.getField(false, "ba"));
 BA.debugLineNum = 1162;BA.debugLine="printer.Close";
Debug.ShouldStop(512);
__ref.getField(false,"_printer" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1163;BA.debugLine="cmp20.Disconnect";
Debug.ShouldStop(1024);
__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Disconnect");
 };
 BA.debugLineNum = 1166;BA.debugLine="If PairedDevices.Size = 0 Then";
Debug.ShouldStop(8192);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { 
 BA.debugLineNum = 1167;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No";
Debug.ShouldStop(16384);
c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Error Connecting to Printer - Printer Not Found")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba"));
 BA.debugLineNum = 1168;BA.debugLine="Return";
Debug.ShouldStop(32768);
if (true) return RemoteObject.createImmutable("");
 };
 BA.debugLineNum = 1171;BA.debugLine="If PairedDevices.Size = 1 Then";
Debug.ShouldStop(262144);
if (RemoteObject.solveBoolean("=",__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 1))) { 
 BA.debugLineNum = 1172;BA.debugLine="Try";
Debug.ShouldStop(524288);
try { BA.debugLineNum = 1173;BA.debugLine="cmp20.Connect(PairedDevices.Get(PairedDevices.G";
Debug.ShouldStop(1048576);
__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Connect",__ref.getField(false, "ba"),(Object)(BA.ObjectToString(__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(false,"GetKeyAt",(Object)(BA.numberCast(int.class, 0))))))));
 Debug.CheckDeviceExceptions();
} 
       catch (Exception e21) {
			BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e21.toString()); BA.debugLineNum = 1175;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore";
Debug.ShouldStop(4194304);
c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Connecting")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Printer Error"))),__ref.getField(false, "ba"));
 BA.debugLineNum = 1176;BA.debugLine="printer.Close";
Debug.ShouldStop(8388608);
__ref.getField(false,"_printer" /*RemoteObject*/ ).runVoidMethod ("Close");
 BA.debugLineNum = 1177;BA.debugLine="cmp20.Disconnect";
Debug.ShouldStop(16777216);
__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Disconnect");
 };
 }else {
 BA.debugLineNum = 1180;BA.debugLine="L1.Initialize";
Debug.ShouldStop(134217728);
_l1.runVoidMethod ("Initialize");
 BA.debugLineNum = 1181;BA.debugLine="For i = 0 To PairedDevices.Size - 1";
Debug.ShouldStop(268435456);
{
final int step27 = 1;
final int limit27 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).<Integer>get().intValue();
_i = 0 ;
for (;(step27 > 0 && _i <= limit27) || (step27 < 0 && _i >= limit27) ;_i = ((int)(0 + _i + step27))  ) {
Debug.locals.put("i", _i);
 BA.debugLineNum = 1182;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))";
Debug.ShouldStop(536870912);
_l1.runVoidMethod ("Add",(Object)(__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(false,"GetKeyAt",(Object)(BA.numberCast(int.class, _i)))));
 }
}Debug.locals.put("i", _i);
;
 BA.debugLineNum = 1184;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign";
Debug.ShouldStop(-2147483648);
_resimp = c_cliente.__c.runMethodAndSync(true,"InputList",(Object)(_l1),(Object)(BA.ObjectToCharSequence("Choose device")),(Object)(BA.numberCast(int.class, -(double) (0 + 1))),__ref.getField(false, "ba"));Debug.locals.put("resimp", _resimp);
 BA.debugLineNum = 1185;BA.debugLine="If resimp <> DialogResponse.CANCEL Then";
Debug.ShouldStop(1);
if (RemoteObject.solveBoolean("!",_resimp,BA.numberCast(double.class, c_cliente.__c.getField(false,"DialogResponse").getField(true,"CANCEL")))) { 
 BA.debugLineNum = 1186;BA.debugLine="cmp20.Connect(PairedDevices.Get(L1.Get(resimp))";
Debug.ShouldStop(2);
__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Connect",__ref.getField(false, "ba"),(Object)(BA.ObjectToString(__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_l1.runMethod(false,"Get",(Object)(_resimp)))))));
 };
 };
 BA.debugLineNum = 1189;BA.debugLine="End Sub";
Debug.ShouldStop(16);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _tar_click(RemoteObject __ref) throws Exception{
try {
		Debug.PushSubsStack("Tar_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,562);
if (RapidSub.canDelegate("tar_click")) { return __ref.runUserSub(false, "c_cliente","tar_click", __ref);}
 BA.debugLineNum = 562;BA.debugLine="Sub Tar_Click";
Debug.ShouldStop(131072);
 BA.debugLineNum = 564;BA.debugLine="B4XPages.ShowPage(\"Productos\")";
Debug.ShouldStop(524288);
c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos")));
 BA.debugLineNum = 565;BA.debugLine="End Sub";
Debug.ShouldStop(1048576);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
}