Exemple #1
0
        public ActionResult ReporteKardex(int pArticuloId, int pAlmacenId)
        {
            var kardexData = AlmacenBL.GenerarKardex(pArticuloId, pAlmacenId);
            var rd         = new ReportDataSource("dsKardex", kardexData);

            return(Reporte("PDF", "rptKardex.rdlc", rd, "A4Horizontal0.25"));
        }
Exemple #2
0
        public ActionResult ListarKardex(int pArticuloId, int pAlmacenId)
        {
            ViewBag.Articulo = ArticuloBL.Obtener(pArticuloId).Denominacion;
            ViewBag.Almacen  = AlmacenBL.Obtener(pAlmacenId).Denominacion;
            var kardex = AlmacenBL.GenerarKardex(pArticuloId, pAlmacenId);

            return(PartialView("_kardex", kardex));
        }