Esempio n. 1
0
        public static EntradaMercanciaModel EntradaMercancialModel(int idOC, string tkn)
        {
            AgenteServicio agente = new AgenteServicio();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            respuestaReq.BuscarRequisicioAuto(numreq, token);
            return(respuestaReq._requsicionAutorizacion);
        }
Esempio n. 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);
        }
Esempio n. 29
0
        private static RequisicionAutorizacionDTO BuscarRequisicionByIdRequiAuto(int IdRequisicion, string token)
        {
            var respuestaReq = new AgenteServicio();

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

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