Exemple #1
0
        public static EntradaMercanciaModel EntradaMercancialModel(int idOC, string tkn)
        {
            AgenteServicio agente = new AgenteServicio();

            agente.BuscarOrdenesCompraEntrada(idOC, tkn);
            return(agente._entradaMercancia);
        }
Exemple #2
0
        private static RespuestaDTO ActualizarRequisicionAutorizacion(RequisicionAutPutDTO Req, string tkn)
        {
            var respuestaReq = new AgenteServicio();

            respuestaReq.ActualizarRequisicionAutorizacion(Req, tkn);
            return(respuestaReq._RespuestaDTO);
        }
Exemple #3
0
        private static RequisicionRevisionDTO BuscarRequisicionByIdRequiRevi(int IdRequisicion, string token)
        {
            var respuestaReq = new AgenteServicio();

            respuestaReq.RequisicionRevision(IdRequisicion, token);
            return(respuestaReq._requisicionRevisionDTO);
        }
Exemple #4
0
        public static List <RequisicionDTO> BuscarRequisiciones(short idEmpresa, string token)
        {
            var respuestaReq = new AgenteServicio();

            respuestaReq.BuscarRequisiciones(idEmpresa, token);
            return(respuestaReq._listaRequisicion);
        }
Exemple #5
0
        public static RespuestaDTO ActualizarRequisicionRevision(RequisicionRevPutDTO Req, string tkn)
        {
            var respuestaReq = new AgenteServicio();

            respuestaReq.ActualizarRequisicionRevision(Req, tkn);
            return(respuestaReq._RespuestaDTO);
        }
Exemple #6
0
        public static CargosModel ObtenerIdCargo(int id, string tkn)
        {
            var agente = new AgenteServicio();

            agente.ObtenerCargoId(id, tkn);
            return(agente._Cargo);
        }
Exemple #7
0
        public static RespuestaDTO AltaAbonos(List <AbonosModel> model, string tkn)
        {
            var agente = new AgenteServicio();

            agente.GuardarNuevoAbono(model, tkn);
            return(agente._RespuestaDTO);
        }
Exemple #8
0
        public static RespuestaDTO ActualizaProductosOrdenCompra(List <OrdenCompraProductoDTO> prods, string tkn)
        {
            AgenteServicio agente = new AgenteServicio();

            agente.ActualizarProductosOC(prods, tkn);
            return(agente._RespuestaDTO);
        }
Exemple #9
0
        public static RespuestaDTO SolicitarPagoPorteador(OrdenCompraComplementoGasDTO dto, string tkn)
        {
            AgenteServicio agente = new AgenteServicio();

            agente.EnviarSolicitudPagoPorteador(dto, tkn);
            return(agente._RespuestaDTO);
        }
Exemple #10
0
        public static OrdenCompraComplementoGasDTO InitComplementoGas(int id, string tkn)
        {
            AgenteServicio agente = new AgenteServicio();

            agente.BuscarComplementoGas(id, tkn);
            return(agente._complementoGas);
        }
Exemple #11
0
        public static RespuestaDTO ConfirmarPago(OrdenCompraPagoDTO dto, string tkn)
        {
            AgenteServicio agente = new AgenteServicio();

            agente.EnviarConfirmarPago(dto, tkn);
            return(agente._RespuestaDTO);
        }
Exemple #12
0
        public static List <OrdenCompraPagoDTO> SolicitarPagos(int idoc, string tkn)
        {
            AgenteServicio agente = new AgenteServicio();

            agente.BuscarListaPagos(idoc, tkn);
            return(agente._listaOrdenCompraPago);
        }
Exemple #13
0
        public static RespuestaDTO RegistrarDatosFactura(OrdenCompraDTO dto, string tkn)
        {
            AgenteServicio agente = new AgenteServicio();

            agente.EnviarDatosFactura(dto, tkn);
            return(agente._RespuestaDTO);
        }
Exemple #14
0
        public static RespuestaDTO RegistrarEntrada(EntradaMercanciaModel model, string tkn)
        {
            AgenteServicio agente = new AgenteServicio();

            agente.RegistrarEntrada(model, tkn);
            return(agente._RespuestaDTO);
        }
Exemple #15
0
        public static List <CargosModel> ObtenerCargosFilter(CargosModel _mod, string tkn)
        {
            var agente = new AgenteServicio();

            agente.ListaCargosFilter(_mod, tkn);
            return(agente._ListaCargos);
        }
Exemple #16
0
        public static RespuestaDTO ConfirmarDatosExpedidor(OrdenCompraComplementoGasDTO dto, string tkn)
        {
            AgenteServicio agente = new AgenteServicio();

            agente.GuardarDatosExpedidor(dto, tkn);
            return(agente._RespuestaDTO);
        }
Exemple #17
0
        public static ReporteModel ObtenerListaCartera(string tkn, CargosModel model)
        {
            var agente = new AgenteServicio();

            agente.ListaCartera(model, tkn);
            return(agente._repCartera);
        }
Exemple #18
0
        public static RespuestaDTO ConfirmarDatosPapeleta(OrdenCompraComplementoGasDTO dto, string tkn)
        {
            AgenteServicio agente = new AgenteServicio();

            agente.ConfirmarDatosPapeleta(dto, tkn);
            return(agente._RespuestaDTO);
        }
Exemple #19
0
        public static RespuestaDTO guardarAbonos(CargosModel model, string tkn)
        {
            var agente = new AgenteServicio();

            agente.GuardarNuevoAbono(LST(model.Abono), tkn);
            return(agente._RespuestaDTO);
        }
Exemple #20
0
        public static List <OrdenCompraDTO> ObtenerOrdenesCompra(short idEmpresa, string Tkn)
        {
            AgenteServicio agente = new AgenteServicio();

            agente.BuscarOrdenesCompra(idEmpresa, Tkn);
            return(agente._listaOrdenCompra);
        }
Exemple #21
0
        public static RespuestaDTO ActualizarCargo(CargosModel model, string tkn)
        {
            var agente = new AgenteServicio();

            agente.GuardarEdicionCargo(model, tkn);
            return(agente._RespuestaDTO);
        }
Exemple #22
0
        public static OrdenCompraDTO BuscarOrdenCompra(int id, string tkn)
        {
            AgenteServicio agente = new AgenteServicio();

            agente.BuscarOrdenCompra(id, tkn);
            return(agente._ordeCompraDTO);
        }
Exemple #23
0
        public static RespuestaDTO CancelarRequisicion(RequisicionCancelaDTO dto, string tkn)
        {
            var respuestaReq = new AgenteServicio();

            respuestaReq.ActualizarRequisicionCancelar(dto, tkn);
            return(respuestaReq._RespuestaDTO);
        }
Exemple #24
0
        public static List <VentaPuntoVentaDTO> ObtenerTickets(FacturacionGlobalModel model, string tkn)
        {
            AgenteServicio _agente = new AgenteServicio();

            _agente.ListaTickets(model, tkn);
            return(_agente._ListaVenta);
        }
Exemple #25
0
        public static List <RequisicionEstatusDTO> BuscarRequisicionEstatus(string token)
        {
            var respuestaReq = new AgenteServicio();

            respuestaReq.BuscarRequisicionEstatus(token);
            return(respuestaReq._listaRequisicionEstatus);
        }
Exemple #26
0
        public static List <CargosModel> ObtenerListaR(short id, string tkn)
        {
            var agente = new AgenteServicio();

            agente.ListaCRecuperada(id, tkn);
            return(agente._ListaCargos);
        }
Exemple #27
0
        public static RequisicionAutorizacionDTO BuscarRequisicionByNumRequiAuto(int numreq, string token)
        {
            var respuestaReq = new AgenteServicio();

            respuestaReq.BuscarRequisicioAuto(numreq, token);
            return(respuestaReq._requsicionAutorizacion);
        }
Exemple #28
0
        public static List <CargosModel> ObtenerCargosFilter(DateTime fecha1, DateTime fecha2, int Cliente, string rfc, string ticket, short id, string tkn)
        {
            var agente = new AgenteServicio();

            agente.ListaCargosFilter(fecha1, fecha2, Cliente, rfc, ticket, id, tkn);
            return(agente._ListaCargos);
        }
Exemple #29
0
        private static RequisicionAutorizacionDTO BuscarRequisicionByIdRequiAuto(int IdRequisicion, string token)
        {
            var respuestaReq = new AgenteServicio();

            respuestaReq.BuscarRequisicioAuto(IdRequisicion, token);
            return(respuestaReq._requsicionAutorizacion);
        }
Exemple #30
0
        public static RespuestaDTO AutorizarOrdenCompra(OrdenCompraDTO dto, string tkn)
        {
            AgenteServicio agente = new AgenteServicio();

            agente.AutorizarOrdenCompra(dto, tkn);
            return(agente._RespuestaDTO);
        }