public void GestionCobranza_Registrar(int idEmpresa, int codigoUsuario, string id_cliente, string periodo, int id_semana,
                                              int id_estatus, string observacion, int estado, string TablaOrigen, int opOrigen)
        {
            CobranzasBL objCobranzasBL;

            try
            {
                objCobranzasBL = new CobranzasBL();
                objCobranzasBL.GestionCobranza_Registrar(idEmpresa, codigoUsuario, id_cliente, periodo, id_semana, id_estatus, observacion, estado, TablaOrigen, opOrigen);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        public List <ProyectadoCobranza_DocumentosResult> ProyectadoCobranza_Documentos(int idEmpresa, int codigoUsuario, string id_Cliente, int Periodo)
        {
            CobranzasBL objCobranzasBL = new CobranzasBL();
            List <ProyectadoCobranza_DocumentosResult> lista = new List <ProyectadoCobranza_DocumentosResult>();

            try
            {
                lista = objCobranzasBL.ProyectadoCobranza_Documentos(idEmpresa, codigoUsuario, id_Cliente, Periodo);
                return(lista);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        public int PermisosZona_Registrar(int idEmpresa, int codigoUsuario, string id_agenda, int id_zona, int ActivoZona, int ActivoSectorista)
        {
            CobranzasBL objCobranzasBL = new CobranzasBL();
            int         Registro       = 0;

            try
            {
                Registro = objCobranzasBL.PermisosZona_Registrar(idEmpresa, codigoUsuario, id_agenda, id_zona, ActivoZona, ActivoSectorista);

                return(Registro);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        public List <ZonasSectoristaPermiso_ListarResult> ZonasSectoristaPermiso_Listar(int idEmpresa, int codigoUsuario, string id_agenda)
        {
            CobranzasBL objCobranzasBL = new CobranzasBL();
            List <ZonasSectoristaPermiso_ListarResult> lista = new List <ZonasSectoristaPermiso_ListarResult>();

            try
            {
                lista = objCobranzasBL.ZonasSectoristaPermiso_Listar(idEmpresa, codigoUsuario, id_agenda);

                return(lista);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        public int ProyectadoCobranza_Verificar(int idEmpresa, int codigoUsuario, string codSectorista, string periodo, int id_zona)
        {
            CobranzasBL objCobranzasBL;
            int         respuesta;

            try
            {
                objCobranzasBL = new CobranzasBL();
                respuesta      = objCobranzasBL.ProyectadoCobranza_Verificar(idEmpresa, codigoUsuario, codSectorista, periodo, id_zona);
                return(respuesta);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        public List <gsReporteProyectado_Cuadro2Result> Reporte_CobranzasProyectadas_Cuadro2(int idEmpresa, int codigoUsuario, int mes, int año, int periodo, int id_zona, string id_sectorista)
        {
            CobranzasBL objCobranzasBL;

            try
            {
                List <gsReporteProyectado_Cuadro2Result> list = new List <gsReporteProyectado_Cuadro2Result>();
                objCobranzasBL = new CobranzasBL();
                list           = objCobranzasBL.Reporte_CobranzasProyectadas_Cuadro2(idEmpresa, codigoUsuario, mes, año, periodo, id_zona, id_sectorista);

                return(list);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        public List <Reporte_VentaxCobranzaLegalResult> Reporte_VentaCobranzaLegal(int idEmpresa, int codigoUsuario)
        {
            CobranzasBL objCobranzasBL;

            try
            {
                List <Reporte_VentaxCobranzaLegalResult> list = new List <Reporte_VentaxCobranzaLegalResult>();
                objCobranzasBL = new CobranzasBL();
                list           = objCobranzasBL.Reporte_VentaCobranzaLegal(idEmpresa, codigoUsuario);

                return(list);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        //----------------------------------

        public List <ZonasSectorista_ListarResult> ZonasSectorista_Listar(int idEmpresa, int codigoUsuario, string texto, int reporte)
        {
            CobranzasBL objCobranzasBL;
            List <ZonasSectorista_ListarResult> lista = new List <ZonasSectorista_ListarResult>();

            try
            {
                objCobranzasBL = new CobranzasBL();
                lista          = objCobranzasBL.ZonasSectorista_Listar(idEmpresa, codigoUsuario, texto, reporte);

                return(lista);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        public List <spEstadoCuenta_Proyectado_ClienteResult> EstadoCuenta_Proyectado_Cliente(int idEmpresa, int codigoUsuario, string id_cliente, int periodo, string id_sectorista, int id_zona, int anho, int mes)
        {
            CobranzasBL objCobranzasBL;

            try
            {
                List <spEstadoCuenta_Proyectado_ClienteResult> list = new List <spEstadoCuenta_Proyectado_ClienteResult>();

                objCobranzasBL = new CobranzasBL();
                list           = objCobranzasBL.EstadoCuenta_Proyectado_Cliente(idEmpresa, codigoUsuario, id_cliente, periodo, id_sectorista, id_zona, anho, mes);

                return(list);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Esempio n. 10
0
        public List <gsDocVenta_ReporteVenta_ClienteResumenResult> Reporte_VentasClienteResumen(int idEmpresa, int codigoUsuario, string codAgenda, string codigoVendedor, DateTime fechaInicial, DateTime fechaFinal, int year)
        {
            CobranzasBL objCobranzasBL;

            try
            {
                List <gsDocVenta_ReporteVenta_ClienteResumenResult> list = new List <gsDocVenta_ReporteVenta_ClienteResumenResult>();

                objCobranzasBL = new CobranzasBL();
                list           = objCobranzasBL.Reporte_VentasClienteResumen(idEmpresa, codigoUsuario, codAgenda, codigoVendedor, fechaInicial, fechaFinal, year);

                return(list);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Esempio n. 11
0
        public List <ProyectadoCobranza_ListarResult> ProyectadoCobranza_Listar(int idEmpresa, int codigoUsuario, int idProyectado,
                                                                                string periodo, int id_semana, string tablaOrigen, int opOrigen, int estado)
        {
            CobranzasBL objCobranzasBL;
            List <ProyectadoCobranza_ListarResult> lista = new List <ProyectadoCobranza_ListarResult>();

            try
            {
                objCobranzasBL = new CobranzasBL();
                lista          = objCobranzasBL.ProyectadoCobranza_Listar(idEmpresa, codigoUsuario, idProyectado, periodo, id_semana, tablaOrigen, opOrigen, estado);

                return(lista);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Esempio n. 12
0
        // Agregado por Percy Santiago 10/11/2016
        public List <gsReporteFacturasInafectasV1Result> Reporte_FacturasInafecta(int idEmpresa, int codigoUsuario, System.DateTime dtpFechaInicio, System.DateTime dtpFechaFin, int tipodocumento, string Cliente)
        {
            CobranzasBL objCobranzasBL;

            try
            {
                List <gsReporteFacturasInafectasV1Result> list = new List <gsReporteFacturasInafectasV1Result>();

                objCobranzasBL = new CobranzasBL();
                list           = objCobranzasBL.Reporte_FacturasInafecta(idEmpresa, codigoUsuario, dtpFechaInicio, dtpFechaFin, tipodocumento, Cliente);

                return(list);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Esempio n. 13
0
        public List <gsVentasCobranzas_ListarResult> Reporte_VentasCobranzasAnual(int idEmpresa, int codigoUsuario, int anho)
        {
            CobranzasBL objCobranzasBL;

            try
            {
                List <gsVentasCobranzas_ListarResult> list = new List <gsVentasCobranzas_ListarResult>();

                objCobranzasBL = new CobranzasBL();
                list           = objCobranzasBL.Reporte_VentasCobranzasAnual(idEmpresa, codigoUsuario, anho);

                return(list);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Esempio n. 14
0
        public List <gsEstatus_ListarResult> Estatus_Deuda_Listar(int idEmpresa, int codigoUsuario)
        {
            CobranzasBL objCobranzasBL;

            try
            {
                List <gsEstatus_ListarResult> list = new List <gsEstatus_ListarResult>();

                objCobranzasBL = new CobranzasBL();
                list           = objCobranzasBL.Estatus_Deuda_Listar(idEmpresa, codigoUsuario);

                return(list);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Esempio n. 15
0
        public List <gsReporteCanceladosWebResumenVendedorResult> Reporte_CancelacionesResumenVendedor(int idEmpresa, int codigoUsuario, string codAgenda, string codigoVendedor, DateTime fechaInicial, DateTime fechaFinal)
        {
            CobranzasBL objCobranzasBL;

            try
            {
                List <gsReporteCanceladosWebResumenVendedorResult> list = new List <gsReporteCanceladosWebResumenVendedorResult>();

                objCobranzasBL = new CobranzasBL();
                list           = objCobranzasBL.Reporte_CancelacionesResumenVendedor(idEmpresa, codigoUsuario, codAgenda, codigoVendedor, fechaInicial, fechaFinal);

                return(list);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Esempio n. 16
0
        public List <gsProyectadoCobranza_ListarResult> Reporte_Proyectado_Sectorista(int idEmpresa, int codigoUsuario, int id_proyectado, int periodo, string id_sectorista, string id_cliente, int id_zona, string id_vendedor)
        {
            CobranzasBL objCobranzasBL;

            try
            {
                List <gsProyectadoCobranza_ListarResult> list = new List <gsProyectadoCobranza_ListarResult>();

                objCobranzasBL = new CobranzasBL();
                list           = objCobranzasBL.Reporte_Proyectado_Sectorista(idEmpresa, codigoUsuario, id_proyectado, periodo, id_sectorista, id_cliente, id_zona, id_vendedor);

                return(list);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Esempio n. 17
0
        public List <Zonas_Reportes_CobranzaResult> Zonas_Listar_Cobranza(int idEmpresa, int codigoUsuario, string id_sectorista)
        {
            CobranzasBL objCobranzasBL;

            try
            {
                List <Zonas_Reportes_CobranzaResult> lstZonas = new List <Zonas_Reportes_CobranzaResult>();
                objCobranzasBL = new CobranzasBL();

                lstZonas = objCobranzasBL.Zonas_Listar_Cobranza(idEmpresa, codigoUsuario, id_sectorista);

                return(lstZonas);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Esempio n. 18
0
        public List <gsReporteCanceladosWebResumenResult> Reporte_CancelacionesResumen(int idEmpresa, int codigoUsuario, string codAgenda, string codigoVendedor, int year)
        {
            CobranzasBL objCobranzasBL;

            try
            {
                List <gsReporteCanceladosWebResumenResult> list = new List <gsReporteCanceladosWebResumenResult>();

                objCobranzasBL = new CobranzasBL();
                list           = objCobranzasBL.Reporte_CancelacionesResumen(idEmpresa, codigoUsuario, codAgenda, codigoVendedor, year);

                return(list);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Esempio n. 19
0
        public List <gsGestionCobranza_ListarResult> Reporte_Gestion_Sectorista(int idEmpresa, int codigoUsuario, string id_Cliente, int Periodo)

        {
            CobranzasBL objCobranzasBL;

            try
            {
                List <gsGestionCobranza_ListarResult> list = new List <gsGestionCobranza_ListarResult>();

                objCobranzasBL = new CobranzasBL();
                list           = objCobranzasBL.Reporte_Gestion_Sectorista(idEmpresa, codigoUsuario, id_Cliente, Periodo);

                return(list);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }