public ActionResult CXP_011(decimal IdSolicitud = 0) { CXP_011_Rpt model = new CXP_011_Rpt(); model.p_IdEmpresa.Value = SessionFixed.IdEmpresa; model.p_IdSolicitud.Value = IdSolicitud; model.RequestParameters = false; return(View(model)); }
public ActionResult CXP_011(decimal IdSolicitud = 0) { CXP_011_Rpt model = new CXP_011_Rpt(); #region Cargo diseño desde base int IdEmpresa = Convert.ToInt32(SessionFixed.IdEmpresa); var reporte = bus_rep_x_emp.GetInfo(IdEmpresa, "CXP_011"); if (reporte != null) { System.IO.File.WriteAllBytes(RootReporte, reporte.ReporteDisenio); model.LoadLayout(RootReporte); } #endregion model.p_IdEmpresa.Value = SessionFixed.IdEmpresa; model.p_IdSolicitud.Value = IdSolicitud; model.RequestParameters = false; return(View(model)); }