package reparto_mazapa.keymon.lat;


import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.B4AClass;
import anywheresoftware.b4a.BALayout;
import anywheresoftware.b4a.debug.*;

public class b4xmainpage extends B4AClass.ImplB4AClass implements BA.SubDelegator{
    private static java.util.HashMap<String, java.lang.reflect.Method> htSubs;
    private void innerInitialize(BA _ba) throws Exception {
        if (ba == null) {
            ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_mazapa.keymon.lat.b4xmainpage");
            if (htSubs == null) {
                ba.loadHtSubs(this.getClass());
                htSubs = ba.htSubs;
            }
            
        }
        if (BA.isShellModeRuntimeCheck(ba)) 
			   this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.b4xmainpage.class).invoke(this, new Object[] {null});
        else
            ba.raiseEvent2(null, true, "class_globals", false);
    }

 
    public void  innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{
        innerInitialize(_ba);
    }
    public Object callSub(String sub, Object sender, Object[] args) throws Exception {
        return BA.SubDelegator.SubNotFound;
    }
public anywheresoftware.b4a.keywords.Common __c = null;
public anywheresoftware.b4a.objects.RuntimePermissions _rp = null;
public anywheresoftware.b4a.objects.B4XViewWrapper _root = null;
public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
public reparto_mazapa.keymon.lat.b4xmainpage _login = null;
public reparto_mazapa.keymon.lat.c_principal _principal = null;
public reparto_mazapa.keymon.lat.c_clientes _clientes = null;
public reparto_mazapa.keymon.lat.c_cliente _cliente = null;
public reparto_mazapa.keymon.lat.c_productos _productos = null;
public reparto_mazapa.keymon.lat.c_updateavailable _updateavailable = null;
public reparto_mazapa.keymon.lat.c_mapas _mapas = null;
public reparto_mazapa.keymon.lat.c_nuevocliente _nuevocliente = null;
public reparto_mazapa.keymon.lat.c_ticketsdia _ticketsdia = null;
public reparto_mazapa.keymon.lat.c_noventa _noventa = null;
public reparto_mazapa.keymon.lat.c_pedidos _pedidos = null;
public reparto_mazapa.keymon.lat.c_buscar _buscar = null;
public reparto_mazapa.keymon.lat.c_detalleventa _detalleventa = null;
public reparto_mazapa.keymon.lat.c_detalle_promo _detalle_promo = null;
public reparto_mazapa.keymon.lat.dbrequestmanager _reqmanager = null;
public String _usuario = "";
public boolean _logger = false;
public String _lat_gps = "";
public String _lon_gps = "";
public String _server = "";
public String _montoactual = "";
public String _clientestotal = "";
public String _clientesventa = "";
public String _clientesrechazo = "";
public String _clientesvisitados = "";
public String _almacen = "";
public String _rutapreventa = "";
public String _cantidadprod = "";
public String _ultimaactualizaciongps = "";
public String _fecharuta = "";
public String _srvip = "";
public anywheresoftware.b4a.phone.Phone _phn = null;
public anywheresoftware.b4a.objects.EditTextWrapper _user = null;
public anywheresoftware.b4a.objects.EditTextWrapper _pass = null;
public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
public String _existe = "";
public String _paso1 = "";
public anywheresoftware.b4a.objects.LabelWrapper _imen = null;
public String _imei = "";
public anywheresoftware.b4a.objects.LabelWrapper _label1 = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null;
public anywheresoftware.b4a.objects.ButtonWrapper _entrar = null;
public reparto_mazapa.keymon.lat.c_cheklist _checklist = null;
public reparto_mazapa.keymon.lat.c_tabulador _tabulador = null;
public int _batt = 0;
public String _porvisitar = "";
public String _entregas = "";
public String _rechazos = "";
public String _montoentregado = "";
public String _montorechazado = "";
public anywheresoftware.b4a.objects.PanelWrapper _p_appupdate = null;
public anywheresoftware.b4a.objects.ImageViewWrapper _i_engrane = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_server = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_apk = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_enviobd = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_regesar = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_server = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_serverlist = null;
public anywheresoftware.b4a.objects.ListViewWrapper _lv_server = null;
public reparto_mazapa.keymon.lat.fileprovider _provider = null;
public String _rutabdbackup = "";
public anywheresoftware.b4a.objects.ButtonWrapper _b_can_monto = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_aceptar_monto = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_add_monto = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_add_monto = null;
public String _sdate = "";
public String _stime = "";
public anywheresoftware.b4a.objects.PanelWrapper _p_validacion = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_cancelarcodigo = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_aceptar = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_codigo = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_ciego = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_terpc = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_pc_env = null;
public b4a.example3.customlistview _clv_pick_ciego = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_buspc = null;
public String _q_buscar = "";
public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_pick_ciego = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_pick_ciego = null;
public anywheresoftware.b4a.sql.SQL.CursorWrapper _a = null;
public anywheresoftware.b4a.sql.SQL.CursorWrapper _f = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_cargarmonto = null;
public anywheresoftware.b4a.objects.ButtonWrapper _b_arqueocieego = null;
public anywheresoftware.b4a.objects.LabelWrapper _label2 = null;
public reparto_mazapa.keymon.lat.b4xswitch _b4xswitch2 = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_geopass = null;
public anywheresoftware.b4a.objects.ButtonWrapper _bacepgeo = null;
public anywheresoftware.b4a.objects.ButtonWrapper _bcangeo = null;
public anywheresoftware.b4a.objects.PanelWrapper _p_centrageopass = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_fondopass = null;
public anywheresoftware.b4a.objects.EditTextWrapper _et_passgeo = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_ingresapass = null;
public b4a.example.dateutils _dateutils = null;
public reparto_mazapa.keymon.lat.main _main = null;
public reparto_mazapa.keymon.lat.appupdater _appupdater = null;
public reparto_mazapa.keymon.lat.tracker _tracker = null;
public reparto_mazapa.keymon.lat.starter _starter = null;
public reparto_mazapa.keymon.lat.subs _subs = null;
public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null;
public reparto_mazapa.keymon.lat.foto _foto = null;
public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null;
public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null;
public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null;
public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null;
public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null;
public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null;
public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null;
public String  _muestraprogreso(reparto_mazapa.keymon.lat.b4xmainpage __ref,String _mensaje) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "muestraprogreso", false))
	 {return ((String) Debug.delegate(ba, "muestraprogreso", new Object[] {_mensaje}));}
RDebugUtils.currentLine=2097152;
 //BA.debugLineNum = 2097152;BA.debugLine="Sub muestraProgreso(mensaje As String)";
RDebugUtils.currentLine=2097153;
 //BA.debugLineNum = 2097153;BA.debugLine="ProgressDialogShow(mensaje)";
__c.ProgressDialogShow(ba,BA.ObjectToCharSequence(_mensaje));
RDebugUtils.currentLine=2097154;
 //BA.debugLineNum = 2097154;BA.debugLine="End Sub";
return "";
}
public String  _ocultaprogreso(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "ocultaprogreso", false))
	 {return ((String) Debug.delegate(ba, "ocultaprogreso", null));}
RDebugUtils.currentLine=2162688;
 //BA.debugLineNum = 2162688;BA.debugLine="Sub ocultaProgreso";
RDebugUtils.currentLine=2162689;
 //BA.debugLineNum = 2162689;BA.debugLine="ProgressDialogHide";
__c.ProgressDialogHide();
RDebugUtils.currentLine=2162690;
 //BA.debugLineNum = 2162690;BA.debugLine="End Sub";
return "";
}
public String  _b_aceptar_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "b_aceptar_click", false))
	 {return ((String) Debug.delegate(ba, "b_aceptar_click", null));}
reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null;
RDebugUtils.currentLine=2883584;
 //BA.debugLineNum = 2883584;BA.debugLine="Private Sub b_aceptar_Click";
RDebugUtils.currentLine=2883585;
 //BA.debugLineNum = 2883585;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec";
_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA")));
RDebugUtils.currentLine=2883586;
 //BA.debugLineNum = 2883586;BA.debugLine="f.Position=0";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=2883587;
 //BA.debugLineNum = 2883587;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\"sele";
_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
RDebugUtils.currentLine=2883588;
 //BA.debugLineNum = 2883588;BA.debugLine="a.Position = 0";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=2883589;
 //BA.debugLineNum = 2883589;BA.debugLine="Dim cmd As DBCommand";
_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=2883590;
 //BA.debugLineNum = 2883590;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=2883591;
 //BA.debugLineNum = 2883591;BA.debugLine="cmd.Name = \"select_estatus_MAZAPA\"";
_cmd.Name /*String*/  = "select_estatus_MAZAPA";
RDebugUtils.currentLine=2883592;
 //BA.debugLineNum = 2883592;BA.debugLine="cmd.Parameters = Array As Object(a.GetString(\"ID_";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN")),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"))};
RDebugUtils.currentLine=2883593;
 //BA.debugLineNum = 2883593;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"estatus2\")";
__ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)("estatus2"));
RDebugUtils.currentLine=2883594;
 //BA.debugLineNum = 2883594;BA.debugLine="f.Close";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=2883595;
 //BA.debugLineNum = 2883595;BA.debugLine="a.Close";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=2883600;
 //BA.debugLineNum = 2883600;BA.debugLine="End Sub";
return "";
}
public String  _b_aceptar_monto_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "b_aceptar_monto_click", false))
	 {return ((String) Debug.delegate(ba, "b_aceptar_monto_click", null));}
reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null;
RDebugUtils.currentLine=2359296;
 //BA.debugLineNum = 2359296;BA.debugLine="Private Sub B_Aceptar_Monto_Click";
RDebugUtils.currentLine=2359297;
 //BA.debugLineNum = 2359297;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec";
_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA")));
RDebugUtils.currentLine=2359298;
 //BA.debugLineNum = 2359298;BA.debugLine="f.Position=0";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=2359299;
 //BA.debugLineNum = 2359299;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\"sele";
_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
RDebugUtils.currentLine=2359300;
 //BA.debugLineNum = 2359300;BA.debugLine="a.Position = 0";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=2359301;
 //BA.debugLineNum = 2359301;BA.debugLine="Dim cmd As DBCommand";
_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=2359302;
 //BA.debugLineNum = 2359302;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=2359303;
 //BA.debugLineNum = 2359303;BA.debugLine="cmd.Name = \"select_estatus_MAZAPA\"";
_cmd.Name /*String*/  = "select_estatus_MAZAPA";
RDebugUtils.currentLine=2359304;
 //BA.debugLineNum = 2359304;BA.debugLine="cmd.Parameters = Array As Object(a.GetString(\"ID_";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN")),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"))};
RDebugUtils.currentLine=2359305;
 //BA.debugLineNum = 2359305;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"estatus\")";
__ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)("estatus"));
RDebugUtils.currentLine=2359306;
 //BA.debugLineNum = 2359306;BA.debugLine="f.Close";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=2359307;
 //BA.debugLineNum = 2359307;BA.debugLine="a.Close";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=2359308;
 //BA.debugLineNum = 2359308;BA.debugLine="End Sub";
return "";
}
public String  _b_apk_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "b_apk_click", false))
	 {return ((String) Debug.delegate(ba, "b_apk_click", null));}
RDebugUtils.currentLine=1835008;
 //BA.debugLineNum = 1835008;BA.debugLine="Private Sub b_apk_Click";
RDebugUtils.currentLine=1835009;
 //BA.debugLineNum = 1835009;BA.debugLine="StartService(appUpdater)";
__c.StartService(ba,(Object)(_appupdater.getObject()));
RDebugUtils.currentLine=1835010;
 //BA.debugLineNum = 1835010;BA.debugLine="End Sub";
return "";
}
public String  _b_arqueocieego_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "b_arqueocieego_click", false))
	 {return ((String) Debug.delegate(ba, "b_arqueocieego_click", null));}
RDebugUtils.currentLine=2555904;
 //BA.debugLineNum = 2555904;BA.debugLine="Private Sub b_arqueocieego_Click";
RDebugUtils.currentLine=2555905;
 //BA.debugLineNum = 2555905;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT *  FROM CAT_GU";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT *  FROM CAT_GUNAPROD3")));
RDebugUtils.currentLine=2555906;
 //BA.debugLineNum = 2555906;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=2555907;
 //BA.debugLineNum = 2555907;BA.debugLine="Subs.panelVisible(p_validacion,0,0)";
_subs._panelvisible /*String*/ (ba,__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0));
 }else {
RDebugUtils.currentLine=2555909;
 //BA.debugLineNum = 2555909;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga";
__c.MsgboxAsync(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día"),BA.ObjectToCharSequence("Atención"),ba);
 };
RDebugUtils.currentLine=2555911;
 //BA.debugLineNum = 2555911;BA.debugLine="End Sub";
return "";
}
public String  _b_can_monto_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "b_can_monto_click", false))
	 {return ((String) Debug.delegate(ba, "b_can_monto_click", null));}
RDebugUtils.currentLine=2490368;
 //BA.debugLineNum = 2490368;BA.debugLine="Private Sub B_Can_Monto_Click";
RDebugUtils.currentLine=2490369;
 //BA.debugLineNum = 2490369;BA.debugLine="p_add_monto.Visible = False";
__ref._p_add_monto /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=2490370;
 //BA.debugLineNum = 2490370;BA.debugLine="End Sub";
return "";
}
public String  _b_cancelarcodigo_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "b_cancelarcodigo_click", false))
	 {return ((String) Debug.delegate(ba, "b_cancelarcodigo_click", null));}
RDebugUtils.currentLine=3014656;
 //BA.debugLineNum = 3014656;BA.debugLine="Private Sub b_cancelarcodigo_Click";
RDebugUtils.currentLine=3014657;
 //BA.debugLineNum = 3014657;BA.debugLine="p_validacion.Visible = False";
__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=3014658;
 //BA.debugLineNum = 3014658;BA.debugLine="End Sub";
return "";
}
public String  _b_cargarmonto_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "b_cargarmonto_click", false))
	 {return ((String) Debug.delegate(ba, "b_cargarmonto_click", null));}
RDebugUtils.currentLine=2228224;
 //BA.debugLineNum = 2228224;BA.debugLine="Private Sub b_CargarMonto_Click";
RDebugUtils.currentLine=2228226;
 //BA.debugLineNum = 2228226;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT *  FROM kmt_in";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT *  FROM kmt_info")));
RDebugUtils.currentLine=2228227;
 //BA.debugLineNum = 2228227;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=2228228;
 //BA.debugLineNum = 2228228;BA.debugLine="If c.RowCount < 0 Or c.RowCount = 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()<0 || __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { 
RDebugUtils.currentLine=2228229;
 //BA.debugLineNum = 2228229;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga";
__c.MsgboxAsync(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día"),BA.ObjectToCharSequence("Atención"),ba);
 }else {
RDebugUtils.currentLine=2228231;
 //BA.debugLineNum = 2228231;BA.debugLine="Subs.panelVisible(p_add_monto,0,0)";
_subs._panelvisible /*String*/ (ba,__ref._p_add_monto /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0));
 };
RDebugUtils.currentLine=2228233;
 //BA.debugLineNum = 2228233;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=2228235;
 //BA.debugLineNum = 2228235;BA.debugLine="End Sub";
return "";
}
public void  _b_enviobd_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "b_enviobd_click", false))
	 {Debug.delegate(ba, "b_enviobd_click", null); return;}
ResumableSub_b_envioBD_Click rsub = new ResumableSub_b_envioBD_Click(this,__ref);
rsub.resume(ba, null);
}
public static class ResumableSub_b_envioBD_Click extends BA.ResumableSub {
public ResumableSub_b_envioBD_Click(reparto_mazapa.keymon.lat.b4xmainpage parent,reparto_mazapa.keymon.lat.b4xmainpage __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
reparto_mazapa.keymon.lat.b4xmainpage __ref;
reparto_mazapa.keymon.lat.b4xmainpage parent;
String _filename = "";
anywheresoftware.b4a.phone.Phone.Email _email = null;
anywheresoftware.b4a.objects.IntentWrapper _in = null;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="b4xmainpage";

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

case 0:
//C
this.state = -1;
RDebugUtils.currentLine=1769475;
 //BA.debugLineNum = 1769475;BA.debugLine="Dim FileName As String = \"kmt.db\"";
_filename = "kmt.db";
RDebugUtils.currentLine=1769477;
 //BA.debugLineNum = 1769477;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)";
parent.__c.LogImpl("31769477","xxxxxx:"+__ref._provider /*reparto_mazapa.keymon.lat.fileprovider*/ ._sharedfolder /*String*/ ,0);
RDebugUtils.currentLine=1769478;
 //BA.debugLineNum = 1769478;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b_enviobd_click"),(int) (1000));
this.state = 1;
return;
case 1:
//C
this.state = -1;
;
RDebugUtils.currentLine=1769479;
 //BA.debugLineNum = 1769479;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh";
parent.__c.File.Copy(parent.__c.File.getDirInternal(),_filename,__ref._provider /*reparto_mazapa.keymon.lat.fileprovider*/ ._sharedfolder /*String*/ ,_filename);
RDebugUtils.currentLine=1769480;
 //BA.debugLineNum = 1769480;BA.debugLine="Dim email As Email";
_email = new anywheresoftware.b4a.phone.Phone.Email();
RDebugUtils.currentLine=1769481;
 //BA.debugLineNum = 1769481;BA.debugLine="email.To.Add(\"soporte@keymonsoft.com\")";
_email.To.Add((Object)("soporte@keymonsoft.com"));
RDebugUtils.currentLine=1769482;
 //BA.debugLineNum = 1769482;BA.debugLine="email.Subject = \"Base de datos para revisión\"";
_email.Subject = "Base de datos para revisión";
RDebugUtils.currentLine=1769483;
 //BA.debugLineNum = 1769483;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam";
_email.Attachments.Add(__ref._provider /*reparto_mazapa.keymon.lat.fileprovider*/ ._getfileuri /*Object*/ (null,_filename));
RDebugUtils.currentLine=1769485;
 //BA.debugLineNum = 1769485;BA.debugLine="Dim in As Intent = email.GetIntent";
_in = new anywheresoftware.b4a.objects.IntentWrapper();
_in = (anywheresoftware.b4a.objects.IntentWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.IntentWrapper(), (android.content.Intent)(_email.GetIntent()));
RDebugUtils.currentLine=1769486;
 //BA.debugLineNum = 1769486;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION";
_in.setFlags((int) (1));
RDebugUtils.currentLine=1769487;
 //BA.debugLineNum = 1769487;BA.debugLine="StartActivity(in)";
parent.__c.StartActivity(ba,(Object)(_in.getObject()));
RDebugUtils.currentLine=1769488;
 //BA.debugLineNum = 1769488;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _b_pc_env_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "b_pc_env_click", false))
	 {return ((String) Debug.delegate(ba, "b_pc_env_click", null));}
int _i = 0;
anywheresoftware.b4a.objects.B4XViewWrapper _itempanel = null;
anywheresoftware.b4a.objects.B4XViewWrapper _innerpanel = null;
anywheresoftware.b4a.objects.B4XViewWrapper _edittext = null;
String _inputtext = "";
anywheresoftware.b4a.objects.B4XViewWrapper _idlabel = null;
String _idtext = "";
String[] _idparts = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _k = null;
String[] _fechatabulador = null;
String[] _fechatabulador2 = null;
String _fechatabulador3 = "";
RDebugUtils.currentLine=2686976;
 //BA.debugLineNum = 2686976;BA.debugLine="Private Sub B_PC_ENV_Click";
RDebugUtils.currentLine=2686977;
 //BA.debugLineNum = 2686977;BA.debugLine="Dim sDate, sTime As String";
_sdate = "";
_stime = "";
RDebugUtils.currentLine=2686978;
 //BA.debugLineNum = 2686978;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
__c.DateTime.setDateFormat("dd/MM/yyyy");
RDebugUtils.currentLine=2686979;
 //BA.debugLineNum = 2686979;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
__c.DateTime.setTimeFormat("HH:mm:ss");
RDebugUtils.currentLine=2686980;
 //BA.debugLineNum = 2686980;BA.debugLine="sDate = DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = __c.DateTime.Date(__c.DateTime.getNow());
RDebugUtils.currentLine=2686981;
 //BA.debugLineNum = 2686981;BA.debugLine="sTime = DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = __c.DateTime.Time(__c.DateTime.getNow());
RDebugUtils.currentLine=2686984;
 //BA.debugLineNum = 2686984;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1";
{
final int step6 = 1;
final int limit6 = (int) (__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._getsize()-1);
_i = (int) (0) ;
for (;_i <= limit6 ;_i = _i + step6 ) {
RDebugUtils.currentLine=2686986;
 //BA.debugLineNum = 2686986;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan";
_itempanel = new anywheresoftware.b4a.objects.B4XViewWrapper();
_itempanel = __ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._getpanel(_i);
RDebugUtils.currentLine=2686987;
 //BA.debugLineNum = 2686987;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)";
_innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper();
_innerpanel = _itempanel.GetView((int) (0));
RDebugUtils.currentLine=2686988;
 //BA.debugLineNum = 2686988;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)";
_edittext = new anywheresoftware.b4a.objects.B4XViewWrapper();
_edittext = _innerpanel.GetView((int) (1));
RDebugUtils.currentLine=2686989;
 //BA.debugLineNum = 2686989;BA.debugLine="Dim inputText As String = editText.As(EditText).";
_inputtext = ((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_edittext.getObject()))).getText();
RDebugUtils.currentLine=2686992;
 //BA.debugLineNum = 2686992;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe";
if (__c.Regex.IsMatch("^[0]+$",_inputtext) || (_inputtext).equals("")) { 
RDebugUtils.currentLine=2686993;
 //BA.debugLineNum = 2686993;BA.debugLine="inputText = \"0\"";
_inputtext = "0";
 };
RDebugUtils.currentLine=2686997;
 //BA.debugLineNum = 2686997;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)";
_idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper();
_idlabel = _innerpanel.GetView((int) (0));
RDebugUtils.currentLine=2686998;
 //BA.debugLineNum = 2686998;BA.debugLine="Dim idText As String = idLabel.As(Label).Text";
_idtext = ((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_idlabel.getObject()))).getText();
RDebugUtils.currentLine=2686999;
 //BA.debugLineNum = 2686999;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe";
_idparts = __c.Regex.Split(__c.CRLF,_idtext);
RDebugUtils.currentLine=2687001;
 //BA.debugLineNum = 2687001;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RUTA";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA")));
RDebugUtils.currentLine=2687002;
 //BA.debugLineNum = 2687002;BA.debugLine="f.Position=0";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=2687003;
 //BA.debugLineNum = 2687003;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
__c.LogImpl("32687003",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),0);
RDebugUtils.currentLine=2687004;
 //BA.debugLineNum = 2687004;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
RDebugUtils.currentLine=2687005;
 //BA.debugLineNum = 2687005;BA.debugLine="If a.RowCount>0 Then";
if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=2687006;
 //BA.debugLineNum = 2687006;BA.debugLine="a.Position=0";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
 };
RDebugUtils.currentLine=2687008;
 //BA.debugLineNum = 2687008;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT";
_k = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_k = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS")));
RDebugUtils.currentLine=2687009;
 //BA.debugLineNum = 2687009;BA.debugLine="k.Position = 0";
_k.setPosition((int) (0));
RDebugUtils.currentLine=2687010;
 //BA.debugLineNum = 2687010;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \"";
_fechatabulador = __c.Regex.Split(" ",_k.GetString("HVD_FECHA"));
RDebugUtils.currentLine=2687011;
 //BA.debugLineNum = 2687011;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\"-";
_fechatabulador2 = __c.Regex.Split("-",_fechatabulador[(int) (0)]);
RDebugUtils.currentLine=2687012;
 //BA.debugLineNum = 2687012;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2(";
_fechatabulador3 = _fechatabulador2[(int) (2)]+"/"+_fechatabulador2[(int) (1)]+"/"+_fechatabulador2[(int) (0)];
RDebugUtils.currentLine=2687013;
 //BA.debugLineNum = 2687013;BA.debugLine="k.Close";
_k.Close();
RDebugUtils.currentLine=2687014;
 //BA.debugLineNum = 2687014;BA.debugLine="If inputText <> \"\" Then";
if ((_inputtext).equals("") == false) { 
RDebugUtils.currentLine=2687015;
 //BA.debugLineNum = 2687015;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]})));
RDebugUtils.currentLine=2687016;
 //BA.debugLineNum = 2687016;BA.debugLine="If c.RowCount = 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { 
RDebugUtils.currentLine=2687018;
 //BA.debugLineNum = 2687018;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
__c.LogImpl("32687018",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),0);
RDebugUtils.currentLine=2687019;
 //BA.debugLineNum = 2687019;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],_inputtext,__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),_fechatabulador3+" "+__ref._stime /*String*/ }));
 }else {
RDebugUtils.currentLine=2687022;
 //BA.debugLineNum = 2687022;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
__c.LogImpl("32687022",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),0);
RDebugUtils.currentLine=2687023;
 //BA.debugLineNum = 2687023;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?  WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,_idparts[(int) (0)]}));
 };
 };
RDebugUtils.currentLine=2687027;
 //BA.debugLineNum = 2687027;BA.debugLine="f.Close";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=2687028;
 //BA.debugLineNum = 2687028;BA.debugLine="a.Close";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=2687029;
 //BA.debugLineNum = 2687029;BA.debugLine="Log(\"Processed item \" & i)";
__c.LogImpl("32687029","Processed item "+BA.NumberToString(_i),0);
 }
};
RDebugUtils.currentLine=2687031;
 //BA.debugLineNum = 2687031;BA.debugLine="et_buspc.Text = \"\"";
__ref._et_buspc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=2687032;
 //BA.debugLineNum = 2687032;BA.debugLine="CLV_PICK_CIEGO.Clear";
__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear();
RDebugUtils.currentLine=2687033;
 //BA.debugLineNum = 2687033;BA.debugLine="End Sub";
return "";
}
public String  _b_regesar_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "b_regesar_click", false))
	 {return ((String) Debug.delegate(ba, "b_regesar_click", null));}
RDebugUtils.currentLine=1703936;
 //BA.debugLineNum = 1703936;BA.debugLine="Private Sub b_regesar_Click";
RDebugUtils.currentLine=1703937;
 //BA.debugLineNum = 1703937;BA.debugLine="p_principal.Visible = True";
__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=1703938;
 //BA.debugLineNum = 1703938;BA.debugLine="p_appUpdate.Visible = False";
__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=1703939;
 //BA.debugLineNum = 1703939;BA.debugLine="End Sub";
return "";
}
public String  _b_server_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "b_server_click", false))
	 {return ((String) Debug.delegate(ba, "b_server_click", null));}
RDebugUtils.currentLine=1900544;
 //BA.debugLineNum = 1900544;BA.debugLine="Private Sub b_server_Click";
RDebugUtils.currentLine=1900545;
 //BA.debugLineNum = 1900545;BA.debugLine="Log(\"Guardar servidor\")";
__c.LogImpl("31900545","Guardar servidor",0);
RDebugUtils.currentLine=1900546;
 //BA.debugLineNum = 1900546;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARIA";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("SERVER")}));
RDebugUtils.currentLine=1900547;
 //BA.debugLineNum = 1900547;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIA";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("SERVER"),(Object)(__ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}));
RDebugUtils.currentLine=1900548;
 //BA.debugLineNum = 1900548;BA.debugLine="B4XPages.MainPage.server = et_server.text";
_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/  = __ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText();
RDebugUtils.currentLine=1900549;
 //BA.debugLineNum = 1900549;BA.debugLine="Starter.server = B4XPages.MainPage.server";
_starter._server /*String*/  = _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ;
RDebugUtils.currentLine=1900550;
 //BA.debugLineNum = 1900550;BA.debugLine="If logger Then Log(\"Inicializamos reqManager con";
if (__ref._logger /*boolean*/ ) { 
__c.LogImpl("31900550","Inicializamos reqManager con "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);};
RDebugUtils.currentLine=1900551;
 //BA.debugLineNum = 1900551;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve";
__ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
RDebugUtils.currentLine=1900552;
 //BA.debugLineNum = 1900552;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
__c.LogImpl("31900552",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
RDebugUtils.currentLine=1900553;
 //BA.debugLineNum = 1900553;BA.debugLine="reinicializaReqManager";
__ref._reinicializareqmanager /*String*/ (null);
RDebugUtils.currentLine=1900554;
 //BA.debugLineNum = 1900554;BA.debugLine="p_appUpdate.Visible = False";
__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=1900556;
 //BA.debugLineNum = 1900556;BA.debugLine="End Sub";
return "";
}
public String  _reinicializareqmanager(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "reinicializareqmanager", false))
	 {return ((String) Debug.delegate(ba, "reinicializareqmanager", null));}
RDebugUtils.currentLine=2031616;
 //BA.debugLineNum = 2031616;BA.debugLine="Sub reinicializaReqManager";
RDebugUtils.currentLine=2031617;
 //BA.debugLineNum = 2031617;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve";
__ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
RDebugUtils.currentLine=2031618;
 //BA.debugLineNum = 2031618;BA.debugLine="If logger Then Log(B4XPages.MainPage.server)";
if (__ref._logger /*boolean*/ ) { 
__c.LogImpl("32031618",_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);};
RDebugUtils.currentLine=2031619;
 //BA.debugLineNum = 2031619;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
__c.LogImpl("32031619",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
RDebugUtils.currentLine=2031620;
 //BA.debugLineNum = 2031620;BA.debugLine="End Sub";
return "";
}
public void  _b_terpc_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "b_terpc_click", false))
	 {Debug.delegate(ba, "b_terpc_click", null); return;}
ResumableSub_b_terpc_Click rsub = new ResumableSub_b_terpc_Click(this,__ref);
rsub.resume(ba, null);
}
public static class ResumableSub_b_terpc_Click extends BA.ResumableSub {
public ResumableSub_b_terpc_Click(reparto_mazapa.keymon.lat.b4xmainpage parent,reparto_mazapa.keymon.lat.b4xmainpage __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
reparto_mazapa.keymon.lat.b4xmainpage __ref;
reparto_mazapa.keymon.lat.b4xmainpage parent;
int _resultado = 0;
int _i = 0;
anywheresoftware.b4a.objects.B4XViewWrapper _itempanel = null;
anywheresoftware.b4a.objects.B4XViewWrapper _innerpanel = null;
anywheresoftware.b4a.objects.B4XViewWrapper _edittext = null;
String _inputtext = "";
anywheresoftware.b4a.objects.B4XViewWrapper _idlabel = null;
String _idtext = "";
String[] _idparts = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _k = null;
String[] _fechatabulador = null;
String[] _fechatabulador2 = null;
String _fechatabulador3 = "";
reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null;
int step12;
int limit12;
int step55;
int limit55;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="b4xmainpage";

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

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=2752513;
 //BA.debugLineNum = 2752513;BA.debugLine="Msgbox2Async(\"Una vez enviada la información no p";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Una vez enviada la información no podras hacer modificaciones"),BA.ObjectToCharSequence("Atención"),"SI","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
RDebugUtils.currentLine=2752514;
 //BA.debugLineNum = 2752514;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b_terpc_click"), null);
this.state = 41;
return;
case 41:
//C
this.state = 1;
_resultado = (Integer) result[1];
;
RDebugUtils.currentLine=2752515;
 //BA.debugLineNum = 2752515;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;

case 1:
//if
this.state = 40;
if (_resultado==parent.__c.DialogResponse.POSITIVE) { 
this.state = 3;
}if (true) break;

case 3:
//C
this.state = 4;
RDebugUtils.currentLine=2752516;
 //BA.debugLineNum = 2752516;BA.debugLine="Msgbox2Async(\"Estas seguro de enviar la informac";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Estas seguro de enviar la información?"),BA.ObjectToCharSequence("Atención"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
RDebugUtils.currentLine=2752517;
 //BA.debugLineNum = 2752517;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b_terpc_click"), null);
this.state = 42;
return;
case 42:
//C
this.state = 4;
_resultado = (Integer) result[1];
;
RDebugUtils.currentLine=2752518;
 //BA.debugLineNum = 2752518;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;

case 4:
//if
this.state = 39;
if (_resultado==parent.__c.DialogResponse.POSITIVE) { 
this.state = 6;
}else {
this.state = 38;
}if (true) break;

case 6:
//C
this.state = 7;
RDebugUtils.currentLine=2752520;
 //BA.debugLineNum = 2752520;BA.debugLine="Dim sDate, sTime As String";
parent._sdate = "";
parent._stime = "";
RDebugUtils.currentLine=2752521;
 //BA.debugLineNum = 2752521;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
RDebugUtils.currentLine=2752522;
 //BA.debugLineNum = 2752522;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
parent.__c.DateTime.setTimeFormat("HH:mm:ss");
RDebugUtils.currentLine=2752523;
 //BA.debugLineNum = 2752523;BA.debugLine="sDate = DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = parent.__c.DateTime.Date(parent.__c.DateTime.getNow());
RDebugUtils.currentLine=2752524;
 //BA.debugLineNum = 2752524;BA.debugLine="sTime = DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = parent.__c.DateTime.Time(parent.__c.DateTime.getNow());
RDebugUtils.currentLine=2752526;
 //BA.debugLineNum = 2752526;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1";
if (true) break;

case 7:
//for
this.state = 28;
step12 = 1;
limit12 = (int) (__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._getsize()-1);
_i = (int) (0) ;
this.state = 43;
if (true) break;

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

case 44:
//C
this.state = 43;
_i = ((int)(0 + _i + step12)) ;
if (true) break;

case 9:
//C
this.state = 10;
RDebugUtils.currentLine=2752528;
 //BA.debugLineNum = 2752528;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetP";
_itempanel = new anywheresoftware.b4a.objects.B4XViewWrapper();
_itempanel = __ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._getpanel(_i);
RDebugUtils.currentLine=2752529;
 //BA.debugLineNum = 2752529;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(";
_innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper();
_innerpanel = _itempanel.GetView((int) (0));
RDebugUtils.currentLine=2752530;
 //BA.debugLineNum = 2752530;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1";
_edittext = new anywheresoftware.b4a.objects.B4XViewWrapper();
_edittext = _innerpanel.GetView((int) (1));
RDebugUtils.currentLine=2752531;
 //BA.debugLineNum = 2752531;BA.debugLine="Dim inputText As String = editText.As(EditText";
_inputtext = ((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_edittext.getObject()))).getText();
RDebugUtils.currentLine=2752534;
 //BA.debugLineNum = 2752534;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or input";
if (true) break;

case 10:
//if
this.state = 13;
if (parent.__c.Regex.IsMatch("^[0]+$",_inputtext) || (_inputtext).equals("")) { 
this.state = 12;
}if (true) break;

case 12:
//C
this.state = 13;
RDebugUtils.currentLine=2752535;
 //BA.debugLineNum = 2752535;BA.debugLine="inputText = \"0\"";
_inputtext = "0";
 if (true) break;

case 13:
//C
this.state = 14;
;
RDebugUtils.currentLine=2752539;
 //BA.debugLineNum = 2752539;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)";
_idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper();
_idlabel = _innerpanel.GetView((int) (0));
RDebugUtils.currentLine=2752540;
 //BA.debugLineNum = 2752540;BA.debugLine="Dim idText As String = idLabel.As(Label).Text";
_idtext = ((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_idlabel.getObject()))).getText();
RDebugUtils.currentLine=2752541;
 //BA.debugLineNum = 2752541;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, id";
_idparts = parent.__c.Regex.Split(parent.__c.CRLF,_idtext);
RDebugUtils.currentLine=2752543;
 //BA.debugLineNum = 2752543;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RU";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA")));
RDebugUtils.currentLine=2752544;
 //BA.debugLineNum = 2752544;BA.debugLine="f.Position=0";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=2752545;
 //BA.debugLineNum = 2752545;BA.debugLine="Log(f.GetString(\"RUTAA\"))";
parent.__c.LogImpl("32752545",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),0);
RDebugUtils.currentLine=2752547;
 //BA.debugLineNum = 2752547;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN fr";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
RDebugUtils.currentLine=2752548;
 //BA.debugLineNum = 2752548;BA.debugLine="If a.RowCount>0 Then";
if (true) break;

case 14:
//if
this.state = 17;
if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 16;
}if (true) break;

case 16:
//C
this.state = 17;
RDebugUtils.currentLine=2752549;
 //BA.debugLineNum = 2752549;BA.debugLine="a.Position=0";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
 if (true) break;

case 17:
//C
this.state = 18;
;
RDebugUtils.currentLine=2752551;
 //BA.debugLineNum = 2752551;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))";
parent.__c.LogImpl("32752551",__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),0);
RDebugUtils.currentLine=2752553;
 //BA.debugLineNum = 2752553;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELE";
_k = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_k = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS")));
RDebugUtils.currentLine=2752554;
 //BA.debugLineNum = 2752554;BA.debugLine="k.Position = 0";
_k.setPosition((int) (0));
RDebugUtils.currentLine=2752555;
 //BA.debugLineNum = 2752555;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\"";
_fechatabulador = parent.__c.Regex.Split(" ",_k.GetString("HVD_FECHA"));
RDebugUtils.currentLine=2752556;
 //BA.debugLineNum = 2752556;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(";
_fechatabulador2 = parent.__c.Regex.Split("-",_fechatabulador[(int) (0)]);
RDebugUtils.currentLine=2752557;
 //BA.debugLineNum = 2752557;BA.debugLine="Dim fechatabulador3 As String = fechatabulador";
_fechatabulador3 = _fechatabulador2[(int) (2)]+"/"+_fechatabulador2[(int) (1)]+"/"+_fechatabulador2[(int) (0)];
RDebugUtils.currentLine=2752558;
 //BA.debugLineNum = 2752558;BA.debugLine="k.Close";
_k.Close();
RDebugUtils.currentLine=2752559;
 //BA.debugLineNum = 2752559;BA.debugLine="If inputText <> \"\" Then";
if (true) break;

case 18:
//if
this.state = 27;
if ((_inputtext).equals("") == false) { 
this.state = 20;
}if (true) break;

case 20:
//C
this.state = 21;
RDebugUtils.currentLine=2752560;
 //BA.debugLineNum = 2752560;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PI";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]})));
RDebugUtils.currentLine=2752561;
 //BA.debugLineNum = 2752561;BA.debugLine="If c.RowCount = 0 Then";
if (true) break;

case 21:
//if
this.state = 26;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { 
this.state = 23;
}else {
this.state = 25;
}if (true) break;

case 23:
//C
this.state = 26;
RDebugUtils.currentLine=2752563;
 //BA.debugLineNum = 2752563;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK";
parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],_inputtext,__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),_fechatabulador3+" "+__ref._stime /*String*/ }));
 if (true) break;

case 25:
//C
this.state = 26;
RDebugUtils.currentLine=2752565;
 //BA.debugLineNum = 2752565;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG";
parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?  WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,_idparts[(int) (0)]}));
 if (true) break;

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

case 27:
//C
this.state = 44;
;
RDebugUtils.currentLine=2752568;
 //BA.debugLineNum = 2752568;BA.debugLine="f.Close";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=2752569;
 //BA.debugLineNum = 2752569;BA.debugLine="a.Close";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=2752570;
 //BA.debugLineNum = 2752570;BA.debugLine="Log(\"Processed item \" & i)";
parent.__c.LogImpl("32752570","Processed item "+BA.NumberToString(_i),0);
 if (true) break;
if (true) break;

case 28:
//C
this.state = 29;
;
RDebugUtils.currentLine=2752572;
 //BA.debugLineNum = 2752572;BA.debugLine="Log(\"Finished processing all items\")";
parent.__c.LogImpl("32752572","Finished processing all items",0);
RDebugUtils.currentLine=2752573;
 //BA.debugLineNum = 2752573;BA.debugLine="P_CIEGO.Visible = False";
__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False);
RDebugUtils.currentLine=2752574;
 //BA.debugLineNum = 2752574;BA.debugLine="et_buspc.Text = \"\"";
__ref._et_buspc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=2752575;
 //BA.debugLineNum = 2752575;BA.debugLine="CLV_PICK_CIEGO.Clear";
__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear();
RDebugUtils.currentLine=2752576;
 //BA.debugLineNum = 2752576;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PC_ID_PROD,";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_ID_PROD, PC_ALMACEN, PC_RUTA, PC_FECHA FROM PICK_CIEGO")));
RDebugUtils.currentLine=2752577;
 //BA.debugLineNum = 2752577;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;

case 29:
//if
this.state = 36;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 31;
}if (true) break;

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

case 32:
//for
this.state = 35;
step55 = 1;
limit55 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
this.state = 45;
if (true) break;

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

case 46:
//C
this.state = 45;
_i = ((int)(0 + _i + step55)) ;
if (true) break;

case 34:
//C
this.state = 46;
RDebugUtils.currentLine=2752579;
 //BA.debugLineNum = 2752579;BA.debugLine="c.Position = i";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=2752580;
 //BA.debugLineNum = 2752580;BA.debugLine="Dim cmd As DBCommand";
_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=2752581;
 //BA.debugLineNum = 2752581;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=2752582;
 //BA.debugLineNum = 2752582;BA.debugLine="cmd.Name = \"select_HIST_PICKCIEGO_MAZAPA\" '";
_cmd.Name /*String*/  = "select_HIST_PICKCIEGO_MAZAPA";
RDebugUtils.currentLine=2752583;
 //BA.debugLineNum = 2752583;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_ID_PROD")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_ALMACEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FECHA")),(Object)("REPARTO")};
RDebugUtils.currentLine=2752584;
 //BA.debugLineNum = 2752584;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, $\"PICK_C_${c";
__ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)(("PICK_C_"+parent.__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_ID_PROD")))+"")));
 if (true) break;
if (true) break;

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

case 36:
//C
this.state = 39;
;
RDebugUtils.currentLine=2752587;
 //BA.debugLineNum = 2752587;BA.debugLine="c.close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 if (true) break;

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

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

case 40:
//C
this.state = -1;
;
RDebugUtils.currentLine=2752592;
 //BA.debugLineNum = 2752592;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public void  _b4xpage_appear(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "b4xpage_appear", false))
	 {Debug.delegate(ba, "b4xpage_appear", null); return;}
ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this,__ref);
rsub.resume(ba, null);
}
public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub {
public ResumableSub_B4XPage_Appear(reparto_mazapa.keymon.lat.b4xmainpage parent,reparto_mazapa.keymon.lat.b4xmainpage __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
reparto_mazapa.keymon.lat.b4xmainpage __ref;
reparto_mazapa.keymon.lat.b4xmainpage parent;
String _permission = "";
boolean _result = false;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="b4xmainpage";

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

case 0:
//C
this.state = 1;
RDebugUtils.currentLine=1376257;
 //BA.debugLineNum = 1376257;BA.debugLine="If Starter.muestraProgreso = 1 Then";
if (true) break;

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

case 3:
//C
this.state = 4;
RDebugUtils.currentLine=1376258;
 //BA.debugLineNum = 1376258;BA.debugLine="muestraProgreso(\"Descargando actualización\")";
__ref._muestraprogreso /*String*/ (null,"Descargando actualización");
RDebugUtils.currentLine=1376259;
 //BA.debugLineNum = 1376259;BA.debugLine="Starter.muestraProgreso = 0";
parent._starter._muestraprogreso /*String*/  = BA.NumberToString(0);
 if (true) break;

case 4:
//C
this.state = 5;
;
RDebugUtils.currentLine=1376261;
 //BA.debugLineNum = 1376261;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)";
parent._subs._centrapanel /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=1376262;
 //BA.debugLineNum = 1376262;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION);
RDebugUtils.currentLine=1376264;
 //BA.debugLineNum = 1376264;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_appear"), null);
this.state = 31;
return;
case 31:
//C
this.state = 5;
_permission = (String) result[1];
_result = (Boolean) result[2];
;
RDebugUtils.currentLine=1376265;
 //BA.debugLineNum = 1376265;BA.debugLine="If Result Then";
if (true) break;

case 5:
//if
this.state = 10;
if (_result) { 
this.state = 7;
}else {
this.state = 9;
}if (true) break;

case 7:
//C
this.state = 10;
RDebugUtils.currentLine=1376266;
 //BA.debugLineNum = 1376266;BA.debugLine="StartService(Tracker)";
parent.__c.StartService(ba,(Object)(parent._tracker.getObject()));
RDebugUtils.currentLine=1376267;
 //BA.debugLineNum = 1376267;BA.debugLine="Log(\"Start Tracker\")";
parent.__c.LogImpl("31376267","Start Tracker",0);
 if (true) break;

case 9:
//C
this.state = 10;
RDebugUtils.currentLine=1376269;
 //BA.debugLineNum = 1376269;BA.debugLine="ToastMessageShow(\"Sin permisos de ubicacion\", Tr";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos de ubicacion"),parent.__c.True);
 if (true) break;

case 10:
//C
this.state = 11;
;
RDebugUtils.currentLine=1376273;
 //BA.debugLineNum = 1376273;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa")));
RDebugUtils.currentLine=1376274;
 //BA.debugLineNum = 1376274;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;

case 11:
//if
this.state = 14;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 13;
}if (true) break;

case 13:
//C
this.state = 14;
RDebugUtils.currentLine=1376277;
 //BA.debugLineNum = 1376277;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=1376278;
 //BA.debugLineNum = 1376278;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
__ref._usuario /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO");
 if (true) break;

case 14:
//C
this.state = 15;
;
RDebugUtils.currentLine=1376280;
 //BA.debugLineNum = 1376280;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=1376281;
 //BA.debugLineNum = 1376281;BA.debugLine="Starter.distanciaGeo = \"\"";
parent._starter._distanciageo /*String*/  = "";
RDebugUtils.currentLine=1376282;
 //BA.debugLineNum = 1376282;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT HABILITADO FRO";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HABILITADO FROM GPS")));
RDebugUtils.currentLine=1376283;
 //BA.debugLineNum = 1376283;BA.debugLine="If c.RowCount = 0 Then";
if (true) break;

case 15:
//if
this.state = 18;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { 
this.state = 17;
}if (true) break;

case 17:
//C
this.state = 18;
RDebugUtils.currentLine=1376284;
 //BA.debugLineNum = 1376284;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO GPS VALU";
parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO GPS VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)}));
 if (true) break;

case 18:
//C
this.state = 19;
;
RDebugUtils.currentLine=1376286;
 //BA.debugLineNum = 1376286;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT HABILITADO FRO";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HABILITADO FROM GPS")));
RDebugUtils.currentLine=1376287;
 //BA.debugLineNum = 1376287;BA.debugLine="If c.RowCount >  0 Then";
if (true) break;

case 19:
//if
this.state = 30;
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
this.state = 21;
}else {
this.state = 29;
}if (true) break;

case 21:
//C
this.state = 22;
RDebugUtils.currentLine=1376288;
 //BA.debugLineNum = 1376288;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=1376289;
 //BA.debugLineNum = 1376289;BA.debugLine="If c.GetString(\"HABILITADO\") = 0 Then";
if (true) break;

case 22:
//if
this.state = 27;
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HABILITADO")).equals(BA.NumberToString(0))) { 
this.state = 24;
}else 
{RDebugUtils.currentLine=1376293;
 //BA.debugLineNum = 1376293;BA.debugLine="Else If c.GetString(\"HABILITADO\") = 1 Then";
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HABILITADO")).equals(BA.NumberToString(1))) { 
this.state = 26;
}}
if (true) break;

case 24:
//C
this.state = 27;
RDebugUtils.currentLine=1376290;
 //BA.debugLineNum = 1376290;BA.debugLine="Starter.distanciaGeo = \"500000000000\"";
parent._starter._distanciageo /*String*/  = "500000000000";
RDebugUtils.currentLine=1376291;
 //BA.debugLineNum = 1376291;BA.debugLine="Log(\"Esto es la distancia si esta desactivada l";
parent.__c.LogImpl("31376291","Esto es la distancia si esta desactivada la Geo: "+parent._starter._distanciageo /*String*/ ,0);
RDebugUtils.currentLine=1376292;
 //BA.debugLineNum = 1376292;BA.debugLine="B4XSwitch2.Value = False";
__ref._b4xswitch2 /*reparto_mazapa.keymon.lat.b4xswitch*/ ._setvalue /*boolean*/ (null,parent.__c.False);
 if (true) break;

case 26:
//C
this.state = 27;
RDebugUtils.currentLine=1376294;
 //BA.debugLineNum = 1376294;BA.debugLine="Starter.distanciaGeo = \"50\"";
parent._starter._distanciageo /*String*/  = "50";
RDebugUtils.currentLine=1376295;
 //BA.debugLineNum = 1376295;BA.debugLine="Log(\"Esto es la distancia si esta activada la G";
parent.__c.LogImpl("31376295","Esto es la distancia si esta activada la Geo: "+parent._starter._distanciageo /*String*/ ,0);
RDebugUtils.currentLine=1376296;
 //BA.debugLineNum = 1376296;BA.debugLine="B4XSwitch2.Value = True";
__ref._b4xswitch2 /*reparto_mazapa.keymon.lat.b4xswitch*/ ._setvalue /*boolean*/ (null,parent.__c.True);
 if (true) break;

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

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

case 30:
//C
this.state = -1;
;
RDebugUtils.currentLine=1376364;
 //BA.debugLineNum = 1376364;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper  _b4xpage_closerequest(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false))
	 {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));}
ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref);
rsub.resume(ba, null);
return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub);
}
public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub {
public ResumableSub_B4XPage_CloseRequest(reparto_mazapa.keymon.lat.b4xmainpage parent,reparto_mazapa.keymon.lat.b4xmainpage __ref) {
this.parent = parent;
this.__ref = __ref;
this.__ref = parent;
}
reparto_mazapa.keymon.lat.b4xmainpage __ref;
reparto_mazapa.keymon.lat.b4xmainpage parent;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="b4xmainpage";

    while (true) {
        switch (state) {
            case -1:
{
parent.__c.ReturnFromResumableSub(this,null);return;}
case 0:
//C
this.state = 1;
RDebugUtils.currentLine=1638402;
 //BA.debugLineNum = 1638402;BA.debugLine="If p_appUpdate.Visible Then";
if (true) break;

case 1:
//if
this.state = 6;
if (__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { 
this.state = 3;
}else {
this.state = 5;
}if (true) break;

case 3:
//C
this.state = 6;
RDebugUtils.currentLine=1638403;
 //BA.debugLineNum = 1638403;BA.debugLine="p_appUpdate.Visible = False";
__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False);
 if (true) break;

case 5:
//C
this.state = 6;
RDebugUtils.currentLine=1638405;
 //BA.debugLineNum = 1638405;BA.debugLine="Sleep(0)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_closerequest"),(int) (0));
this.state = 7;
return;
case 7:
//C
this.state = 6;
;
RDebugUtils.currentLine=1638406;
 //BA.debugLineNum = 1638406;BA.debugLine="ExitApplication";
parent.__c.ExitApplication();
 if (true) break;

case 6:
//C
this.state = -1;
;
RDebugUtils.currentLine=1638408;
 //BA.debugLineNum = 1638408;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
RDebugUtils.currentLine=1638409;
 //BA.debugLineNum = 1638409;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _b4xpage_created(reparto_mazapa.keymon.lat.b4xmainpage __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "b4xpage_created", false))
	 {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));}
RDebugUtils.currentLine=1310720;
 //BA.debugLineNum = 1310720;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)";
RDebugUtils.currentLine=1310721;
 //BA.debugLineNum = 1310721;BA.debugLine="Root = Root1";
__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/  = _root1;
RDebugUtils.currentLine=1310722;
 //BA.debugLineNum = 1310722;BA.debugLine="B4XPages.GetManager.LogEvents = True";
_b4xpages._getmanager /*reparto_mazapa.keymon.lat.b4xpagesmanager*/ (ba)._logevents /*boolean*/  = __c.True;
RDebugUtils.currentLine=1310723;
 //BA.debugLineNum = 1310723;BA.debugLine="Root.LoadLayout(\"login\")";
__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("login",ba);
RDebugUtils.currentLine=1310724;
 //BA.debugLineNum = 1310724;BA.debugLine="B4XPages.SetTitle(Me, \"MAZAPA Reparto\")";
_b4xpages._settitle /*String*/ (ba,this,(Object)("MAZAPA Reparto"));
RDebugUtils.currentLine=1310725;
 //BA.debugLineNum = 1310725;BA.debugLine="login.Initialize";
__ref._login /*reparto_mazapa.keymon.lat.b4xmainpage*/ ._initialize /*String*/ (null,ba);
RDebugUtils.currentLine=1310726;
 //BA.debugLineNum = 1310726;BA.debugLine="B4XPages.AddPage(\"Login\", login)";
_b4xpages._addpage /*String*/ (ba,"Login",(Object)(__ref._login /*reparto_mazapa.keymon.lat.b4xmainpage*/ ));
RDebugUtils.currentLine=1310727;
 //BA.debugLineNum = 1310727;BA.debugLine="principal.Initialize";
__ref._principal /*reparto_mazapa.keymon.lat.c_principal*/ ._initialize /*Object*/ (null,ba);
RDebugUtils.currentLine=1310728;
 //BA.debugLineNum = 1310728;BA.debugLine="B4XPages.AddPage(\"Principal\", principal)";
_b4xpages._addpage /*String*/ (ba,"Principal",(Object)(__ref._principal /*reparto_mazapa.keymon.lat.c_principal*/ ));
RDebugUtils.currentLine=1310729;
 //BA.debugLineNum = 1310729;BA.debugLine="clientes.Initialize";
__ref._clientes /*reparto_mazapa.keymon.lat.c_clientes*/ ._initialize /*Object*/ (null,ba);
RDebugUtils.currentLine=1310730;
 //BA.debugLineNum = 1310730;BA.debugLine="B4XPages.AddPage(\"Clientes\", clientes)";
_b4xpages._addpage /*String*/ (ba,"Clientes",(Object)(__ref._clientes /*reparto_mazapa.keymon.lat.c_clientes*/ ));
RDebugUtils.currentLine=1310731;
 //BA.debugLineNum = 1310731;BA.debugLine="cliente.Initialize";
__ref._cliente /*reparto_mazapa.keymon.lat.c_cliente*/ ._initialize /*Object*/ (null,ba);
RDebugUtils.currentLine=1310732;
 //BA.debugLineNum = 1310732;BA.debugLine="B4XPages.AddPage(\"Cliente\", cliente)";
_b4xpages._addpage /*String*/ (ba,"Cliente",(Object)(__ref._cliente /*reparto_mazapa.keymon.lat.c_cliente*/ ));
RDebugUtils.currentLine=1310735;
 //BA.debugLineNum = 1310735;BA.debugLine="productos.Initialize";
__ref._productos /*reparto_mazapa.keymon.lat.c_productos*/ ._initialize /*Object*/ (null,ba);
RDebugUtils.currentLine=1310736;
 //BA.debugLineNum = 1310736;BA.debugLine="B4XPages.AddPage(\"Productos\", productos)";
_b4xpages._addpage /*String*/ (ba,"Productos",(Object)(__ref._productos /*reparto_mazapa.keymon.lat.c_productos*/ ));
RDebugUtils.currentLine=1310737;
 //BA.debugLineNum = 1310737;BA.debugLine="updateAvailable.Initialize";
__ref._updateavailable /*reparto_mazapa.keymon.lat.c_updateavailable*/ ._initialize /*Object*/ (null,ba);
RDebugUtils.currentLine=1310738;
 //BA.debugLineNum = 1310738;BA.debugLine="B4XPages.AddPage(\"updateAvailable\", updateAvailab";
_b4xpages._addpage /*String*/ (ba,"updateAvailable",(Object)(__ref._updateavailable /*reparto_mazapa.keymon.lat.c_updateavailable*/ ));
RDebugUtils.currentLine=1310739;
 //BA.debugLineNum = 1310739;BA.debugLine="mapas.Initialize";
__ref._mapas /*reparto_mazapa.keymon.lat.c_mapas*/ ._initialize /*Object*/ (null,ba);
RDebugUtils.currentLine=1310740;
 //BA.debugLineNum = 1310740;BA.debugLine="B4XPages.AddPage(\"Mapas\", mapas)";
_b4xpages._addpage /*String*/ (ba,"Mapas",(Object)(__ref._mapas /*reparto_mazapa.keymon.lat.c_mapas*/ ));
RDebugUtils.currentLine=1310741;
 //BA.debugLineNum = 1310741;BA.debugLine="nuevoCliente.Initialize";
__ref._nuevocliente /*reparto_mazapa.keymon.lat.c_nuevocliente*/ ._initialize /*Object*/ (null,ba);
RDebugUtils.currentLine=1310742;
 //BA.debugLineNum = 1310742;BA.debugLine="B4XPages.AddPage(\"NuevoCliente\", nuevoCliente)";
_b4xpages._addpage /*String*/ (ba,"NuevoCliente",(Object)(__ref._nuevocliente /*reparto_mazapa.keymon.lat.c_nuevocliente*/ ));
RDebugUtils.currentLine=1310743;
 //BA.debugLineNum = 1310743;BA.debugLine="ticketsDia.Initialize";
__ref._ticketsdia /*reparto_mazapa.keymon.lat.c_ticketsdia*/ ._initialize /*Object*/ (null,ba);
RDebugUtils.currentLine=1310744;
 //BA.debugLineNum = 1310744;BA.debugLine="B4XPages.AddPage(\"TicketsDia\", ticketsDia)";
_b4xpages._addpage /*String*/ (ba,"TicketsDia",(Object)(__ref._ticketsdia /*reparto_mazapa.keymon.lat.c_ticketsdia*/ ));
RDebugUtils.currentLine=1310745;
 //BA.debugLineNum = 1310745;BA.debugLine="noVenta.Initialize";
__ref._noventa /*reparto_mazapa.keymon.lat.c_noventa*/ ._initialize /*Object*/ (null,ba);
RDebugUtils.currentLine=1310746;
 //BA.debugLineNum = 1310746;BA.debugLine="B4XPages.AddPage(\"NoVenta\", noVenta)";
_b4xpages._addpage /*String*/ (ba,"NoVenta",(Object)(__ref._noventa /*reparto_mazapa.keymon.lat.c_noventa*/ ));
RDebugUtils.currentLine=1310747;
 //BA.debugLineNum = 1310747;BA.debugLine="pedidos.Initialize";
__ref._pedidos /*reparto_mazapa.keymon.lat.c_pedidos*/ ._initialize /*Object*/ (null,ba);
RDebugUtils.currentLine=1310748;
 //BA.debugLineNum = 1310748;BA.debugLine="B4XPages.AddPage(\"Pedidos\", pedidos)";
_b4xpages._addpage /*String*/ (ba,"Pedidos",(Object)(__ref._pedidos /*reparto_mazapa.keymon.lat.c_pedidos*/ ));
RDebugUtils.currentLine=1310749;
 //BA.debugLineNum = 1310749;BA.debugLine="buscar.Initialize";
__ref._buscar /*reparto_mazapa.keymon.lat.c_buscar*/ ._initialize /*Object*/ (null,ba);
RDebugUtils.currentLine=1310750;
 //BA.debugLineNum = 1310750;BA.debugLine="B4XPages.AddPage(\"Buscar\", buscar)";
_b4xpages._addpage /*String*/ (ba,"Buscar",(Object)(__ref._buscar /*reparto_mazapa.keymon.lat.c_buscar*/ ));
RDebugUtils.currentLine=1310753;
 //BA.debugLineNum = 1310753;BA.debugLine="detalleVenta.Initialize";
__ref._detalleventa /*reparto_mazapa.keymon.lat.c_detalleventa*/ ._initialize /*Object*/ (null,ba);
RDebugUtils.currentLine=1310754;
 //BA.debugLineNum = 1310754;BA.debugLine="B4XPages.AddPage(\"DetalleVenta\", detalleVenta)";
_b4xpages._addpage /*String*/ (ba,"DetalleVenta",(Object)(__ref._detalleventa /*reparto_mazapa.keymon.lat.c_detalleventa*/ ));
RDebugUtils.currentLine=1310755;
 //BA.debugLineNum = 1310755;BA.debugLine="detalle_promo.Initialize";
__ref._detalle_promo /*reparto_mazapa.keymon.lat.c_detalle_promo*/ ._initialize /*Object*/ (null,ba);
RDebugUtils.currentLine=1310756;
 //BA.debugLineNum = 1310756;BA.debugLine="B4XPages.AddPage(\"Detalle_Promo\", detalle_promo)";
_b4xpages._addpage /*String*/ (ba,"Detalle_Promo",(Object)(__ref._detalle_promo /*reparto_mazapa.keymon.lat.c_detalle_promo*/ ));
RDebugUtils.currentLine=1310757;
 //BA.debugLineNum = 1310757;BA.debugLine="tabulador.Initialize";
__ref._tabulador /*reparto_mazapa.keymon.lat.c_tabulador*/ ._initialize /*Object*/ (null,ba);
RDebugUtils.currentLine=1310758;
 //BA.debugLineNum = 1310758;BA.debugLine="B4XPages.AddPage(\"tabulador\", tabulador)";
_b4xpages._addpage /*String*/ (ba,"tabulador",(Object)(__ref._tabulador /*reparto_mazapa.keymon.lat.c_tabulador*/ ));
RDebugUtils.currentLine=1310759;
 //BA.debugLineNum = 1310759;BA.debugLine="checklist.Initialize";
__ref._checklist /*reparto_mazapa.keymon.lat.c_cheklist*/ ._initialize /*Object*/ (null,ba);
RDebugUtils.currentLine=1310760;
 //BA.debugLineNum = 1310760;BA.debugLine="B4XPages.AddPage(\"checklist\",checklist)";
_b4xpages._addpage /*String*/ (ba,"checklist",(Object)(__ref._checklist /*reparto_mazapa.keymon.lat.c_cheklist*/ ));
RDebugUtils.currentLine=1310761;
 //BA.debugLineNum = 1310761;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD3 (CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD TEXT, CAT_GP_DEV TEXT, CAT_GP_ALMACEN NUMERIC, CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_PRECIO TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS TEXT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG BLOB)");
RDebugUtils.currentLine=1310762;
 //BA.debugLineNum = 1310762;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CONVE";
_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD3","CAT_DP_CONVERSION1","TEXT");
RDebugUtils.currentLine=1310763;
 //BA.debugLineNum = 1310763;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_PRECI";
_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD3","CAT_DP_PRECIO4","TEXT");
RDebugUtils.currentLine=1310764;
 //BA.debugLineNum = 1310764;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CANT_";
_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD3","CAT_DP_CANT_MIN_VENTA","TEXT");
RDebugUtils.currentLine=1310765;
 //BA.debugLineNum = 1310765;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS GPS (HABILITADO)");
RDebugUtils.currentLine=1310766;
 //BA.debugLineNum = 1310766;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS PICK_CIEGO (PC_ID_PROD TEXT, PC_NOM_PROD TEXT, PC_CANT TEXT, PC_ALMACEN TEXT, PC_RUTA TEXT, PC_FECHA TEXT)");
RDebugUtils.currentLine=1310767;
 //BA.debugLineNum = 1310767;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS ENV_MONTO_LIQ (EML_MONTO TEXT, EML_ALMACEN TEXT, EML_RUTA TEXT, EML_USUARIO TEXT, EML_FECHA_PED TEXT)");
RDebugUtils.currentLine=1310768;
 //BA.debugLineNum = 1310768;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS TABULADOR_MONEDAS(VEINTE TEXT, DIEZ TEXT, CINCO TEXT, DOS TEXT, PESO TEXT, CENTAVO TEXT, TOTAL TEXT)");
RDebugUtils.currentLine=1310769;
 //BA.debugLineNum = 1310769;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS TABULADOR_BILLETES(MIL TEXT, QUINIENTOS TEXT, DOCIENTOS TEXT, CIEN TEXT, CINCUENTA TEXT, VEINTE TEXT)");
RDebugUtils.currentLine=1310770;
 //BA.debugLineNum = 1310770;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_VENTAS2 (HVD_PARCIAL TEXT, HVD_RECHAZO TEXT, HVD_NUM_REGISTRO TEXT, HVD_NUM_TICKET TEXT, HVD_PROID TEXT, HVD_CODPROMO TEXT, HVD_FECHA TEXT, HVD_ESTATUS TEXT, HVD_CLIENTE TEXT, HVD_PRONOMBRE TEXT, HVD_CANT TEXT, HVD_COSTO_TOT TEXT)");
RDebugUtils.currentLine=1310772;
 //BA.debugLineNum = 1310772;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS RECHAZOS (R_FECHA TEXT, R_CLIENTE TEXT, R_CLI_ORIG TEXT, R_PRODID TEXT, R_CANT TEXT, R_RECHAZO INT)");
RDebugUtils.currentLine=1310773;
 //BA.debugLineNum = 1310773;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS VENTAS (V_FECHA TEXT, V_CLIENTE TEXT, V_CLI_ORIG TEXT, V_PRODID TEXT, V_CANT TEXT, V_RECHAZO INT)");
RDebugUtils.currentLine=1310775;
 //BA.debugLineNum = 1310775;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CHECADO_CHECK(CHECADO TEXT)");
RDebugUtils.currentLine=1310776;
 //BA.debugLineNum = 1310776;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS PAGARES(TMP_MONTO_PAGARE TEXT, TMP_CLIENTE TEXT)");
RDebugUtils.currentLine=1310777;
 //BA.debugLineNum = 1310777;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CHECKLIST(USUARIO TEXT, PLACA TEXT, FECHA_CAPTURA TEXT, TARJETA_CIRCULACION TEXT , POLIZA_SEGURO TEXT, LICENCIA_CONDUCIR TEXT, LIMPIA_EXTERNA TEXT, LIMPIA_INTERNA TEXT, TRIANGULO TEXT, GATO TEXT, LLANTA_REFACCION TEXT, CARROCERIA_BUENESTADO TEXT, CARROCERIA_MALESTADO TEXT, CARROCERIA_COMENTARIOS TEXT, LUCES_CORRECTO TEXT, LUCES_INCORRECTO TEXT, LUCES_COMENTARIOS TEXT, CONDICION_PLACAS_CORRECTO TEXT, CONDICION_PLACAS_INCORRECTO TEXT, CONDICION_PLACAS_COMENTARIOS TEXT, CONDICION_LLANTAS_DEL_DER TEXT, CONDICION_LLANTAS_DEL_IZQ TEXT, CONDICION_LLANTAS_TRASERA_DER TEXT, CONDICION_LLANTAS_TRASERA_IZQ TEXT, ACEITE TEXT, ANTICONGELANTE TEXT, FRENOS TEXT, AIRE TEXT, FUGAS TEXT, COMETARIOS_FUGAS TEXT, FOTO1 BLOB, FOTO12 BLOB, FOTO3 BLOB, FOTO4 BLOB)");
RDebugUtils.currentLine=1310778;
 //BA.debugLineNum = 1310778;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CHECKLIST2(USUARIO TEXT, PLACA TEXT, FECHA_CAPTURA TEXT, TARJETA_CIRCULACION TEXT, POLIZA_SEGURO TEXT, LICENCIA_CONDUCIR TEXT, LIMPIA_EXTERNA TEXT, LIMPIA_INTERNA TEXT, TRIANGULO TEXT, GATO TEXT, LLANTA_REFACCION TEXT, CARROCERIA TEXT, CARROCERIA_COMENTARIOS TEXT, LUCES TEXT, LUCES_COMENTARIOS TEXT, CONDICION_PLACAS TEXT, CONDICION_PLACAS_COMENTARIOS TEXT, CONDICION_LLANTAS_DEL_DER TEXT, CONDICION_LLANTAS_DEL_IZQ TEXT, CONDICION_LLANTAS_TRASERA_DER TEXT, CONDICION_LLANTAS_TRASERA_IZQ TEXT, ACEITE TEXT, ANTICONGELANTE TEXT, FRENOS TEXT, AIRE TEXT, FUGAS TEXT, COMETARIOS_FUGAS TEXT, FOTO1 BLOB, FOTO12 BLOB, FOTO3 BLOB, FOTO4 BLOB, KILIMETRAJE TEXT, RUTA TEXT)");
RDebugUtils.currentLine=1310779;
 //BA.debugLineNum = 1310779;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRODREGISTRO\",";
_subs._agregacolumna /*String*/ (ba,"REPARTO","REP_PRODREGISTRO","TEXT");
RDebugUtils.currentLine=1310780;
 //BA.debugLineNum = 1310780;BA.debugLine="Subs.agregaColumna(\"NOVENTA\", \"NV_RUTA\", \"TEXT\")";
_subs._agregacolumna /*String*/ (ba,"NOVENTA","NV_RUTA","TEXT");
RDebugUtils.currentLine=1310781;
 //BA.debugLineNum = 1310781;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"SECUENCIA\", \"INT\"";
_subs._agregacolumna /*String*/ (ba,"kmt_info","SECUENCIA","INT");
RDebugUtils.currentLine=1310782;
 //BA.debugLineNum = 1310782;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"HORAENT\", \"TEXT\")";
_subs._agregacolumna /*String*/ (ba,"kmt_info","HORAENT","TEXT");
RDebugUtils.currentLine=1310783;
 //BA.debugLineNum = 1310783;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRODID\", \"TEXT";
_subs._agregacolumna /*String*/ (ba,"REPARTO","REP_PRODID","TEXT");
RDebugUtils.currentLine=1310784;
 //BA.debugLineNum = 1310784;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CLIENTEOR\", \"TEX";
_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_CLIENTEOR","TEXT");
RDebugUtils.currentLine=1310785;
 //BA.debugLineNum = 1310785;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CAJAS\", \"TEXT\")";
_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_CAJAS","TEXT");
RDebugUtils.currentLine=1310786;
 //BA.debugLineNum = 1310786;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_REGALO\", \"TEXT\")";
_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_REGALO","TEXT");
RDebugUtils.currentLine=1310787;
 //BA.debugLineNum = 1310787;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_BCAJAS\", \"TEXT\")";
_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_BCAJAS","TEXT");
RDebugUtils.currentLine=1310788;
 //BA.debugLineNum = 1310788;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"CONSECUTIVO\", \"TEXT";
_subs._agregacolumna /*String*/ (ba,"PEDIDO","CONSECUTIVO","TEXT");
RDebugUtils.currentLine=1310789;
 //BA.debugLineNum = 1310789;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"FECHA_PREV\", \"TEXT\"";
_subs._agregacolumna /*String*/ (ba,"PEDIDO","FECHA_PREV","TEXT");
RDebugUtils.currentLine=1310790;
 //BA.debugLineNum = 1310790;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"RUTA_REP\", \"TEXT\")";
_subs._agregacolumna /*String*/ (ba,"PEDIDO","RUTA_REP","TEXT");
RDebugUtils.currentLine=1310791;
 //BA.debugLineNum = 1310791;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_CLI_ORIG\", \"TE";
_subs._agregacolumna /*String*/ (ba,"REPARTO","REP_CLI_ORIG","TEXT");
RDebugUtils.currentLine=1310792;
 //BA.debugLineNum = 1310792;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRECIO\", \"TEXT";
_subs._agregacolumna /*String*/ (ba,"REPARTO","REP_PRECIO","TEXT");
RDebugUtils.currentLine=1310793;
 //BA.debugLineNum = 1310793;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_RECHAZO\", \"INT";
_subs._agregacolumna /*String*/ (ba,"REPARTO","REP_RECHAZO","INTEGER");
RDebugUtils.currentLine=1310794;
 //BA.debugLineNum = 1310794;BA.debugLine="Subs.agregaColumna(\"RECHAZOS\", \"R_PRECIO\", \"TEXT\"";
_subs._agregacolumna /*String*/ (ba,"RECHAZOS","R_PRECIO","TEXT");
RDebugUtils.currentLine=1310795;
 //BA.debugLineNum = 1310795;BA.debugLine="Subs.agregaColumna(\"VENTAS\", \"V_PRECIO\", \"TEXT\")";
_subs._agregacolumna /*String*/ (ba,"VENTAS","V_PRECIO","TEXT");
RDebugUtils.currentLine=1310796;
 //BA.debugLineNum = 1310796;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"PLACA\",\"TEXT\")";
_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","PLACA","TEXT");
RDebugUtils.currentLine=1310797;
 //BA.debugLineNum = 1310797;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT";
_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_RECHAZOCANT","TEXT");
RDebugUtils.currentLine=1310798;
 //BA.debugLineNum = 1310798;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CONSECUTIVO\",\"T";
_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","CONSECUTIVO","TEXT");
RDebugUtils.currentLine=1310799;
 //BA.debugLineNum = 1310799;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT";
_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_RECHAZOCANT","TEXT");
RDebugUtils.currentLine=1310800;
 //BA.debugLineNum = 1310800;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"ESPROMO\",\"TEXT\"";
_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","ESPROMO","TEXT");
RDebugUtils.currentLine=1310801;
 //BA.debugLineNum = 1310801;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT";
_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_RECHAZOCANTC","TEXT");
RDebugUtils.currentLine=1310802;
 //BA.debugLineNum = 1310802;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"BCAJAS\",\"TEXT\")";
_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","BCAJAS","TEXT");
RDebugUtils.currentLine=1310803;
 //BA.debugLineNum = 1310803;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CANTC\",\"TEXT\")";
_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","CANTC","TEXT");
RDebugUtils.currentLine=1310804;
 //BA.debugLineNum = 1310804;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"BCAJAS_OR\",\"TEX";
_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","BCAJAS_OR","TEXT");
RDebugUtils.currentLine=1310805;
 //BA.debugLineNum = 1310805;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CANTC_OR\",\"TEXT";
_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","CANTC_OR","TEXT");
RDebugUtils.currentLine=1310806;
 //BA.debugLineNum = 1310806;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RUTA\",\"TEXT";
_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_RUTA","TEXT");
RDebugUtils.currentLine=1310807;
 //BA.debugLineNum = 1310807;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_LISTAPRECIO";
_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_LISTAPRECIO","TEXT");
RDebugUtils.currentLine=1310808;
 //BA.debugLineNum = 1310808;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"CONVERSION\",\"T";
_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CONVERSION","TEXT");
RDebugUtils.currentLine=1310809;
 //BA.debugLineNum = 1310809;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"PRECIOCONVER\",";
_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","PRECIOCONVER","TEXT");
RDebugUtils.currentLine=1310810;
 //BA.debugLineNum = 1310810;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTAA (RUTAA TEXT)");
RDebugUtils.currentLine=1310811;
 //BA.debugLineNum = 1310811;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS wayPoints (codigo TEXT, indice INT)");
RDebugUtils.currentLine=1310812;
 //BA.debugLineNum = 1310812;BA.debugLine="Dim server As String = \"http://keymon.net:1781\"";
_server = "http://keymon.net:1781";
RDebugUtils.currentLine=1310818;
 //BA.debugLineNum = 1310818;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve";
__ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ );
RDebugUtils.currentLine=1310819;
 //BA.debugLineNum = 1310819;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server";
__c.LogImpl("31310819",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red);
RDebugUtils.currentLine=1310820;
 //BA.debugLineNum = 1310820;BA.debugLine="Label1.Text = Application.VersionName";
__ref._label1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Application.getVersionName()));
RDebugUtils.currentLine=1310822;
 //BA.debugLineNum = 1310822;BA.debugLine="Log(\"provider\")";
__c.LogImpl("31310822","provider",0);
RDebugUtils.currentLine=1310823;
 //BA.debugLineNum = 1310823;BA.debugLine="Provider.Initialize";
__ref._provider /*reparto_mazapa.keymon.lat.fileprovider*/ ._initialize /*String*/ (null,ba);
RDebugUtils.currentLine=1310831;
 //BA.debugLineNum = 1310831;BA.debugLine="End Sub";
return "";
}
public String  _initialize(reparto_mazapa.keymon.lat.b4xmainpage __ref,anywheresoftware.b4a.BA _ba) throws Exception{
__ref = this;
innerInitialize(_ba);
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "initialize", false))
	 {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));}
RDebugUtils.currentLine=1245184;
 //BA.debugLineNum = 1245184;BA.debugLine="Public Sub Initialize";
RDebugUtils.currentLine=1245186;
 //BA.debugLineNum = 1245186;BA.debugLine="End Sub";
return "";
}
public String  _b4xswitch2_valuechanged(reparto_mazapa.keymon.lat.b4xmainpage __ref,boolean _value) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "b4xswitch2_valuechanged", false))
	 {return ((String) Debug.delegate(ba, "b4xswitch2_valuechanged", new Object[] {_value}));}
RDebugUtils.currentLine=3473408;
 //BA.debugLineNum = 3473408;BA.debugLine="Private Sub B4XSwitch2_ValueChanged (Value As Bool";
RDebugUtils.currentLine=3473409;
 //BA.debugLineNum = 3473409;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT CAT_VA_VALOR";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"CARGA_DIA"})));
RDebugUtils.currentLine=3473410;
 //BA.debugLineNum = 3473410;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=3473411;
 //BA.debugLineNum = 3473411;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=3473412;
 //BA.debugLineNum = 3473412;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") = 1 Then";
if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR")).equals(BA.NumberToString(1))) { 
RDebugUtils.currentLine=3473413;
 //BA.debugLineNum = 3473413;BA.debugLine="Log(Value)";
__c.LogImpl("33473413",BA.ObjectToString(_value),0);
RDebugUtils.currentLine=3473414;
 //BA.debugLineNum = 3473414;BA.debugLine="If Value Then";
if (_value) { 
RDebugUtils.currentLine=3473415;
 //BA.debugLineNum = 3473415;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HAB";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)}));
 }else {
RDebugUtils.currentLine=3473417;
 //BA.debugLineNum = 3473417;BA.debugLine="p_GeoPass.Left = 0";
__ref._p_geopass /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (0));
RDebugUtils.currentLine=3473418;
 //BA.debugLineNum = 3473418;BA.debugLine="p_GeoPass.Width = Root.Width";
__ref._p_geopass /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=3473419;
 //BA.debugLineNum = 3473419;BA.debugLine="p_GeoPass.Height = Root.Height";
__ref._p_geopass /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=3473420;
 //BA.debugLineNum = 3473420;BA.debugLine="p_GeoPass.Visible = True";
__ref._p_geopass /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
RDebugUtils.currentLine=3473421;
 //BA.debugLineNum = 3473421;BA.debugLine="Subs.panelVisible(p_GeoPass,0,0)";
_subs._panelvisible /*String*/ (ba,__ref._p_geopass /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0));
RDebugUtils.currentLine=3473422;
 //BA.debugLineNum = 3473422;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HAB";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)}));
 };
 }else {
RDebugUtils.currentLine=3473425;
 //BA.debugLineNum = 3473425;BA.debugLine="MsgboxAsync(\"Por favor primero haz carga de día";
__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor primero haz carga de día"),BA.ObjectToCharSequence("Atención"),ba);
RDebugUtils.currentLine=3473426;
 //BA.debugLineNum = 3473426;BA.debugLine="B4XSwitch2.Value = True";
__ref._b4xswitch2 /*reparto_mazapa.keymon.lat.b4xswitch*/ ._setvalue /*boolean*/ (null,__c.True);
 };
 }else {
RDebugUtils.currentLine=3473429;
 //BA.debugLineNum = 3473429;BA.debugLine="MsgboxAsync(\"Por favor primero haz carga de día\"";
__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor primero haz carga de día"),BA.ObjectToCharSequence("Atención"),ba);
RDebugUtils.currentLine=3473430;
 //BA.debugLineNum = 3473430;BA.debugLine="B4XSwitch2.Value = True";
__ref._b4xswitch2 /*reparto_mazapa.keymon.lat.b4xswitch*/ ._setvalue /*boolean*/ (null,__c.True);
 };
RDebugUtils.currentLine=3473432;
 //BA.debugLineNum = 3473432;BA.debugLine="End Sub";
return "";
}
public String  _bacepgeo_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "bacepgeo_click", false))
	 {return ((String) Debug.delegate(ba, "bacepgeo_click", null));}
RDebugUtils.currentLine=3407872;
 //BA.debugLineNum = 3407872;BA.debugLine="Private Sub bAcepGeo_Click";
RDebugUtils.currentLine=3407873;
 //BA.debugLineNum = 3407873;BA.debugLine="If et_passGeo.Text = \"KMTS\" Or et_passGeo.Text =";
if ((__ref._et_passgeo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("KMTS") || (__ref._et_passgeo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("MAZAPA")) { 
RDebugUtils.currentLine=3407874;
 //BA.debugLineNum = 3407874;BA.debugLine="B4XSwitch2.Value = False";
__ref._b4xswitch2 /*reparto_mazapa.keymon.lat.b4xswitch*/ ._setvalue /*boolean*/ (null,__c.False);
RDebugUtils.currentLine=3407875;
 //BA.debugLineNum = 3407875;BA.debugLine="p_GeoPass.Visible = False";
__ref._p_geopass /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=3407876;
 //BA.debugLineNum = 3407876;BA.debugLine="et_passGeo.Text = \"\"";
__ref._et_passgeo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=3407877;
 //BA.debugLineNum = 3407877;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HABIL";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)}));
 }else 
{RDebugUtils.currentLine=3407878;
 //BA.debugLineNum = 3407878;BA.debugLine="Else If et_passGeo.Text = \"\" Then";
if ((__ref._et_passgeo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { 
RDebugUtils.currentLine=3407879;
 //BA.debugLineNum = 3407879;BA.debugLine="MsgboxAsync(\"Ingresa un codigo\",\"Atención\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Ingresa un codigo"),BA.ObjectToCharSequence("Atención"),ba);
RDebugUtils.currentLine=3407880;
 //BA.debugLineNum = 3407880;BA.debugLine="B4XSwitch2.Value = True";
__ref._b4xswitch2 /*reparto_mazapa.keymon.lat.b4xswitch*/ ._setvalue /*boolean*/ (null,__c.True);
RDebugUtils.currentLine=3407881;
 //BA.debugLineNum = 3407881;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HABIL";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)}));
 }else {
RDebugUtils.currentLine=3407883;
 //BA.debugLineNum = 3407883;BA.debugLine="MsgboxAsync(\"Codigo incorrecto\",\"Atención\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Codigo incorrecto"),BA.ObjectToCharSequence("Atención"),ba);
RDebugUtils.currentLine=3407884;
 //BA.debugLineNum = 3407884;BA.debugLine="B4XSwitch2.Value = True";
__ref._b4xswitch2 /*reparto_mazapa.keymon.lat.b4xswitch*/ ._setvalue /*boolean*/ (null,__c.True);
RDebugUtils.currentLine=3407885;
 //BA.debugLineNum = 3407885;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HABIL";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)}));
 }}
;
RDebugUtils.currentLine=3407887;
 //BA.debugLineNum = 3407887;BA.debugLine="End Sub";
return "";
}
public String  _bcangeo_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "bcangeo_click", false))
	 {return ((String) Debug.delegate(ba, "bcangeo_click", null));}
RDebugUtils.currentLine=3342336;
 //BA.debugLineNum = 3342336;BA.debugLine="Private Sub bCanGeo_Click";
RDebugUtils.currentLine=3342337;
 //BA.debugLineNum = 3342337;BA.debugLine="p_GeoPass.Visible = False";
__ref._p_geopass /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=3342338;
 //BA.debugLineNum = 3342338;BA.debugLine="B4XSwitch2.Value = True";
__ref._b4xswitch2 /*reparto_mazapa.keymon.lat.b4xswitch*/ ._setvalue /*boolean*/ (null,__c.True);
RDebugUtils.currentLine=3342339;
 //BA.debugLineNum = 3342339;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HABILI";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)}));
RDebugUtils.currentLine=3342340;
 //BA.debugLineNum = 3342340;BA.debugLine="et_passGeo.Text = \"\"";
__ref._et_passgeo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=3342341;
 //BA.debugLineNum = 3342341;BA.debugLine="End Sub";
return "";
}
public String  _class_globals(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
RDebugUtils.currentLine=1179648;
 //BA.debugLineNum = 1179648;BA.debugLine="Sub Class_Globals";
RDebugUtils.currentLine=1179649;
 //BA.debugLineNum = 1179649;BA.debugLine="Dim rp As RuntimePermissions";
_rp = new anywheresoftware.b4a.objects.RuntimePermissions();
RDebugUtils.currentLine=1179650;
 //BA.debugLineNum = 1179650;BA.debugLine="Private Root As B4XView";
_root = new anywheresoftware.b4a.objects.B4XViewWrapper();
RDebugUtils.currentLine=1179651;
 //BA.debugLineNum = 1179651;BA.debugLine="Private xui As XUI";
_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI();
RDebugUtils.currentLine=1179652;
 //BA.debugLineNum = 1179652;BA.debugLine="Private Root As B4XView";
_root = new anywheresoftware.b4a.objects.B4XViewWrapper();
RDebugUtils.currentLine=1179653;
 //BA.debugLineNum = 1179653;BA.debugLine="Public rp As RuntimePermissions";
_rp = new anywheresoftware.b4a.objects.RuntimePermissions();
RDebugUtils.currentLine=1179654;
 //BA.debugLineNum = 1179654;BA.debugLine="Public login As B4XMainPage";
_login = new reparto_mazapa.keymon.lat.b4xmainpage();
RDebugUtils.currentLine=1179655;
 //BA.debugLineNum = 1179655;BA.debugLine="Public principal As C_Principal";
_principal = new reparto_mazapa.keymon.lat.c_principal();
RDebugUtils.currentLine=1179656;
 //BA.debugLineNum = 1179656;BA.debugLine="Public clientes As C_Clientes";
_clientes = new reparto_mazapa.keymon.lat.c_clientes();
RDebugUtils.currentLine=1179657;
 //BA.debugLineNum = 1179657;BA.debugLine="Public cliente As C_Cliente";
_cliente = new reparto_mazapa.keymon.lat.c_cliente();
RDebugUtils.currentLine=1179659;
 //BA.debugLineNum = 1179659;BA.debugLine="Public productos As C_Productos";
_productos = new reparto_mazapa.keymon.lat.c_productos();
RDebugUtils.currentLine=1179660;
 //BA.debugLineNum = 1179660;BA.debugLine="Public updateAvailable As C_UpdateAvailable";
_updateavailable = new reparto_mazapa.keymon.lat.c_updateavailable();
RDebugUtils.currentLine=1179661;
 //BA.debugLineNum = 1179661;BA.debugLine="Public mapas As C_Mapas";
_mapas = new reparto_mazapa.keymon.lat.c_mapas();
RDebugUtils.currentLine=1179662;
 //BA.debugLineNum = 1179662;BA.debugLine="Public nuevoCliente As C_NuevoCliente";
_nuevocliente = new reparto_mazapa.keymon.lat.c_nuevocliente();
RDebugUtils.currentLine=1179663;
 //BA.debugLineNum = 1179663;BA.debugLine="Public ticketsDia As C_TicketsDia";
_ticketsdia = new reparto_mazapa.keymon.lat.c_ticketsdia();
RDebugUtils.currentLine=1179664;
 //BA.debugLineNum = 1179664;BA.debugLine="Public noVenta As C_NoVenta";
_noventa = new reparto_mazapa.keymon.lat.c_noventa();
RDebugUtils.currentLine=1179665;
 //BA.debugLineNum = 1179665;BA.debugLine="Public pedidos As C_Pedidos";
_pedidos = new reparto_mazapa.keymon.lat.c_pedidos();
RDebugUtils.currentLine=1179666;
 //BA.debugLineNum = 1179666;BA.debugLine="Public buscar As C_Buscar";
_buscar = new reparto_mazapa.keymon.lat.c_buscar();
RDebugUtils.currentLine=1179668;
 //BA.debugLineNum = 1179668;BA.debugLine="Public detalleVenta As C_DetalleVenta";
_detalleventa = new reparto_mazapa.keymon.lat.c_detalleventa();
RDebugUtils.currentLine=1179669;
 //BA.debugLineNum = 1179669;BA.debugLine="Public detalle_promo As C_Detalle_Promo";
_detalle_promo = new reparto_mazapa.keymon.lat.c_detalle_promo();
RDebugUtils.currentLine=1179670;
 //BA.debugLineNum = 1179670;BA.debugLine="Dim reqManager As DBRequestManager";
_reqmanager = new reparto_mazapa.keymon.lat.dbrequestmanager();
RDebugUtils.currentLine=1179672;
 //BA.debugLineNum = 1179672;BA.debugLine="Dim usuario As String";
_usuario = "";
RDebugUtils.currentLine=1179673;
 //BA.debugLineNum = 1179673;BA.debugLine="Dim logger As Boolean = True";
_logger = __c.True;
RDebugUtils.currentLine=1179674;
 //BA.debugLineNum = 1179674;BA.debugLine="Dim lat_gps, lon_gps As String";
_lat_gps = "";
_lon_gps = "";
RDebugUtils.currentLine=1179676;
 //BA.debugLineNum = 1179676;BA.debugLine="Dim usuario As String";
_usuario = "";
RDebugUtils.currentLine=1179677;
 //BA.debugLineNum = 1179677;BA.debugLine="Dim server As String";
_server = "";
RDebugUtils.currentLine=1179678;
 //BA.debugLineNum = 1179678;BA.debugLine="Dim montoActual, clientesTotal, clientesVenta, cl";
_montoactual = "";
_clientestotal = "";
_clientesventa = "";
_clientesrechazo = "";
_clientesvisitados = "";
_almacen = "";
_rutapreventa = "";
_cantidadprod = "";
RDebugUtils.currentLine=1179679;
 //BA.debugLineNum = 1179679;BA.debugLine="Dim ultimaActualizacionGPS As String = 235959";
_ultimaactualizaciongps = BA.NumberToString(235959);
RDebugUtils.currentLine=1179680;
 //BA.debugLineNum = 1179680;BA.debugLine="Dim fechaRuta As String";
_fecharuta = "";
RDebugUtils.currentLine=1179683;
 //BA.debugLineNum = 1179683;BA.debugLine="Dim srvIp As String";
_srvip = "";
RDebugUtils.currentLine=1179684;
 //BA.debugLineNum = 1179684;BA.debugLine="Dim phn As Phone";
_phn = new anywheresoftware.b4a.phone.Phone();
RDebugUtils.currentLine=1179685;
 //BA.debugLineNum = 1179685;BA.debugLine="Dim user As EditText";
_user = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=1179686;
 //BA.debugLineNum = 1179686;BA.debugLine="Dim pass As EditText";
_pass = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=1179687;
 //BA.debugLineNum = 1179687;BA.debugLine="Dim c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
RDebugUtils.currentLine=1179688;
 //BA.debugLineNum = 1179688;BA.debugLine="Dim existe As String";
_existe = "";
RDebugUtils.currentLine=1179689;
 //BA.debugLineNum = 1179689;BA.debugLine="Dim paso1 As String";
_paso1 = "";
RDebugUtils.currentLine=1179690;
 //BA.debugLineNum = 1179690;BA.debugLine="Private IMEN As Label";
_imen = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=1179691;
 //BA.debugLineNum = 1179691;BA.debugLine="Dim IMEI As String";
_imei = "";
RDebugUtils.currentLine=1179692;
 //BA.debugLineNum = 1179692;BA.debugLine="Private Label1 As Label";
_label1 = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=1179693;
 //BA.debugLineNum = 1179693;BA.debugLine="Dim server As String";
_server = "";
RDebugUtils.currentLine=1179694;
 //BA.debugLineNum = 1179694;BA.debugLine="Private p_principal As Panel";
_p_principal = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=1179695;
 //BA.debugLineNum = 1179695;BA.debugLine="Private Entrar As Button";
_entrar = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=1179696;
 //BA.debugLineNum = 1179696;BA.debugLine="Public checklist As C_Cheklist";
_checklist = new reparto_mazapa.keymon.lat.c_cheklist();
RDebugUtils.currentLine=1179697;
 //BA.debugLineNum = 1179697;BA.debugLine="Public tabulador As C_tabulador";
_tabulador = new reparto_mazapa.keymon.lat.c_tabulador();
RDebugUtils.currentLine=1179698;
 //BA.debugLineNum = 1179698;BA.debugLine="Dim batt As Int";
_batt = 0;
RDebugUtils.currentLine=1179699;
 //BA.debugLineNum = 1179699;BA.debugLine="Dim porVisitar, entregas, rechazos, montoEntregad";
_porvisitar = "";
_entregas = "";
_rechazos = "";
_montoentregado = "";
_montorechazado = "";
RDebugUtils.currentLine=1179700;
 //BA.debugLineNum = 1179700;BA.debugLine="Private p_appUpdate As Panel";
_p_appupdate = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=1179701;
 //BA.debugLineNum = 1179701;BA.debugLine="Private i_engrane As ImageView";
_i_engrane = new anywheresoftware.b4a.objects.ImageViewWrapper();
RDebugUtils.currentLine=1179702;
 //BA.debugLineNum = 1179702;BA.debugLine="Private b_server As Button";
_b_server = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=1179703;
 //BA.debugLineNum = 1179703;BA.debugLine="Private b_apk As Button";
_b_apk = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=1179704;
 //BA.debugLineNum = 1179704;BA.debugLine="Private b_envioBD As Button";
_b_enviobd = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=1179705;
 //BA.debugLineNum = 1179705;BA.debugLine="Private b_regesar As Button";
_b_regesar = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=1179706;
 //BA.debugLineNum = 1179706;BA.debugLine="Private et_server As EditText";
_et_server = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=1179707;
 //BA.debugLineNum = 1179707;BA.debugLine="Private p_serverList As Panel";
_p_serverlist = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=1179708;
 //BA.debugLineNum = 1179708;BA.debugLine="Private lv_server As ListView";
_lv_server = new anywheresoftware.b4a.objects.ListViewWrapper();
RDebugUtils.currentLine=1179709;
 //BA.debugLineNum = 1179709;BA.debugLine="Public Provider As FileProvider";
_provider = new reparto_mazapa.keymon.lat.fileprovider();
RDebugUtils.currentLine=1179710;
 //BA.debugLineNum = 1179710;BA.debugLine="Public rutaBDBackup As String = \"\"";
_rutabdbackup = "";
RDebugUtils.currentLine=1179711;
 //BA.debugLineNum = 1179711;BA.debugLine="Private B_Can_Monto As Button";
_b_can_monto = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=1179712;
 //BA.debugLineNum = 1179712;BA.debugLine="Private B_Aceptar_Monto As Button";
_b_aceptar_monto = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=1179713;
 //BA.debugLineNum = 1179713;BA.debugLine="Private ET_Add_Monto As EditText";
_et_add_monto = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=1179714;
 //BA.debugLineNum = 1179714;BA.debugLine="Private p_add_monto As Panel";
_p_add_monto = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=1179715;
 //BA.debugLineNum = 1179715;BA.debugLine="Dim sDate, sTime As String";
_sdate = "";
_stime = "";
RDebugUtils.currentLine=1179716;
 //BA.debugLineNum = 1179716;BA.debugLine="Private p_validacion As Panel";
_p_validacion = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=1179717;
 //BA.debugLineNum = 1179717;BA.debugLine="Private b_cancelarcodigo As Button";
_b_cancelarcodigo = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=1179718;
 //BA.debugLineNum = 1179718;BA.debugLine="Private b_aceptar As Button";
_b_aceptar = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=1179719;
 //BA.debugLineNum = 1179719;BA.debugLine="Private et_codigo As EditText";
_et_codigo = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=1179720;
 //BA.debugLineNum = 1179720;BA.debugLine="Private P_CIEGO As Panel";
_p_ciego = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=1179721;
 //BA.debugLineNum = 1179721;BA.debugLine="Private b_terpc As Button";
_b_terpc = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=1179722;
 //BA.debugLineNum = 1179722;BA.debugLine="Private B_PC_ENV As Button";
_b_pc_env = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=1179723;
 //BA.debugLineNum = 1179723;BA.debugLine="Private CLV_PICK_CIEGO As CustomListView";
_clv_pick_ciego = new b4a.example3.customlistview();
RDebugUtils.currentLine=1179724;
 //BA.debugLineNum = 1179724;BA.debugLine="Private et_buspc As EditText";
_et_buspc = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=1179725;
 //BA.debugLineNum = 1179725;BA.debugLine="Dim q_buscar As String";
_q_buscar = "";
RDebugUtils.currentLine=1179726;
 //BA.debugLineNum = 1179726;BA.debugLine="Dim d As Cursor";
_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
RDebugUtils.currentLine=1179727;
 //BA.debugLineNum = 1179727;BA.debugLine="Private L_PICK_CIEGO As Label";
_l_pick_ciego = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=1179728;
 //BA.debugLineNum = 1179728;BA.debugLine="Private ET_PICK_CIEGO As EditText";
_et_pick_ciego = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=1179729;
 //BA.debugLineNum = 1179729;BA.debugLine="Dim a As Cursor";
_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
RDebugUtils.currentLine=1179730;
 //BA.debugLineNum = 1179730;BA.debugLine="Dim f As Cursor";
_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
RDebugUtils.currentLine=1179731;
 //BA.debugLineNum = 1179731;BA.debugLine="Private b_CargarMonto As Button";
_b_cargarmonto = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=1179732;
 //BA.debugLineNum = 1179732;BA.debugLine="Private b_arqueocieego As Button";
_b_arqueocieego = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=1179733;
 //BA.debugLineNum = 1179733;BA.debugLine="Private Label2 As Label";
_label2 = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=1179734;
 //BA.debugLineNum = 1179734;BA.debugLine="Private B4XSwitch2 As B4XSwitch";
_b4xswitch2 = new reparto_mazapa.keymon.lat.b4xswitch();
RDebugUtils.currentLine=1179735;
 //BA.debugLineNum = 1179735;BA.debugLine="Private p_GeoPass As Panel";
_p_geopass = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=1179736;
 //BA.debugLineNum = 1179736;BA.debugLine="Private bAcepGeo As Button";
_bacepgeo = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=1179737;
 //BA.debugLineNum = 1179737;BA.debugLine="Private bCanGeo As Button";
_bcangeo = new anywheresoftware.b4a.objects.ButtonWrapper();
RDebugUtils.currentLine=1179738;
 //BA.debugLineNum = 1179738;BA.debugLine="Private p_centraGeoPass As Panel";
_p_centrageopass = new anywheresoftware.b4a.objects.PanelWrapper();
RDebugUtils.currentLine=1179739;
 //BA.debugLineNum = 1179739;BA.debugLine="Private l_fondoPass As Label";
_l_fondopass = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=1179740;
 //BA.debugLineNum = 1179740;BA.debugLine="Private et_passGeo As EditText";
_et_passgeo = new anywheresoftware.b4a.objects.EditTextWrapper();
RDebugUtils.currentLine=1179741;
 //BA.debugLineNum = 1179741;BA.debugLine="Private l_ingresaPass As Label";
_l_ingresapass = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=1179742;
 //BA.debugLineNum = 1179742;BA.debugLine="End Sub";
return "";
}
public anywheresoftware.b4a.objects.PanelWrapper  _createlistitem(reparto_mazapa.keymon.lat.b4xmainpage __ref,String _id_prod,String _prod,String _cant) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "createlistitem", false))
	 {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_id_prod,_prod,_cant}));}
anywheresoftware.b4a.objects.B4XViewWrapper _pa = null;
RDebugUtils.currentLine=3145728;
 //BA.debugLineNum = 3145728;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri";
RDebugUtils.currentLine=3145729;
 //BA.debugLineNum = 3145729;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")";
_pa = new anywheresoftware.b4a.objects.B4XViewWrapper();
_pa = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"");
RDebugUtils.currentLine=3145730;
 //BA.debugLineNum = 3145730;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)";
_pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10));
RDebugUtils.currentLine=3145731;
 //BA.debugLineNum = 3145731;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")";
_pa.LoadLayout("PANEL_PICK_CIEGO",ba);
RDebugUtils.currentLine=3145732;
 //BA.debugLineNum = 3145732;BA.debugLine="pa.Height = 55dip";
_pa.setHeight(__c.DipToCurrent((int) (55)));
RDebugUtils.currentLine=3145733;
 //BA.debugLineNum = 3145733;BA.debugLine="pa.Width = 298dip";
_pa.setWidth(__c.DipToCurrent((int) (298)));
RDebugUtils.currentLine=3145735;
 //BA.debugLineNum = 3145735;BA.debugLine="L_PICK_CIEGO.Text = Id_prod &  CRLF & Prod";
__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod));
RDebugUtils.currentLine=3145736;
 //BA.debugLineNum = 3145736;BA.debugLine="L_PICK_CIEGO.TextSize = 12";
__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (12));
RDebugUtils.currentLine=3145737;
 //BA.debugLineNum = 3145737;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT";
__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setGravity(__c.Bit.Or(__c.Gravity.CENTER_VERTICAL,__c.Gravity.CENTER_HORIZONTAL));
RDebugUtils.currentLine=3145738;
 //BA.debugLineNum = 3145738;BA.debugLine="ET_PICK_CIEGO.Text = cant";
__ref._et_pick_ciego /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_cant));
RDebugUtils.currentLine=3145741;
 //BA.debugLineNum = 3145741;BA.debugLine="Return pa";
if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_pa.getObject()));
RDebugUtils.currentLine=3145742;
 //BA.debugLineNum = 3145742;BA.debugLine="End Sub";
return null;
}
public anywheresoftware.b4a.objects.PanelWrapper  _createlistitem2(reparto_mazapa.keymon.lat.b4xmainpage __ref,String _id_prod,String _prod) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "createlistitem2", false))
	 {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem2", new Object[] {_id_prod,_prod}));}
anywheresoftware.b4a.objects.B4XViewWrapper _pa = null;
RDebugUtils.currentLine=3211264;
 //BA.debugLineNum = 3211264;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str";
RDebugUtils.currentLine=3211265;
 //BA.debugLineNum = 3211265;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")";
_pa = new anywheresoftware.b4a.objects.B4XViewWrapper();
_pa = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"");
RDebugUtils.currentLine=3211266;
 //BA.debugLineNum = 3211266;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)";
_pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10));
RDebugUtils.currentLine=3211267;
 //BA.debugLineNum = 3211267;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")";
_pa.LoadLayout("PANEL_PICK_CIEGO",ba);
RDebugUtils.currentLine=3211268;
 //BA.debugLineNum = 3211268;BA.debugLine="pa.Height = 55dip";
_pa.setHeight(__c.DipToCurrent((int) (55)));
RDebugUtils.currentLine=3211269;
 //BA.debugLineNum = 3211269;BA.debugLine="pa.Width = 298dip";
_pa.setWidth(__c.DipToCurrent((int) (298)));
RDebugUtils.currentLine=3211271;
 //BA.debugLineNum = 3211271;BA.debugLine="L_PICK_CIEGO.Text = Id_prod &  CRLF & Prod";
__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod));
RDebugUtils.currentLine=3211272;
 //BA.debugLineNum = 3211272;BA.debugLine="L_PICK_CIEGO.TextSize = 12";
__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (12));
RDebugUtils.currentLine=3211273;
 //BA.debugLineNum = 3211273;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT";
__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setGravity(__c.Bit.Or(__c.Gravity.CENTER_VERTICAL,__c.Gravity.CENTER_HORIZONTAL));
RDebugUtils.currentLine=3211276;
 //BA.debugLineNum = 3211276;BA.debugLine="Return pa";
if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_pa.getObject()));
RDebugUtils.currentLine=3211277;
 //BA.debugLineNum = 3211277;BA.debugLine="End Sub";
return null;
}
public String  _entrar_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "entrar_click", false))
	 {return ((String) Debug.delegate(ba, "entrar_click", null));}
reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null;
RDebugUtils.currentLine=1441792;
 //BA.debugLineNum = 1441792;BA.debugLine="Sub Entrar_Click";
RDebugUtils.currentLine=1441793;
 //BA.debugLineNum = 1441793;BA.debugLine="If pass.Text = \"YA\" Then";
if ((__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("YA")) { 
RDebugUtils.currentLine=1441794;
 //BA.debugLineNum = 1441794;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa\"";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa");
RDebugUtils.currentLine=1441795;
 //BA.debugLineNum = 1441795;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSION\")";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION");
RDebugUtils.currentLine=1441796;
 //BA.debugLineNum = 1441796;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIOA";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("ROOT"),(Object)("ROOT")}));
RDebugUtils.currentLine=1441797;
 //BA.debugLineNum = 1441797;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_almac";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen");
RDebugUtils.currentLine=1441798;
 //BA.debugLineNum = 1441798;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMA";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}));
RDebugUtils.currentLine=1441799;
 //BA.debugLineNum = 1441799;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSION(";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("2.1")}));
RDebugUtils.currentLine=1441802;
 //BA.debugLineNum = 1441802;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
_b4xpages._showpage /*String*/ (ba,"Principal");
 }else {
RDebugUtils.currentLine=1441804;
 //BA.debugLineNum = 1441804;BA.debugLine="c=Starter.skmt.ExecQuery2(\"select count(*) as EX";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as EXISTE1 from usuarioa where usuario = ?",new String[]{__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()})));
RDebugUtils.currentLine=1441805;
 //BA.debugLineNum = 1441805;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=1441806;
 //BA.debugLineNum = 1441806;BA.debugLine="existe = c.GetString(\"EXISTE1\")";
__ref._existe /*String*/  = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE1");
RDebugUtils.currentLine=1441807;
 //BA.debugLineNum = 1441807;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=1441809;
 //BA.debugLineNum = 1441809;BA.debugLine="If existe = 0 Then";
if ((__ref._existe /*String*/ ).equals(BA.NumberToString(0))) { 
RDebugUtils.currentLine=1441811;
 //BA.debugLineNum = 1441811;BA.debugLine="Dim cmd As DBCommand";
_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=1441812;
 //BA.debugLineNum = 1441812;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=1441813;
 //BA.debugLineNum = 1441813;BA.debugLine="cmd.Name = \"select_usuario_MAZAPA_REPG\"";
_cmd.Name /*String*/  = "select_usuario_MAZAPA_REPG";
RDebugUtils.currentLine=1441814;
 //BA.debugLineNum = 1441814;BA.debugLine="cmd.Parameters = Array As Object(user.Text, pas";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())};
RDebugUtils.currentLine=1441815;
 //BA.debugLineNum = 1441815;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario\")";
__ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)("usuario"));
 }else {
RDebugUtils.currentLine=1441823;
 //BA.debugLineNum = 1441823;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
_b4xpages._showpage /*String*/ (ba,"Principal");
 };
 };
RDebugUtils.currentLine=1441826;
 //BA.debugLineNum = 1441826;BA.debugLine="End Sub";
return "";
}
public String  _enviarmonto(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "enviarmonto", false))
	 {return ((String) Debug.delegate(ba, "enviarmonto", null));}
anywheresoftware.b4a.sql.SQL.CursorWrapper _a2 = null;
String[] _fecha = null;
String[] _fecha2 = null;
String _fecha3 = "";
String[] _hora = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _ci = null;
String _u = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _g = null;
reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null;
RDebugUtils.currentLine=2424832;
 //BA.debugLineNum = 2424832;BA.debugLine="Sub enviarmonto";
RDebugUtils.currentLine=2424834;
 //BA.debugLineNum = 2424834;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
RDebugUtils.currentLine=2424835;
 //BA.debugLineNum = 2424835;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = __c.DateTime.Date(__c.DateTime.getNow());
RDebugUtils.currentLine=2424836;
 //BA.debugLineNum = 2424836;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = __c.DateTime.Time(__c.DateTime.getNow());
RDebugUtils.currentLine=2424838;
 //BA.debugLineNum = 2424838;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec";
_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA")));
RDebugUtils.currentLine=2424839;
 //BA.debugLineNum = 2424839;BA.debugLine="f.Position=0";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=2424841;
 //BA.debugLineNum = 2424841;BA.debugLine="Private a As Cursor=Starter.skmt.ExecQuery(\"selec";
_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
RDebugUtils.currentLine=2424842;
 //BA.debugLineNum = 2424842;BA.debugLine="If a.RowCount>0 Then";
if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=2424843;
 //BA.debugLineNum = 2424843;BA.debugLine="a.Position=0";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
 };
RDebugUtils.currentLine=2424846;
 //BA.debugLineNum = 2424846;BA.debugLine="Private a2 As Cursor = Starter.skmt.ExecQuery(\"SE";
_a2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_a2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS")));
RDebugUtils.currentLine=2424847;
 //BA.debugLineNum = 2424847;BA.debugLine="If a2.RowCount>0 Then";
if (_a2.getRowCount()>0) { 
RDebugUtils.currentLine=2424848;
 //BA.debugLineNum = 2424848;BA.debugLine="a2.Position=0";
_a2.setPosition((int) (0));
RDebugUtils.currentLine=2424849;
 //BA.debugLineNum = 2424849;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", a2.GetS";
_fecha = __c.Regex.Split(" ",_a2.GetString("HVD_FECHA"));
RDebugUtils.currentLine=2424850;
 //BA.debugLineNum = 2424850;BA.debugLine="Dim fecha2() As String = Regex.Split(\"-\", fecha(";
_fecha2 = __c.Regex.Split("-",_fecha[(int) (0)]);
RDebugUtils.currentLine=2424851;
 //BA.debugLineNum = 2424851;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\"";
_fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)];
RDebugUtils.currentLine=2424852;
 //BA.debugLineNum = 2424852;BA.debugLine="Log(fecha3)";
__c.LogImpl("32424852",_fecha3,0);
RDebugUtils.currentLine=2424853;
 //BA.debugLineNum = 2424853;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1";
_hora = __c.Regex.Split("\\.",_fecha[(int) (1)]);
RDebugUtils.currentLine=2424854;
 //BA.debugLineNum = 2424854;BA.debugLine="Log(hora(0))";
__c.LogImpl("32424854",_hora[(int) (0)],0);
 };
RDebugUtils.currentLine=2424859;
 //BA.debugLineNum = 2424859;BA.debugLine="Private cI As Cursor";
_ci = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
RDebugUtils.currentLine=2424860;
 //BA.debugLineNum = 2424860;BA.debugLine="Private u As String = \"SinUsuario\"";
_u = "SinUsuario";
RDebugUtils.currentLine=2424861;
 //BA.debugLineNum = 2424861;BA.debugLine="cI=Starter.skmt.ExecQuery(\"select USUARIO from us";
_ci = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa")));
RDebugUtils.currentLine=2424862;
 //BA.debugLineNum = 2424862;BA.debugLine="cI.Position=0";
_ci.setPosition((int) (0));
RDebugUtils.currentLine=2424863;
 //BA.debugLineNum = 2424863;BA.debugLine="If cI.RowCount > 0 Then u = cI.GetString(\"USUARIO";
if (_ci.getRowCount()>0) { 
_u = _ci.GetString("USUARIO");};
RDebugUtils.currentLine=2424864;
 //BA.debugLineNum = 2424864;BA.debugLine="Private g As Cursor = Starter.skmt.ExecQuery(\"sel";
_g = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_g = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from ENV_MONTO_LIQ")));
RDebugUtils.currentLine=2424865;
 //BA.debugLineNum = 2424865;BA.debugLine="If g.RowCount = 0 Then";
if (_g.getRowCount()==0) { 
RDebugUtils.currentLine=2424866;
 //BA.debugLineNum = 2424866;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ENV_MONT";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ENV_MONTO_LIQ VALUES (?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._et_add_monto /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN")),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA")),(Object)(_u),(Object)(_fecha3+" "+_hora[(int) (0)])}));
RDebugUtils.currentLine=2424867;
 //BA.debugLineNum = 2424867;BA.debugLine="f.Close";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=2424868;
 //BA.debugLineNum = 2424868;BA.debugLine="a.Close";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=2424871;
 //BA.debugLineNum = 2424871;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM ENV_MO";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM ENV_MONTO_LIQ")));
RDebugUtils.currentLine=2424872;
 //BA.debugLineNum = 2424872;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=2424873;
 //BA.debugLineNum = 2424873;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=2424874;
 //BA.debugLineNum = 2424874;BA.debugLine="Dim cmd As DBCommand";
_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=2424875;
 //BA.debugLineNum = 2424875;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=2424876;
 //BA.debugLineNum = 2424876;BA.debugLine="cmd.Name = \"select_MontoCuenta_MAZAPArep\"";
_cmd.Name /*String*/  = "select_MontoCuenta_MAZAPArep";
RDebugUtils.currentLine=2424877;
 //BA.debugLineNum = 2424877;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"E";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_ALMACEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_FECHA_PED"))};
RDebugUtils.currentLine=2424878;
 //BA.debugLineNum = 2424878;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLi";
__ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)("SelectMontoLiq"));
 };
RDebugUtils.currentLine=2424880;
 //BA.debugLineNum = 2424880;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 }else {
RDebugUtils.currentLine=2424882;
 //BA.debugLineNum = 2424882;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE ENV_MONTO_LIQ";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE ENV_MONTO_LIQ SET EML_MONTO = ? WHERE EML_ALMACEN = ? AND EML_RUTA = ? AND EML_USUARIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._et_add_monto /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),_ci.GetString("USUARIO")}));
RDebugUtils.currentLine=2424883;
 //BA.debugLineNum = 2424883;BA.debugLine="f.Close";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=2424884;
 //BA.debugLineNum = 2424884;BA.debugLine="a.Close";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=2424886;
 //BA.debugLineNum = 2424886;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM ENV_MO";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM ENV_MONTO_LIQ")));
RDebugUtils.currentLine=2424887;
 //BA.debugLineNum = 2424887;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=2424888;
 //BA.debugLineNum = 2424888;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=2424889;
 //BA.debugLineNum = 2424889;BA.debugLine="Dim cmd As DBCommand";
_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=2424890;
 //BA.debugLineNum = 2424890;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=2424891;
 //BA.debugLineNum = 2424891;BA.debugLine="cmd.Name = \"select_MontoCuenta_MAZAPArep\"";
_cmd.Name /*String*/  = "select_MontoCuenta_MAZAPArep";
RDebugUtils.currentLine=2424892;
 //BA.debugLineNum = 2424892;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"E";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_ALMACEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_FECHA_PED"))};
RDebugUtils.currentLine=2424893;
 //BA.debugLineNum = 2424893;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLi";
__ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)("SelectMontoLiq"));
 };
RDebugUtils.currentLine=2424895;
 //BA.debugLineNum = 2424895;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 };
RDebugUtils.currentLine=2424898;
 //BA.debugLineNum = 2424898;BA.debugLine="p_add_monto.Visible = False";
__ref._p_add_monto /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=2424900;
 //BA.debugLineNum = 2424900;BA.debugLine="End Sub";
return "";
}
public String  _et_buspc_textchanged(reparto_mazapa.keymon.lat.b4xmainpage __ref,String _old,String _new) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "et_buspc_textchanged", false))
	 {return ((String) Debug.delegate(ba, "et_buspc_textchanged", new Object[] {_old,_new}));}
int _i = 0;
RDebugUtils.currentLine=2621440;
 //BA.debugLineNum = 2621440;BA.debugLine="Private Sub et_buspc_TextChanged (Old As String, N";
RDebugUtils.currentLine=2621441;
 //BA.debugLineNum = 2621441;BA.debugLine="If New = \"\" Then";
if ((_new).equals("")) { 
RDebugUtils.currentLine=2621442;
 //BA.debugLineNum = 2621442;BA.debugLine="CLV_PICK_CIEGO.Clear";
__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear();
 }else 
{RDebugUtils.currentLine=2621443;
 //BA.debugLineNum = 2621443;BA.debugLine="Else If New.Length >= 3 Then";
if (_new.length()>=3) { 
RDebugUtils.currentLine=2621444;
 //BA.debugLineNum = 2621444;BA.debugLine="CLV_PICK_CIEGO.Clear";
__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear();
RDebugUtils.currentLine=2621446;
 //BA.debugLineNum = 2621446;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\"";
__ref._q_buscar /*String*/  = "%"+__ref._et_buspc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()+"%";
RDebugUtils.currentLine=2621447;
 //BA.debugLineNum = 2621447;BA.debugLine="Log(q_buscar)";
__c.LogImpl("32621447",__ref._q_buscar /*String*/ ,0);
RDebugUtils.currentLine=2621448;
 //BA.debugLineNum = 2621448;BA.debugLine="c=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBRE";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID , ifnull(PC_CANT,0) AS PC_CANT FROM CAT_GUNAPROD3 INNER JOIN PICK_CIEGO ON PC_ID_PROD = CAT_GP_ID AND PC_NOM_PROD = CAT_GP_NOMBRE WHERE (CAT_GP_NOMBRE LIKE ? OR  CAT_GP_ID  LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"),new String[]{__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ })));
RDebugUtils.currentLine=2621449;
 //BA.debugLineNum = 2621449;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=2621452;
 //BA.debugLineNum = 2621452;BA.debugLine="For i = 0 To c.RowCount - 1";
{
final int step9 = 1;
final int limit9 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit9 ;_i = _i + step9 ) {
RDebugUtils.currentLine=2621453;
 //BA.debugLineNum = 2621453;BA.debugLine="c.Position = i";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=2621454;
 //BA.debugLineNum = 2621454;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem(c.GetString(";
__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CANT")).getObject())),(Object)(_i));
 }
};
RDebugUtils.currentLine=2621457;
 //BA.debugLineNum = 2621457;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=2621459;
 //BA.debugLineNum = 2621459;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR";
__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR  CAT_GP_ID  LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'AND CAT_GP_ID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO)"),new String[]{__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ })));
RDebugUtils.currentLine=2621461;
 //BA.debugLineNum = 2621461;BA.debugLine="For i = 0 To d.RowCount - 1";
{
final int step15 = 1;
final int limit15 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit15 ;_i = _i + step15 ) {
RDebugUtils.currentLine=2621462;
 //BA.debugLineNum = 2621462;BA.debugLine="d.Position = i";
__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=2621463;
 //BA.debugLineNum = 2621463;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString";
__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem2 /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")).getObject())),(Object)(_i));
 }
};
RDebugUtils.currentLine=2621466;
 //BA.debugLineNum = 2621466;BA.debugLine="d.Close";
__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 }else 
{RDebugUtils.currentLine=2621468;
 //BA.debugLineNum = 2621468;BA.debugLine="Else If c.RowCount = 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { 
RDebugUtils.currentLine=2621469;
 //BA.debugLineNum = 2621469;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR";
__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR  CAT_GP_ID  LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"),new String[]{__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ })));
RDebugUtils.currentLine=2621471;
 //BA.debugLineNum = 2621471;BA.debugLine="For i = 0 To d.RowCount - 1";
{
final int step22 = 1;
final int limit22 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit22 ;_i = _i + step22 ) {
RDebugUtils.currentLine=2621472;
 //BA.debugLineNum = 2621472;BA.debugLine="d.Position = i";
__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i);
RDebugUtils.currentLine=2621473;
 //BA.debugLineNum = 2621473;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString";
__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem2 /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")).getObject())),(Object)(_i));
 }
};
RDebugUtils.currentLine=2621476;
 //BA.debugLineNum = 2621476;BA.debugLine="d.Close";
__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 }}
;
 }}
;
RDebugUtils.currentLine=2621479;
 //BA.debugLineNum = 2621479;BA.debugLine="End Sub";
return "";
}
public String  _i_engrane_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "i_engrane_click", false))
	 {return ((String) Debug.delegate(ba, "i_engrane_click", null));}
RDebugUtils.currentLine=1572864;
 //BA.debugLineNum = 1572864;BA.debugLine="Private Sub i_engrane_Click";
RDebugUtils.currentLine=1572865;
 //BA.debugLineNum = 1572865;BA.debugLine="p_appUpdate.Width = Root.Width";
__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=1572866;
 //BA.debugLineNum = 1572866;BA.debugLine="p_appUpdate.Height = Root.Height";
__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=1572867;
 //BA.debugLineNum = 1572867;BA.debugLine="Subs.centraPanel(p_serverList, Root.Width)";
_subs._centrapanel /*String*/ (ba,__ref._p_serverlist /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=1572868;
 //BA.debugLineNum = 1572868;BA.debugLine="Subs.centraBoton(b_server, Root.Width)";
_subs._centraboton /*String*/ (ba,__ref._b_server /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=1572869;
 //BA.debugLineNum = 1572869;BA.debugLine="Subs.centraBoton(b_apk, Root.Width)";
_subs._centraboton /*String*/ (ba,__ref._b_apk /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=1572870;
 //BA.debugLineNum = 1572870;BA.debugLine="Subs.centraBoton(b_envioBD, Root.Width)";
_subs._centraboton /*String*/ (ba,__ref._b_enviobd /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=1572871;
 //BA.debugLineNum = 1572871;BA.debugLine="Subs.centraBoton(b_regesar, Root.Width)";
_subs._centraboton /*String*/ (ba,__ref._b_regesar /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=1572872;
 //BA.debugLineNum = 1572872;BA.debugLine="Subs.centraBoton(b_CargarMonto, Root.Width)";
_subs._centraboton /*String*/ (ba,__ref._b_cargarmonto /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=1572873;
 //BA.debugLineNum = 1572873;BA.debugLine="Subs.centraBoton(b_arqueocieego, Root.Width)";
_subs._centraboton /*String*/ (ba,__ref._b_arqueocieego /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth());
RDebugUtils.currentLine=1572874;
 //BA.debugLineNum = 1572874;BA.debugLine="Subs.centraBoton(b_server, p_serverList.Width)";
_subs._centraboton /*String*/ (ba,__ref._b_server /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._p_serverlist /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth());
RDebugUtils.currentLine=1572875;
 //BA.debugLineNum = 1572875;BA.debugLine="lv_server.Clear";
__ref._lv_server /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear();
RDebugUtils.currentLine=1572876;
 //BA.debugLineNum = 1572876;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.lat:1782\")";
__ref._lv_server /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("http://keymon.lat:1782"));
RDebugUtils.currentLine=1572877;
 //BA.debugLineNum = 1572877;BA.debugLine="If user.Text = \"KMTS1\" Then lv_server.AddSingleLi";
if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("KMTS1")) { 
__ref._lv_server /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("http://10.0.0.205:1782"));};
RDebugUtils.currentLine=1572879;
 //BA.debugLineNum = 1572879;BA.debugLine="et_server.Text = server";
__ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._server /*String*/ ));
RDebugUtils.currentLine=1572880;
 //BA.debugLineNum = 1572880;BA.debugLine="Subs.panelVisible(p_appUpdate, 0, 0)";
_subs._panelvisible /*String*/ (ba,__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0));
RDebugUtils.currentLine=1572882;
 //BA.debugLineNum = 1572882;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT HABILITADO FRO";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HABILITADO FROM GPS")));
RDebugUtils.currentLine=1572883;
 //BA.debugLineNum = 1572883;BA.debugLine="If c.RowCount = 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { 
RDebugUtils.currentLine=1572884;
 //BA.debugLineNum = 1572884;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO GPS VALU";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO GPS VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)}));
 };
RDebugUtils.currentLine=1572887;
 //BA.debugLineNum = 1572887;BA.debugLine="End Sub";
return "";
}
public String  _imageview1_longclick(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "imageview1_longclick", false))
	 {return ((String) Debug.delegate(ba, "imageview1_longclick", null));}
RDebugUtils.currentLine=3276800;
 //BA.debugLineNum = 3276800;BA.debugLine="Private Sub ImageView1_LongClick";
RDebugUtils.currentLine=3276802;
 //BA.debugLineNum = 3276802;BA.debugLine="End Sub";
return "";
}
public String  _jobdone(reparto_mazapa.keymon.lat.b4xmainpage __ref,reparto_mazapa.keymon.lat.httpjob _job) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "jobdone", false))
	 {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));}
reparto_mazapa.keymon.lat.dbrequestmanager._dbresult _result = null;
Object[] _records = null;
String _cat_ve_version = "";
String _id_almacen = "";
double _lat = 0;
double _lon = 0;
String _name = "";
String _imei_base = "";
String _cat_pa_pass = "";
String _id = "";
String _cuenta = "";
reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null;
String _hvd_estatus = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null;
RDebugUtils.currentLine=1507328;
 //BA.debugLineNum = 1507328;BA.debugLine="Sub JobDone(Job As HttpJob)";
RDebugUtils.currentLine=1507329;
 //BA.debugLineNum = 1507329;BA.debugLine="If Job.Success = False Then";
if (_job._success /*boolean*/ ==__c.False) { 
RDebugUtils.currentLine=1507330;
 //BA.debugLineNum = 1507330;BA.debugLine="ToastMessageShow(\"Error: \" & Job.ErrorMessage, T";
__c.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_job._errormessage /*String*/ ),__c.True);
 }else {
RDebugUtils.currentLine=1507332;
 //BA.debugLineNum = 1507332;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) { 
RDebugUtils.currentLine=1507333;
 //BA.debugLineNum = 1507333;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
_result = __ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (null,_job);
RDebugUtils.currentLine=1507334;
 //BA.debugLineNum = 1507334;BA.debugLine="If result.Tag = \"version\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { 
RDebugUtils.currentLine=1507335;
 //BA.debugLineNum = 1507335;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group7 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen7 = group7.getSize()
;int index7 = 0;
;
for (; index7 < groupLen7;index7++){
_records = (Object[])(group7.Get(index7));
RDebugUtils.currentLine=1507336;
 //BA.debugLineNum = 1507336;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION");
RDebugUtils.currentLine=1507337;
 //BA.debugLineNum = 1507337;BA.debugLine="Dim CAT_VE_VERSION As String = records(result";
_cat_ve_version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_VERSION"))))]);
RDebugUtils.currentLine=1507338;
 //BA.debugLineNum = 1507338;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSI";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)}));
 }
};
 };
 };
RDebugUtils.currentLine=1507343;
 //BA.debugLineNum = 1507343;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) { 
RDebugUtils.currentLine=1507344;
 //BA.debugLineNum = 1507344;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
_result = __ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (null,_job);
RDebugUtils.currentLine=1507345;
 //BA.debugLineNum = 1507345;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("agencia"))) { 
RDebugUtils.currentLine=1507346;
 //BA.debugLineNum = 1507346;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group17 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen17 = group17.getSize()
;int index17 = 0;
;
for (; index17 < groupLen17;index17++){
_records = (Object[])(group17.Get(index17));
RDebugUtils.currentLine=1507348;
 //BA.debugLineNum = 1507348;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col";
_id_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("ID_ALMACEN"))))]);
 }
};
 };
 };
RDebugUtils.currentLine=1507353;
 //BA.debugLineNum = 1507353;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) { 
RDebugUtils.currentLine=1507354;
 //BA.debugLineNum = 1507354;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
_result = __ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (null,_job);
RDebugUtils.currentLine=1507355;
 //BA.debugLineNum = 1507355;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta";
if ((_result.Tag /*Object*/ ).equals((Object)("coords_almacen"))) { 
RDebugUtils.currentLine=1507356;
 //BA.debugLineNum = 1507356;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group25 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen25 = group25.getSize()
;int index25 = 0;
;
for (; index25 < groupLen25;index25++){
_records = (Object[])(group25.Get(index25));
RDebugUtils.currentLine=1507357;
 //BA.debugLineNum = 1507357;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res";
__c.LogImpl("31507357","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0);
RDebugUtils.currentLine=1507358;
 //BA.debugLineNum = 1507358;BA.debugLine="Private lat, lon As Double";
_lat = 0;
_lon = 0;
RDebugUtils.currentLine=1507359;
 //BA.debugLineNum = 1507359;BA.debugLine="lat = 0.0";
_lat = 0.0;
RDebugUtils.currentLine=1507360;
 //BA.debugLineNum = 1507360;BA.debugLine="lon = 0.0";
_lon = 0.0;
RDebugUtils.currentLine=1507361;
 //BA.debugLineNum = 1507361;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A";
if (__c.IsNumber(BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])) && __c.IsNumber(BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]))) { 
RDebugUtils.currentLine=1507362;
 //BA.debugLineNum = 1507362;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT";
_lat = (double)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))]));
RDebugUtils.currentLine=1507363;
 //BA.debugLineNum = 1507363;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON";
_lon = (double)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]));
 };
RDebugUtils.currentLine=1507365;
 //BA.debugLineNum = 1507365;BA.debugLine="Starter.cedisLocation.Latitude = lat";
_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLatitude(_lat);
RDebugUtils.currentLine=1507366;
 //BA.debugLineNum = 1507366;BA.debugLine="Starter.cedisLocation.Longitude = lon";
_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLongitude(_lon);
RDebugUtils.currentLine=1507367;
 //BA.debugLineNum = 1507367;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COORDS_ALMACEN")}));
RDebugUtils.currentLine=1507368;
 //BA.debugLineNum = 1507368;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COORDS_ALMACEN"),(Object)(BA.NumberToString(_lon)+","+BA.NumberToString(_lat))}));
 }
};
 };
 };
RDebugUtils.currentLine=1507374;
 //BA.debugLineNum = 1507374;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) { 
RDebugUtils.currentLine=1507375;
 //BA.debugLineNum = 1507375;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
_result = __ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (null,_job);
RDebugUtils.currentLine=1507376;
 //BA.debugLineNum = 1507376;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("usuario"))) { 
RDebugUtils.currentLine=1507377;
 //BA.debugLineNum = 1507377;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group44 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen44 = group44.getSize()
;int index44 = 0;
;
for (; index44 < groupLen44;index44++){
_records = (Object[])(group44.Get(index44));
RDebugUtils.currentLine=1507378;
 //BA.debugLineNum = 1507378;BA.debugLine="Dim name As String = records(result.Columns.G";
_name = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("USUARIO"))))]);
RDebugUtils.currentLine=1507379;
 //BA.debugLineNum = 1507379;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col";
_id_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_AGENCIA"))))]);
RDebugUtils.currentLine=1507380;
 //BA.debugLineNum = 1507380;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu";
_imei_base = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]);
 }
};
RDebugUtils.currentLine=1507382;
 //BA.debugLineNum = 1507382;BA.debugLine="paso1 = 1";
__ref._paso1 /*String*/  = BA.NumberToString(1);
 };
 };
RDebugUtils.currentLine=1507386;
 //BA.debugLineNum = 1507386;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) { 
RDebugUtils.currentLine=1507387;
 //BA.debugLineNum = 1507387;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
_result = __ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (null,_job);
RDebugUtils.currentLine=1507388;
 //BA.debugLineNum = 1507388;BA.debugLine="If result.Tag = \"contrasena\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("contrasena"))) { 
RDebugUtils.currentLine=1507389;
 //BA.debugLineNum = 1507389;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group55 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen55 = group55.getSize()
;int index55 = 0;
;
for (; index55 < groupLen55;index55++){
_records = (Object[])(group55.Get(index55));
RDebugUtils.currentLine=1507390;
 //BA.debugLineNum = 1507390;BA.debugLine="Dim CAT_PA_PASS As String = records(result.Co";
_cat_pa_pass = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_PASS"))))]);
RDebugUtils.currentLine=1507391;
 //BA.debugLineNum = 1507391;BA.debugLine="If CAT_PA_PASS = et_codigo.Text Then";
if ((_cat_pa_pass).equals(__ref._et_codigo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())) { 
RDebugUtils.currentLine=1507392;
 //BA.debugLineNum = 1507392;BA.debugLine="Log(CAT_PA_PASS)";
__c.LogImpl("31507392",_cat_pa_pass,0);
RDebugUtils.currentLine=1507393;
 //BA.debugLineNum = 1507393;BA.debugLine="p_validacion.Visible = False";
__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=1507394;
 //BA.debugLineNum = 1507394;BA.debugLine="et_codigo.Text = \"\"";
__ref._et_codigo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=1507396;
 //BA.debugLineNum = 1507396;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)";
_subs._panelvisible /*String*/ (ba,__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0));
 }else {
RDebugUtils.currentLine=1507399;
 //BA.debugLineNum = 1507399;BA.debugLine="MsgboxAsync(\"Contraseña incorrecta\",\"Atenció";
__c.MsgboxAsync(BA.ObjectToCharSequence("Contraseña incorrecta"),BA.ObjectToCharSequence("Atención"),ba);
 };
 }
};
 };
 };
RDebugUtils.currentLine=1507405;
 //BA.debugLineNum = 1507405;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) { 
RDebugUtils.currentLine=1507406;
 //BA.debugLineNum = 1507406;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
_result = __ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (null,_job);
RDebugUtils.currentLine=1507407;
 //BA.debugLineNum = 1507407;BA.debugLine="If result.Tag.As(String).IndexOf(\"PICK_C_\") > -";
if ((BA.ObjectToString(_result.Tag /*Object*/ )).indexOf("PICK_C_")>-1) { 
RDebugUtils.currentLine=1507409;
 //BA.debugLineNum = 1507409;BA.debugLine="Private id As String= result.Tag";
_id = BA.ObjectToString(_result.Tag /*Object*/ );
RDebugUtils.currentLine=1507410;
 //BA.debugLineNum = 1507410;BA.debugLine="id = id.SubString(id.IndexOf(\"_\")+3)";
_id = _id.substring((int) (_id.indexOf("_")+3));
RDebugUtils.currentLine=1507411;
 //BA.debugLineNum = 1507411;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group73 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen73 = group73.getSize()
;int index73 = 0;
;
for (; index73 < groupLen73;index73++){
_records = (Object[])(group73.Get(index73));
RDebugUtils.currentLine=1507412;
 //BA.debugLineNum = 1507412;BA.debugLine="Dim CUENTA As String = records(result.Columns";
_cuenta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUENTA"))))]);
RDebugUtils.currentLine=1507413;
 //BA.debugLineNum = 1507413;BA.debugLine="Log(CUENTA)";
__c.LogImpl("31507413",_cuenta,0);
RDebugUtils.currentLine=1507414;
 //BA.debugLineNum = 1507414;BA.debugLine="Log(id)";
__c.LogImpl("31507414",_id,0);
RDebugUtils.currentLine=1507415;
 //BA.debugLineNum = 1507415;BA.debugLine="If CUENTA = 0 Then";
if ((_cuenta).equals(BA.NumberToString(0))) { 
RDebugUtils.currentLine=1507416;
 //BA.debugLineNum = 1507416;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD = ?",new String[]{_id})));
RDebugUtils.currentLine=1507417;
 //BA.debugLineNum = 1507417;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=1507419;
 //BA.debugLineNum = 1507419;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=1507420;
 //BA.debugLineNum = 1507420;BA.debugLine="Dim cmd As DBCommand";
_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=1507421;
 //BA.debugLineNum = 1507421;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=1507422;
 //BA.debugLineNum = 1507422;BA.debugLine="cmd.Name = \"insert_PICKCIEGO_MAZAPA\"";
_cmd.Name /*String*/  = "insert_PICKCIEGO_MAZAPA";
RDebugUtils.currentLine=1507423;
 //BA.debugLineNum = 1507423;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_ID_PROD")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOM_PROD")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_ALMACEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FECHA")),(Object)("REPARTO")};
RDebugUtils.currentLine=1507424;
 //BA.debugLineNum = 1507424;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_PC\")";
__ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("ins_PC"));
 };
RDebugUtils.currentLine=1507427;
 //BA.debugLineNum = 1507427;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 }else 
{RDebugUtils.currentLine=1507428;
 //BA.debugLineNum = 1507428;BA.debugLine="Else if CUENTA > 0 Then";
if ((double)(Double.parseDouble(_cuenta))>0) { 
RDebugUtils.currentLine=1507429;
 //BA.debugLineNum = 1507429;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD= ?",new String[]{_id})));
RDebugUtils.currentLine=1507430;
 //BA.debugLineNum = 1507430;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=1507432;
 //BA.debugLineNum = 1507432;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=1507433;
 //BA.debugLineNum = 1507433;BA.debugLine="Dim cmd As DBCommand";
_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=1507434;
 //BA.debugLineNum = 1507434;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=1507435;
 //BA.debugLineNum = 1507435;BA.debugLine="cmd.Name = \"update_PICKCIEGO_MAZAPA\"";
_cmd.Name /*String*/  = "update_PICKCIEGO_MAZAPA";
RDebugUtils.currentLine=1507436;
 //BA.debugLineNum = 1507436;BA.debugLine="Log(\"FECHA\" & c.GetString(\"PC_FECHA\"))";
__c.LogImpl("31507436","FECHA"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FECHA"),0);
RDebugUtils.currentLine=1507437;
 //BA.debugLineNum = 1507437;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_ID_PROD")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_ALMACEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FECHA")),(Object)("REPARTO")};
RDebugUtils.currentLine=1507438;
 //BA.debugLineNum = 1507438;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_PC\")";
__ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("update_PC"));
 };
RDebugUtils.currentLine=1507441;
 //BA.debugLineNum = 1507441;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 }}
;
 }
};
 };
 };
RDebugUtils.currentLine=1507448;
 //BA.debugLineNum = 1507448;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) { 
RDebugUtils.currentLine=1507449;
 //BA.debugLineNum = 1507449;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
_result = __ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (null,_job);
RDebugUtils.currentLine=1507450;
 //BA.debugLineNum = 1507450;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("estatus"))) { 
RDebugUtils.currentLine=1507451;
 //BA.debugLineNum = 1507451;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group107 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen107 = group107.getSize()
;int index107 = 0;
;
for (; index107 < groupLen107;index107++){
_records = (Object[])(group107.Get(index107));
RDebugUtils.currentLine=1507452;
 //BA.debugLineNum = 1507452;BA.debugLine="Dim hvd_estatus As String = records(result.Co";
_hvd_estatus = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_ESTATUS"))))]);
RDebugUtils.currentLine=1507453;
 //BA.debugLineNum = 1507453;BA.debugLine="If hvd_estatus = \"Liquidado\" Then";
if ((_hvd_estatus).equals("Liquidado")) { 
RDebugUtils.currentLine=1507455;
 //BA.debugLineNum = 1507455;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate";
__c.MsgboxAsync(BA.ObjectToCharSequence("La venta ya fue liquidada"),BA.ObjectToCharSequence("Atención"),ba);
 }else {
RDebugUtils.currentLine=1507457;
 //BA.debugLineNum = 1507457;BA.debugLine="enviarmonto";
__ref._enviarmonto /*String*/ (null);
 };
 }
};
 };
 };
RDebugUtils.currentLine=1507463;
 //BA.debugLineNum = 1507463;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) { 
RDebugUtils.currentLine=1507464;
 //BA.debugLineNum = 1507464;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
_result = __ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (null,_job);
RDebugUtils.currentLine=1507465;
 //BA.debugLineNum = 1507465;BA.debugLine="If result.Tag = \"estatus2\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("estatus2"))) { 
RDebugUtils.currentLine=1507466;
 //BA.debugLineNum = 1507466;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group120 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen120 = group120.getSize()
;int index120 = 0;
;
for (; index120 < groupLen120;index120++){
_records = (Object[])(group120.Get(index120));
RDebugUtils.currentLine=1507467;
 //BA.debugLineNum = 1507467;BA.debugLine="Dim hvd_estatus As String = records(result.Co";
_hvd_estatus = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_ESTATUS"))))]);
RDebugUtils.currentLine=1507468;
 //BA.debugLineNum = 1507468;BA.debugLine="If hvd_estatus = \"Liquidado\" Then";
if ((_hvd_estatus).equals("Liquidado")) { 
RDebugUtils.currentLine=1507470;
 //BA.debugLineNum = 1507470;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate";
__c.MsgboxAsync(BA.ObjectToCharSequence("La venta ya fue liquidada"),BA.ObjectToCharSequence("Atención"),ba);
 }else {
RDebugUtils.currentLine=1507472;
 //BA.debugLineNum = 1507472;BA.debugLine="passaquci";
__ref._passaquci /*String*/ (null);
 };
 }
};
 };
 };
RDebugUtils.currentLine=1507478;
 //BA.debugLineNum = 1507478;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) { 
RDebugUtils.currentLine=1507479;
 //BA.debugLineNum = 1507479;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
_result = __ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (null,_job);
RDebugUtils.currentLine=1507480;
 //BA.debugLineNum = 1507480;BA.debugLine="If result.Tag = \"SelectMontoLiq\" Then";
if ((_result.Tag /*Object*/ ).equals((Object)("SelectMontoLiq"))) { 
RDebugUtils.currentLine=1507481;
 //BA.debugLineNum = 1507481;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group133 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen133 = group133.getSize()
;int index133 = 0;
;
for (; index133 < groupLen133;index133++){
_records = (Object[])(group133.Get(index133));
RDebugUtils.currentLine=1507482;
 //BA.debugLineNum = 1507482;BA.debugLine="Dim CUENTA As String = records(result.Columns";
_cuenta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUENTA"))))]);
RDebugUtils.currentLine=1507484;
 //BA.debugLineNum = 1507484;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
RDebugUtils.currentLine=1507485;
 //BA.debugLineNum = 1507485;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
__ref._sdate /*String*/  = __c.DateTime.Date(__c.DateTime.getNow());
RDebugUtils.currentLine=1507486;
 //BA.debugLineNum = 1507486;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
__ref._stime /*String*/  = __c.DateTime.Time(__c.DateTime.getNow());
RDebugUtils.currentLine=1507487;
 //BA.debugLineNum = 1507487;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"s";
_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA")));
RDebugUtils.currentLine=1507488;
 //BA.debugLineNum = 1507488;BA.debugLine="f.Position=0";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=1507489;
 //BA.debugLineNum = 1507489;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\"";
_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
RDebugUtils.currentLine=1507490;
 //BA.debugLineNum = 1507490;BA.debugLine="a.Position = 0";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=1507492;
 //BA.debugLineNum = 1507492;BA.debugLine="Private c2 As Cursor";
_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
RDebugUtils.currentLine=1507493;
 //BA.debugLineNum = 1507493;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select USUARIO fro";
_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa")));
RDebugUtils.currentLine=1507494;
 //BA.debugLineNum = 1507494;BA.debugLine="c2.Position=0";
_c2.setPosition((int) (0));
RDebugUtils.currentLine=1507495;
 //BA.debugLineNum = 1507495;BA.debugLine="If c2.RowCount > 0 Then c2.GetString(\"USUARIO";
if (_c2.getRowCount()>0) { 
_c2.GetString("USUARIO");};
RDebugUtils.currentLine=1507497;
 //BA.debugLineNum = 1507497;BA.debugLine="Log(CUENTA & \"----------------------!!\")";
__c.LogImpl("31507497",_cuenta+"----------------------!!",0);
RDebugUtils.currentLine=1507498;
 //BA.debugLineNum = 1507498;BA.debugLine="If CUENTA = \"0\" Then";
if ((_cuenta).equals("0")) { 
RDebugUtils.currentLine=1507500;
 //BA.debugLineNum = 1507500;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM ENV_MONTO_LIQ WHERE EML_USUARIO = ? AND EML_ALMACEN = ? AND EML_RUTA = ?",new String[]{_c2.GetString("USUARIO"),__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA")})));
RDebugUtils.currentLine=1507501;
 //BA.debugLineNum = 1507501;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=1507503;
 //BA.debugLineNum = 1507503;BA.debugLine="c.Position=0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=1507504;
 //BA.debugLineNum = 1507504;BA.debugLine="Dim cmd As DBCommand";
_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=1507505;
 //BA.debugLineNum = 1507505;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=1507506;
 //BA.debugLineNum = 1507506;BA.debugLine="cmd.Name = \"insert_Monto_Liq_MAZAPArep\"";
_cmd.Name /*String*/  = "insert_Monto_Liq_MAZAPArep";
RDebugUtils.currentLine=1507507;
 //BA.debugLineNum = 1507507;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_MONTO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_ALMACEN")),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_USUARIO")),(Object)("REPARTO"),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_FECHA_PED"))};
RDebugUtils.currentLine=1507508;
 //BA.debugLineNum = 1507508;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_Mon_Li";
__ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("ins_Mon_Liq"));
RDebugUtils.currentLine=1507509;
 //BA.debugLineNum = 1507509;BA.debugLine="MsgboxAsync(\"Monto Enviado\", \"Atención\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Monto Enviado"),BA.ObjectToCharSequence("Atención"),ba);
 };
RDebugUtils.currentLine=1507512;
 //BA.debugLineNum = 1507512;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 }else 
{RDebugUtils.currentLine=1507513;
 //BA.debugLineNum = 1507513;BA.debugLine="Else if CUENTA > \"0\" Then";
if ((double)(Double.parseDouble(_cuenta))>(double)(Double.parseDouble("0"))) { 
RDebugUtils.currentLine=1507515;
 //BA.debugLineNum = 1507515;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM ENV_MONTO_LIQ WHERE EML_USUARIO = ? AND EML_ALMACEN = ? AND EML_RUTA = ?",new String[]{_c2.GetString("USUARIO"),__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA")})));
RDebugUtils.currentLine=1507516;
 //BA.debugLineNum = 1507516;BA.debugLine="If c.RowCount > 0 Then";
if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=1507518;
 //BA.debugLineNum = 1507518;BA.debugLine="c.Position = 0";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=1507519;
 //BA.debugLineNum = 1507519;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=1507520;
 //BA.debugLineNum = 1507520;BA.debugLine="cmd.Name = \"update_MontoCuenta_MAZAPArep\"";
_cmd.Name /*String*/  = "update_MontoCuenta_MAZAPArep";
RDebugUtils.currentLine=1507521;
 //BA.debugLineNum = 1507521;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_MONTO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_ALMACEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_FECHA_PED")),(Object)("REPARTO")};
RDebugUtils.currentLine=1507523;
 //BA.debugLineNum = 1507523;BA.debugLine="Log(c.GetString(\"EML_MONTO\")& \" \" & c.GetSt";
__c.LogImpl("31507523",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_MONTO")+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_ALMACEN")+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_RUTA")+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_USUARIO"),0);
RDebugUtils.currentLine=1507524;
 //BA.debugLineNum = 1507524;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_MC\")";
__ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("update_MC"));
RDebugUtils.currentLine=1507525;
 //BA.debugLineNum = 1507525;BA.debugLine="MsgboxAsync(\"Se sobre escribio el Monto\", \"";
__c.MsgboxAsync(BA.ObjectToCharSequence("Se sobre escribio el Monto"),BA.ObjectToCharSequence("Atención"),ba);
 };
RDebugUtils.currentLine=1507528;
 //BA.debugLineNum = 1507528;BA.debugLine="c2.Close";
_c2.Close();
RDebugUtils.currentLine=1507529;
 //BA.debugLineNum = 1507529;BA.debugLine="c.Close";
__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 }}
;
RDebugUtils.currentLine=1507531;
 //BA.debugLineNum = 1507531;BA.debugLine="f.Close";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=1507532;
 //BA.debugLineNum = 1507532;BA.debugLine="a.Close";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 }
};
 };
 };
RDebugUtils.currentLine=1507537;
 //BA.debugLineNum = 1507537;BA.debugLine="Job.Release";
_job._release /*String*/ (null);
 };
RDebugUtils.currentLine=1507540;
 //BA.debugLineNum = 1507540;BA.debugLine="If paso1 = 1 Then";
if ((__ref._paso1 /*String*/ ).equals(BA.NumberToString(1))) { 
RDebugUtils.currentLine=1507541;
 //BA.debugLineNum = 1507541;BA.debugLine="If name = \"OKActivo\" Then";
if ((_name).equals("OKActivo")) { 
RDebugUtils.currentLine=1507542;
 //BA.debugLineNum = 1507542;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa");
RDebugUtils.currentLine=1507543;
 //BA.debugLineNum = 1507543;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIO";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}));
RDebugUtils.currentLine=1507544;
 //BA.debugLineNum = 1507544;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_alma";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen");
RDebugUtils.currentLine=1507545;
 //BA.debugLineNum = 1507545;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALM";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_id_almacen)}));
RDebugUtils.currentLine=1507546;
 //BA.debugLineNum = 1507546;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
_b4xpages._showpage /*String*/ (ba,"Principal");
 }else 
{RDebugUtils.currentLine=1507547;
 //BA.debugLineNum = 1507547;BA.debugLine="Else If name  = \"OKExpirado\"& IMEI Then";
if ((_name).equals("OKExpirado"+__ref._imei /*String*/ )) { 
RDebugUtils.currentLine=1507548;
 //BA.debugLineNum = 1507548;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrado";
__c.Msgbox(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador"),BA.ObjectToCharSequence(""),ba);
 }else 
{RDebugUtils.currentLine=1507549;
 //BA.debugLineNum = 1507549;BA.debugLine="Else If name = \"OKCancelado\"& IMEI Then";
if ((_name).equals("OKCancelado"+__ref._imei /*String*/ )) { 
RDebugUtils.currentLine=1507550;
 //BA.debugLineNum = 1507550;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administrad";
__c.Msgbox(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador"),BA.ObjectToCharSequence(""),ba);
 }else {
RDebugUtils.currentLine=1507552;
 //BA.debugLineNum = 1507552;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ign";
__c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba);
 }}}
;
RDebugUtils.currentLine=1507554;
 //BA.debugLineNum = 1507554;BA.debugLine="paso1 = 0";
__ref._paso1 /*String*/  = BA.NumberToString(0);
 };
RDebugUtils.currentLine=1507556;
 //BA.debugLineNum = 1507556;BA.debugLine="End Sub";
return "";
}
public String  _passaquci(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "passaquci", false))
	 {return ((String) Debug.delegate(ba, "passaquci", null));}
reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null;
RDebugUtils.currentLine=2949120;
 //BA.debugLineNum = 2949120;BA.debugLine="Sub passaquci";
RDebugUtils.currentLine=2949121;
 //BA.debugLineNum = 2949121;BA.debugLine="f=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA from";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info")));
RDebugUtils.currentLine=2949122;
 //BA.debugLineNum = 2949122;BA.debugLine="f.Position=0";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
RDebugUtils.currentLine=2949124;
 //BA.debugLineNum = 2949124;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/  = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
RDebugUtils.currentLine=2949125;
 //BA.debugLineNum = 2949125;BA.debugLine="If a.RowCount>0 Then";
if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { 
RDebugUtils.currentLine=2949126;
 //BA.debugLineNum = 2949126;BA.debugLine="a.Position=0";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0));
 };
RDebugUtils.currentLine=2949128;
 //BA.debugLineNum = 2949128;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))";
__c.LogImpl("32949128",__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),0);
RDebugUtils.currentLine=2949129;
 //BA.debugLineNum = 2949129;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))";
__c.LogImpl("32949129",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"),0);
RDebugUtils.currentLine=2949131;
 //BA.debugLineNum = 2949131;BA.debugLine="If et_codigo.Text = \"KMTS1\" Then";
if ((__ref._et_codigo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("KMTS1")) { 
RDebugUtils.currentLine=2949132;
 //BA.debugLineNum = 2949132;BA.debugLine="p_validacion.Visible = False";
__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False);
RDebugUtils.currentLine=2949133;
 //BA.debugLineNum = 2949133;BA.debugLine="et_codigo.Text = \"\"";
__ref._et_codigo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(""));
RDebugUtils.currentLine=2949134;
 //BA.debugLineNum = 2949134;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)";
_subs._panelvisible /*String*/ (ba,__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0));
 }else {
RDebugUtils.currentLine=2949136;
 //BA.debugLineNum = 2949136;BA.debugLine="Dim cmd As DBCommand";
_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand();
RDebugUtils.currentLine=2949137;
 //BA.debugLineNum = 2949137;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
RDebugUtils.currentLine=2949138;
 //BA.debugLineNum = 2949138;BA.debugLine="cmd.Name = \"select_CAT_PASS_ARQUEO_MAZAPA\"";
_cmd.Name /*String*/  = "select_CAT_PASS_ARQUEO_MAZAPA";
RDebugUtils.currentLine=2949139;
 //BA.debugLineNum = 2949139;BA.debugLine="cmd.Parameters = Array As Object(f.GetString(\"CA";
_cmd.Parameters /*Object[]*/  = new Object[]{(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA")),(Object)(__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN")),(Object)("REPARTO")};
RDebugUtils.currentLine=2949140;
 //BA.debugLineNum = 2949140;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"contrasena\")";
__ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)("contrasena"));
RDebugUtils.currentLine=2949141;
 //BA.debugLineNum = 2949141;BA.debugLine="f.Close";
__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
RDebugUtils.currentLine=2949142;
 //BA.debugLineNum = 2949142;BA.debugLine="a.Close";
__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();
 };
RDebugUtils.currentLine=2949144;
 //BA.debugLineNum = 2949144;BA.debugLine="End Sub";
return "";
}
public String  _lv_server_itemclick(reparto_mazapa.keymon.lat.b4xmainpage __ref,int _position,Object _value) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "lv_server_itemclick", false))
	 {return ((String) Debug.delegate(ba, "lv_server_itemclick", new Object[] {_position,_value}));}
RDebugUtils.currentLine=1966080;
 //BA.debugLineNum = 1966080;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,";
RDebugUtils.currentLine=1966081;
 //BA.debugLineNum = 1966081;BA.debugLine="server = Value";
__ref._server /*String*/  = BA.ObjectToString(_value);
RDebugUtils.currentLine=1966083;
 //BA.debugLineNum = 1966083;BA.debugLine="et_server.Text = Value";
__ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_value));
RDebugUtils.currentLine=1966084;
 //BA.debugLineNum = 1966084;BA.debugLine="reqManager.Initialize(Me, Value)";
__ref._reqmanager /*reparto_mazapa.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,BA.ObjectToString(_value));
RDebugUtils.currentLine=1966085;
 //BA.debugLineNum = 1966085;BA.debugLine="LogColor($\"ReqServer = ${Value}\"$, Colors.red)";
__c.LogImpl("31966085",("ReqServer = "+__c.SmartStringFormatter("",_value)+""),__c.Colors.Red);
RDebugUtils.currentLine=1966086;
 //BA.debugLineNum = 1966086;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Servidor modificado"),__c.False);
RDebugUtils.currentLine=1966087;
 //BA.debugLineNum = 1966087;BA.debugLine="End Sub";
return "";
}
public String  _p_add_monto_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "p_add_monto_click", false))
	 {return ((String) Debug.delegate(ba, "p_add_monto_click", null));}
RDebugUtils.currentLine=2293760;
 //BA.debugLineNum = 2293760;BA.debugLine="Private Sub p_add_monto_Click";
RDebugUtils.currentLine=2293762;
 //BA.debugLineNum = 2293762;BA.debugLine="End Sub";
return "";
}
public String  _p_ciego_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "p_ciego_click", false))
	 {return ((String) Debug.delegate(ba, "p_ciego_click", null));}
RDebugUtils.currentLine=2818048;
 //BA.debugLineNum = 2818048;BA.debugLine="Private Sub P_CIEGO_Click";
RDebugUtils.currentLine=2818050;
 //BA.debugLineNum = 2818050;BA.debugLine="End Sub";
return "";
}
public String  _p_validacion_click(reparto_mazapa.keymon.lat.b4xmainpage __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="b4xmainpage";
if (Debug.shouldDelegate(ba, "p_validacion_click", false))
	 {return ((String) Debug.delegate(ba, "p_validacion_click", null));}
RDebugUtils.currentLine=3080192;
 //BA.debugLineNum = 3080192;BA.debugLine="Private Sub p_validacion_Click";
RDebugUtils.currentLine=3080194;
 //BA.debugLineNum = 3080194;BA.debugLine="End Sub";
return "";
}
}