public ActionResult ACTF_006(cl_filtros_Info model) { ACTF_006_Rpt report = new ACTF_006_Rpt(); report.p_IdEmpresa.Value = model.IdEmpresa; report.p_IdActivoFijo.Value = model.IdActivoFijo; ViewBag.Report = report; return(View(model)); }
public ActionResult ACTF_006() { cl_filtros_Info model = new cl_filtros_Info { IdEmpresa = Convert.ToInt32(SessionFixed.IdEmpresa), IdActivoFijo = 0 }; ACTF_006_Rpt report = new ACTF_006_Rpt(); report.p_IdEmpresa.Value = model.IdEmpresa; report.p_IdActivoFijo.Value = model.IdActivoFijo; ViewBag.Report = report; return(View(model)); }
public ActionResult ACTF_006(cl_filtros_Info model) { ACTF_006_Rpt report = new ACTF_006_Rpt(); #region Cargo diseño desde base int IdEmpresa = Convert.ToInt32(SessionFixed.IdEmpresa); var reporte = bus_rep_x_emp.GetInfo(IdEmpresa, "ACTF_006"); if (reporte != null) { System.IO.File.WriteAllBytes(RootReporte, reporte.ReporteDisenio); report.LoadLayout(RootReporte); } #endregion report.p_IdEmpresa.Value = model.IdEmpresa; report.p_IdActivoFijo.Value = model.IdActivoFijo; ViewBag.Report = report; return(View(model)); }