示例#1
0
        public void updPronSemDiscreto(System.Data.DataTable dt)
        {
            DAOGeneral obj  = new DAOGeneral();
            EPronSem   pron = new EPronSem();

            foreach (System.Data.DataRow row in dt.Rows)
            {
                pron.ID_ARTICULO = Convert.ToString(row["ID_ARTICULO"]);
                pron.ID_SEM      = Convert.ToString(row["ID_SEM"]);
                pron.VENTA       = Convert.ToDouble(row["VENTA"]);
                obj.updPronSemDiscreto(pron);
            }
        }
示例#2
0
        public void updPronDiarioDiscreto(System.Data.DataTable dt)
        {
            DAOGeneral  obj  = new DAOGeneral();
            EPronDiario pron = new EPronDiario();

            foreach (System.Data.DataRow row in dt.Rows)
            {
                //willy
                pron.ID_ARTICULO = Convert.ToString(row["ID_ARTICULO"]);
                pron.FECHA       = Convert.ToDateTime(row["FECHA"]);
                pron.VENTA       = Convert.ToDouble(row["VENTA"]);
                obj.updPronDiarioDiscreto(pron);
            }
        }
示例#3
0
        public void updPronMensual(System.Data.DataTable dt)
        {
            DAOGeneral obj  = new DAOGeneral();
            EPronMen   pron = new EPronMen();

            foreach (System.Data.DataRow row in dt.Rows)
            {
                pron.ID_ARTICULO = Convert.ToString(row["ID_ARTICULO"]);
                pron.ID_YEAR     = Convert.ToInt32(row["ID_YEAR"]);
                pron.ID_MONTH    = Convert.ToInt32(row["ID_MONTH"]);
                pron.VENTA       = Convert.ToDouble(row["VENTA"]);
                obj.updPronMensual(pron);
            }
        }
示例#4
0
        public void UpdHisDia()
        {
            DAOGeneral dao = new DAOGeneral();

            dao.updHisDia();
        }
示例#5
0
        public DataTable SelectPronMensual()
        {
            DAOGeneral objPronMen = new DAOGeneral();

            return(objPronMen.SelectPronMensual());
        }
示例#6
0
        public DataTable SelectPronSemCalculado()
        {
            DAOGeneral objPronSem = new DAOGeneral();

            return(objPronSem.SelectPronSemCalculado());
        }
示例#7
0
        public void HisToMod1His()
        {
            DAOGeneral obj = new DAOGeneral();

            obj.HisToMod1His();
        }
示例#8
0
        public void NormProMen()
        {
            DAOGeneral objPronSem = new DAOGeneral();

            objPronSem.NormProMen();
        }
示例#9
0
        public DataTable SelectPronSemDiscreto()
        {
            DAOGeneral objPronSem = new DAOGeneral();

            return(objPronSem.SelectPronSemDiscreto());
        }
示例#10
0
        public int SelectNumInc()
        {
            DAOGeneral objPronDiario = new DAOGeneral();

            return(objPronDiario.SelectNumInc());
        }
示例#11
0
        public DataTable SelectPronDiarioCalculado()
        {
            DAOGeneral objPronDiario = new DAOGeneral();

            return(objPronDiario.SelectPronDiarioCalculado());
        }
示例#12
0
        public DataTable SelectPronDiarioDiscreto()
        {
            DAOGeneral objPronDiario = new DAOGeneral();

            return(objPronDiario.SelectPronDiarioDiscreto());
        }