private string MaximoId()
 {
     try
     {
         CapaNegocios.CN__Comun CN_Comun = new CapaNegocios.CN__Comun();
         return(CN_Comun.Maximo(session.Id_Emp, "CatArea", "Id_Area", session.Emp_Cnx, "spCatCentral_Maximo"));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #2
0
 private string MaximoId()
 {
     try
     {
         CapaNegocios.CN__Comun CN_Comun = new CapaNegocios.CN__Comun();
         return(CN_Comun.Maximo(sesion.Id_Emp, sesion.Id_Cd_Ver, "CapReclamaciones", "Id_Rec", sesion.Emp_Cnx, "spCatLocal_Maximo"));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #3
0
 private string MaximoIdSubFam()
 {
     try
     {
         Sesion sesion = (Sesion)Session["Sesion" + Session.SessionID];
         CapaNegocios.CN__Comun CN_Comun = new CapaNegocios.CN__Comun();
         return(CN_Comun.Maximo(sesion.Id_Emp, "CatSubfamilia", "Id_Sub", sesion.Emp_Cnx, "spCatCentral_Maximo"));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #4
0
 private string MaximoId()
 {
     try
     {
         Sesion sesion = (Sesion)Session["Sesion" + Session.SessionID];
         CapaNegocios.CN__Comun CN_Comun = new CapaNegocios.CN__Comun();
         return(CN_Comun.Maximo(sesion.Id_Emp, "catregion", "id_reg", sesion.Emp_Cnx, "spCatCentral_Maximo"));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #5
0
 private string MaximoId()
 {
     try
     {
         Sesion sesion = (Sesion)Session["Sesion" + Session.SessionID];
         CapaNegocios.CN__Comun CN_Comun = new CapaNegocios.CN__Comun();
         return(CN_Comun.Maximo(sesion.Id_Emp, sesion.Id_Cd_Ver, "CapDevParcial", "Id_Dev", sesion.Emp_Cnx, "spCatLocal_Maximo"));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #6
0
 private string MaximoId()
 {
     try
     {
         Sesion Sesion = new Sesion();
         Sesion = (Sesion)Session["Sesion" + Session.SessionID];
         CapaNegocios.CN__Comun CN_Comun = new CapaNegocios.CN__Comun();
         return(CN_Comun.Maximo(Sesion.Id_Emp, "CatNoConformidades", "Id_Nco", Sesion.Emp_Cnx, "spCatCentral_Maximo"));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 private string MaximoId()
 {
     try
     {
         Sesion Sesion = new Sesion();
         Sesion = (Sesion)Session["Sesion" + Session.SessionID];
         CapaNegocios.CN__Comun CN_Comun = new CapaNegocios.CN__Comun();
         return(CN_Comun.Maximo(Sesion.Id_Emp, Sesion.Id_Cd_Ver, "CatClienteProducto", "Id_Clp", Sesion.Emp_Cnx, "spCatLocal_Maximo"));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #8
0
 private string MaximoId()
 {
     try
     {
         Sesion Sesion = new Sesion();
         Sesion = (Sesion)Session["Sesion" + Session.SessionID];
         CapaNegocios.CN__Comun CN_Comun = new CapaNegocios.CN__Comun();
         return(CN_Comun.Maximo(Sesion.Id_Emp, 0, "CatSolucion", "Id_Sol", Sesion.Emp_Cnx, "spCatLocal_Maximo"));
     }//1,null,'CatSolucion','Id_Sol'
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #9
0
 private string MaximoId(string nomTabla, string nomCol)
 {
     try
     {
         Sesion Sesion = new Sesion();
         Sesion = (Sesion)Session["Sesion" + Session.SessionID];
         CapaNegocios.CN__Comun CN_Comun = new CapaNegocios.CN__Comun();
         return(CN_Comun.Maximo(Sesion.Id_Emp, Sesion.Id_Cd_Ver, nomTabla, nomCol, Sesion.Emp_Cnx, "spCatLocal_Maximo"));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #10
0
 private string MaximoId()
 {
     try
     {
         Sesion Sesion = new Sesion();
         Sesion = (Sesion)Session["Sesion" + Session.SessionID];
         CapaNegocios.CN__Comun CN_Comun = new CapaNegocios.CN__Comun();
         return(CN_Comun.Maximo(Sesion.Id_Emp, "CatTMovimiento", Convert.ToInt32(rbInventario.Checked), "Id_Tm", Sesion.Emp_Cnx, "spCatCentral_MaximoMov"));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #11
0
 private string MaximoId()
 {
     try
     {
         Sesion Sesion = new Sesion();
         Sesion = (Sesion)Session["Sesion" + Session.SessionID];
         CapaNegocios.CN__Comun CN_Comun = new CapaNegocios.CN__Comun();
         return(CN_Comun.Maximo(Sesion.Id_Emp, Sesion.Id_Cd, "capRutaServicio", "Id_Crs", Sesion.Emp_Cnx, "spCatLocal_Maximo"));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #12
0
        private string MaximoId()
        {
            try
            {
                Sesion Sesion = new Sesion();

                Sesion = (Sesion)Session["Sesion" + Session.SessionID];
                if (Sesion == null)
                {
                    return("");
                }
                CapaNegocios.CN__Comun CN_Comun = new CapaNegocios.CN__Comun();
                return(CN_Comun.Maximo(Sesion.Id_Emp, Sesion.Id_Cd_Ver, "CatCampana", "Id_Cam", Sesion.Emp_Cnx, "spCatLocal_Maximo"));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }