Exemplo n.º 1
0
        public static string Insertar(int tipodocumento, string nombredocu, string seriedocu, string numdocu, int sujeto, decimal subtotal, decimal iva, decimal total, int bodega, int vendedor, int estado, DataTable Detalles)
        {
            D_Factura Datos = new D_Factura();
            E_Factura Obj   = new E_Factura();

            Obj.tipodocu   = tipodocumento;
            Obj.nombredocu = nombredocu;
            Obj.seriedocu  = seriedocu;
            Obj.numdocu    = numdocu;
            Obj.sujeto     = sujeto;
            Obj.subtotal   = subtotal;
            Obj.iva        = iva;
            Obj.total      = total;
            Obj.bodega     = bodega;
            Obj.vendedor   = vendedor;
            Obj.estado     = estado;
            Obj.Detalle    = Detalles;
            return(Datos.Insertar(Obj));
        }
Exemplo n.º 2
0
        public static void Insertar_Cuadre_Diario(CUADRES_DIARIOS obj)
        {
            D_Factura Metodo = new D_Factura();

            Metodo.Insertar_Cuadre_Diario(obj);
        }
Exemplo n.º 3
0
        public static void Eliminar_Cuotas(int id)
        {
            D_Factura Metodo = new D_Factura();

            Metodo.Eliminar_Cuotas(id);
        }
Exemplo n.º 4
0
        public static DataTable Buscar(string Valor)
        {
            D_Factura Datos = new D_Factura();

            return(Datos.Buscar(Valor));
        }
Exemplo n.º 5
0
        public static List <E_Factura> Listar_Facturas(string Condicion)
        {
            D_Factura Metodo = new D_Factura();

            return(Metodo.Listar_Facturas(Condicion));
        }
Exemplo n.º 6
0
        public static void Cambiar_Estado_Factura(FACTURAS obj)
        {
            D_Factura Metodo = new D_Factura();

            Metodo.Cambiar_Estado_Factura(obj);
        }
Exemplo n.º 7
0
        public static void Insertar_Factura(FACTURAS obj)
        {
            D_Factura Metodo = new D_Factura();

            Metodo.Insertar_Factura(obj);
        }
Exemplo n.º 8
0
        public static List <E_Cuadre> Listar_Cuadre(DateTime Fecha)
        {
            D_Factura Metodo = new D_Factura();

            return(Metodo.Listar_Cuadre(Fecha));
        }
Exemplo n.º 9
0
        public static string Anular(int IdFactura)
        {
            D_Factura Datos = new D_Factura();

            return(Datos.Anular(IdFactura));
        }
Exemplo n.º 10
0
        public static DataTable SeleccionarBodega()
        {
            D_Factura Datos = new D_Factura();

            return(Datos.SeleccionarBodega());
        }
Exemplo n.º 11
0
        public static DataTable SeleccionarDocumento()
        {
            D_Factura Datos = new D_Factura();

            return(Datos.SeleccionarDocumento());
        }
Exemplo n.º 12
0
        public static DataTable ListarDetalle(int idedetalle)
        {
            D_Factura Datos = new D_Factura();

            return(Datos.ListarDetalle(idedetalle));
        }
Exemplo n.º 13
0
        public static DataTable ConsultarFechas(DateTime fechaini, DateTime fechafin)
        {
            D_Factura Datos = new D_Factura();

            return(Datos.ConsultarFechas(fechaini, fechafin));
        }
Exemplo n.º 14
0
        public static DataTable BuscarArticuloMPCodigo(string Valor)
        {
            D_Factura Datos = new D_Factura();

            return(Datos.BuscarArticuloMPCodigo(Valor));
        }
Exemplo n.º 15
0
        public static void Actualizar_Cuadre_Diario(CUADRES_DIARIOS obj)
        {
            D_Factura Metodo = new D_Factura();

            Metodo.Actualizar_Cuadre_Diario(obj);
        }
Exemplo n.º 16
0
        public static void Cobrar_Cuota(DETALLES_CUOTAS obj)
        {
            D_Factura Metodo = new D_Factura();

            Metodo.Cobrar_Cuota(obj);
        }
Exemplo n.º 17
0
        public static List <E_Detalles_Cuota> Listar_Detalles_Cuotas_CXC(string Condicion)
        {
            D_Factura Metodo = new D_Factura();

            return(Metodo.Listar_Detalles_Cuotas_CXC(Condicion));
        }
Exemplo n.º 18
0
        public static void Insertar_Recibo_Cobros(RECIBOS_COBRADOS obj)
        {
            D_Factura Metodo = new D_Factura();

            Metodo.Insertar_Recibo_Cobros(obj);
        }
Exemplo n.º 19
0
        public static List <E_Cliente_X_Cobrador> Listar_Clientes_X_Cobrador(string Condicion)
        {
            D_Factura Metodo = new D_Factura();

            return(Metodo.Listar_Clientes_X_Cobrador(Condicion));
        }
Exemplo n.º 20
0
        public static void Actualizar_Montos_Factura_Recibo_Anulado(FACTURAS obj)
        {
            D_Factura Metodo = new D_Factura();

            Metodo.Actualizar_Montos_Factura_Recibo_Anulado(obj);
        }
Exemplo n.º 21
0
        public static void Actualizar_Factura(FACTURAS obj)
        {
            D_Factura Metodo = new D_Factura();

            Metodo.Actualizar(obj);
        }
Exemplo n.º 22
0
        public static void Anular_Recibo(RECIBOS_COBRADOS obj)
        {
            D_Factura Metodo = new D_Factura();

            Metodo.Anular_Recibo(obj);
        }
Exemplo n.º 23
0
        public static void Insertar_Detalle_Cuota(DETALLES_CUOTAS obj)
        {
            D_Factura Metodo = new D_Factura();

            Metodo.Insertar_Detalle_Cuota(obj);
        }
Exemplo n.º 24
0
        public static void Actualizar_Cuotas(DETALLES_CUOTAS obj)
        {
            D_Factura Metodo = new D_Factura();

            Metodo.Actualizar_Cuotas(obj);
        }
Exemplo n.º 25
0
        public static void Actualizar_Encabezado_Cuota(ENCABEZADO_CUOTAS obj)
        {
            D_Factura Metodo = new D_Factura();

            Metodo.Actualizar_Encabezado_Cuota(obj);
        }
Exemplo n.º 26
0
        public static DataTable Listar()
        {
            D_Factura Datos = new D_Factura();

            return(Datos.Listar());
        }