Beispiel #1
0
        public Detalle_ST_Entity validaExistenciaBD(int producto, int bodega)
        {
            Detalle_ST_Entity st     = new Detalle_ST_Entity();
            Detalle_ST_DAL    valida = new Detalle_ST_DAL();

            return(valida.validaExistencia(producto, bodega));
        }
Beispiel #2
0
        //Obtiene un registro para mostrarlo en los datos del formulario
        public Detalle_ST_Entity verUno_Movimiento(int codigo)
        {
            Detalle_ST_Entity st    = new Detalle_ST_Entity();
            Detalle_ST_DAL    getst = new Detalle_ST_DAL();

            return(getst.getSinge_Movimiento(codigo));
        }
Beispiel #3
0
        public DataTable verTodoDetalle(int codigo)
        {
            DataTable      dt  = new DataTable();
            Detalle_ST_DAL vst = new Detalle_ST_DAL();

            dt = vst.detMovimientos_Todos(codigo);
            return(dt);
        }
Beispiel #4
0
        public DataTable verTodoST(Detalle_ST_Entity st)
        {
            DataTable      dt  = new DataTable();
            Detalle_ST_DAL vst = new Detalle_ST_DAL();

            dt = vst.todosMovimientos(st);
            return(dt);
        }
Beispiel #5
0
        //elimina encabezado
        public void eliminaEncabezado(int codigo)
        {
            Detalle_ST_DAL guardar = new Detalle_ST_DAL();

            guardar.eliminarEncabezadoMovimiento(codigo);
        }
Beispiel #6
0
        //Actualiza encabezado
        public void actualizaEncabezado(Detalle_ST_Entity st)
        {
            Detalle_ST_DAL guardar = new Detalle_ST_DAL();

            guardar.actualizaEncabezadoMovimiento(st);
        }
Beispiel #7
0
        //Inserta encabezado
        public void guardaEncabezado(Detalle_ST_Entity st)
        {
            Detalle_ST_DAL guardar = new Detalle_ST_DAL();

            guardar.insertarEncabezadoMovimiento(st);
        }