Ejemplo n.º 1
0
        public string Novedades_T3_Alta_ConTasa_Sucursal(long IdPrestador, long IdBeneficiario, DateTime FecNovedad, byte TipoConcepto, int ConceptoOPP,
                                                         double ImpTotal, byte CantCuotas, string NroComprobante, string IP, string Usuario, int Mensual, byte IdEstadoReg,
                                                         decimal montoPrestamo, decimal CuotaTotalMensual, decimal TNA, decimal TEM,
                                                         decimal gastoOtorgamiento, decimal gastoAdmMensual, decimal cuotaSocial, decimal CFTEA,
                                                         decimal CFTNAReal, decimal CFTEAReal, decimal gastoAdmMensualReal, decimal TIRReal, string XMLCuotas,
                                                         int idItem, string nroFactura, string cbu, string nroTarjeta, string otro, string prestadorServicio, string poliza,
                                                         string nroSocio, string nroTicket, int idDomicilioBeneficiario, int idDomicilioPrestador,
                                                         string nroSucursal, DateTime fVto, DateTime fVtoHabilSiguiente, byte idTipoDocPresentado, DateTime fEstimadaEntrega, bool solicitaTarjetaNominada)
        {
            Novedad_Trans oNov = new Novedad_Trans();

            try
            {
                return(oNov.Novedades_T3_Alta_ConTasa(IdPrestador, IdBeneficiario, FecNovedad, TipoConcepto, ConceptoOPP,
                                                      ImpTotal, CantCuotas, NroComprobante, IP, Usuario, Mensual, IdEstadoReg,
                                                      montoPrestamo, CuotaTotalMensual, TNA, TEM,
                                                      gastoOtorgamiento, gastoAdmMensual, cuotaSocial, CFTEA,
                                                      CFTNAReal, CFTEAReal, gastoAdmMensualReal, TIRReal, XMLCuotas,
                                                      idItem, nroFactura, cbu, nroTarjeta, otro, prestadorServicio, poliza,
                                                      nroSocio, nroTicket, idDomicilioBeneficiario, idDomicilioPrestador, nroSucursal, fVto, fVtoHabilSiguiente, idTipoDocPresentado, fEstimadaEntrega, solicitaTarjetaNominada));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oNov);
            }
        }
Ejemplo n.º 2
0
        private void ValidateCompensator(Type compensator)
        {
            DBG.Status(DBG.CRM, "Validating compensator: " + compensator);

            if (!compensator.IsSubclassOf(typeof(Compensator)))
            {
                // Throw an exception!
                throw new ArgumentException(Resource.FormatString("CRM_CompensatorDerive"));
            }

            // We've gotta make sure that this puppy's available for
            // COM clients:
            if (!(new RegistrationServices()).TypeRequiresRegistration(compensator))
            {
                throw new ArgumentException(Resource.FormatString("CRM_CompensatorConstructor"));
            }

            DBG.Info(DBG.CRM, "Testing compensator instantiation:");

            // Create an instance of it just in case:
            ServicedComponent inst = (ServicedComponent)Activator.CreateInstance(compensator);

            if (inst == null)
            {
                throw new ArgumentException(Resource.FormatString("CRM_CompensatorActivate"));
            }
            DBG.Info(DBG.CRM, "'" + compensator + "' instantiation succeeded");

            // Make sure we forcibly get rid of the thing we just created immediately:
            // This has to happen in case it is pooled, otherwise we'll have to wait
            // for the GC to kick in.
            ServicedComponent.DisposeObject(inst);
            DBG.Info(DBG.CRM, "'" + compensator + "' is valid");
        }
Ejemplo n.º 3
0
        public string Valido_Nov_T3_Gestion(long IdPrestador, long IdBeneficiario,
                                            byte TipoConcepto, int ConceptoOPP,
                                            double ImpTotal, byte CantCuotas,
                                            Single Porcentaje, byte CodMovimiento, String NroComprobante,
                                            string IP, string Usuario, int Mensual,
                                            decimal montoPrestamo, decimal CuotaTotalMensual,
                                            decimal TNA, decimal TEM,
                                            decimal gastoOtorgamiento, decimal gastoAdmMensual,
                                            decimal cuotaSocial, decimal CFTEA,
                                            decimal CFTNAReal, decimal CFTEAReal,
                                            decimal gastoAdmMensualReal, decimal TIRReal, bool bGestionErrores)
        {
            Novedad_Trans oNov = new Novedad_Trans();

            try
            {
                return(oNov.Valido_Nov_T3_Gestion(IdPrestador, IdBeneficiario,
                                                  TipoConcepto, ConceptoOPP, ImpTotal,
                                                  CantCuotas, 0, CodMovimiento, NroComprobante,
                                                  DateTime.Now, IP, Usuario, Mensual,
                                                  montoPrestamo, CuotaTotalMensual, TNA, TEM,
                                                  gastoOtorgamiento, gastoAdmMensual, cuotaSocial, CFTEA,
                                                  CFTNAReal, CFTEAReal, gastoAdmMensualReal, TIRReal, bGestionErrores));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oNov);
            }
        }
Ejemplo n.º 4
0
        public string Novedades_Baja_Cuotas(DataSet CuotasABajar, string Ip, string Usuario)
        {
            Novedad_Trans oNov = new Novedad_Trans();

            try
            {
                return(oNov.Novedades_Baja_Cuotas(CuotasABajar, Ip, Usuario));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oNov);
            }
        }
Ejemplo n.º 5
0
        public string Novedades_Baja(long IdNovedadAnt, string IP, string Usuario, int Mensual)
        {
            Novedad_Trans oNov = new Novedad_Trans();

            try
            {
                return(oNov.Novedades_Baja(IdNovedadAnt, IP, Usuario, Mensual));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oNov);
            }
        }
Ejemplo n.º 6
0
        public DataSet  TraeCuotas(long idNovedad, long idPrestador)
        {
            Cuotas oCuotas = new Cuotas();

            try
            {
                return(oCuotas.TraeCuotas(idNovedad, idPrestador));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oCuotas);
            }
        }
Ejemplo n.º 7
0
        public String[] altaDeNovedad(long idPrestador, long idBeneficiario, double monto, int mensualDesde, int mensualHasta, string IP, string usuario)
        {
            EntidadPrivada entPriv = new EntidadPrivada();

            try
            {
                return(entPriv.altaDeNovedad(idPrestador, idBeneficiario, monto, mensualDesde, mensualHasta, IP, usuario));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(entPriv);
            }
        }
Ejemplo n.º 8
0
        public bool verDisponible(long idPrestador, long idBeneficiario, double monto, int mensualDesde, int mensualHasta)
        {
            EntidadPrivada entPriv = new EntidadPrivada();

            try
            {
                return(entPriv.verDisponible(idPrestador, idBeneficiario, monto, mensualDesde, mensualHasta));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(entPriv);
            }
        }
Ejemplo n.º 9
0
        public void cancelarNovedad(long idPrestador, long nroDeTransaccion, long idBeneficiario, int mensualHasta)
        {
            EntidadPrivada entPriv = new EntidadPrivada();

            try
            {
                entPriv.cancelarNovedad(idPrestador, nroDeTransaccion, idBeneficiario, mensualHasta);
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(entPriv);
            }
        }
Ejemplo n.º 10
0
        public DataSet TraerTipoServicio(int CodConceptoLiq, short TipoConcepto)
        {
            TipoConcConcLiq oTipo = new TipoConcConcLiq();

            try
            {
                return(oTipo.TraerTipoServicio(CodConceptoLiq, TipoConcepto));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oTipo);
            }
        }
Ejemplo n.º 11
0
        public DataSet Traer(long Prestador)
        {
            TipoConcConcLiq oTipo = new TipoConcConcLiq();

            try
            {
                return(oTipo.Traer(Prestador));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oTipo);
            }
        }
Ejemplo n.º 12
0
        public float MaxPorcentaje( )
        {
            Parametros oParam = new Parametros();

            try
            {
                return(oParam.MaxPorcentaje());
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oParam);
            }
        }
Ejemplo n.º 13
0
        public byte  MaxCantCuotas( )
        {
            Parametros oParam = new Parametros();

            try
            {
                return(oParam.MaxCantCuotas());
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oParam);
            }
        }
Ejemplo n.º 14
0
        public string SitioHabilitado()
        {
            Parametros oParam = new Parametros();

            try
            {
                return(oParam.SitioHabilitado());
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oParam);
            }
        }
Ejemplo n.º 15
0
        public DataSet CostoFinanciero_Trae(byte cantcuotas)
        {
            Parametros oParam = new Parametros();

            try
            {
                return(oParam.CostoFinanciero_Trae(cantcuotas));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oParam);
            }
        }
Ejemplo n.º 16
0
        public DataSet buscoNovedadesPorTipo(long idPrestador, int tipo)
        {
            EntidadPrivada entPriv = new EntidadPrivada();

            try
            {
                return(entPriv.buscoNovedadesPorTipo(idPrestador, tipo));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(entPriv);
            }
        }
Ejemplo n.º 17
0
        public DataSet Modificacion_Masiva_Indeterminadas(DataSet NovAMod, double Monto, string Ip, string Usuario, bool Masiva)
        {
            Novedad_Trans oNov = new Novedad_Trans();

            try
            {
                return(oNov.Modificacion_Masiva_Indeterminadas(NovAMod, Monto, Ip, Usuario, Masiva));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oNov);
            }
        }
Ejemplo n.º 18
0
        public DataSet  TraerxIdPrestador(long idPrestador, string nombreConsulta)
        {
            ConsultasBatch oCons = new ConsultasBatch();

            try
            {
                return(oCons.TraerxIdPrestador(idPrestador, nombreConsulta));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oCons);
            }
        }
Ejemplo n.º 19
0
        public DataSet Trae_SolicitudVamosPaseo(long beneficiario, int nroComprobante)
        {
            SolicitudVamosDePaseo oSol = new SolicitudVamosDePaseo();

            try
            {
                return(oSol.Trae_SolicitudVamosPaseo(beneficiario, nroComprobante));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oSol);
            }
        }
Ejemplo n.º 20
0
        public DataSet Trae_Agencia(int nroLegajo)
        {
            Agencia agencia = new Agencia();

            try
            {
                return(agencia.Trae_Agencia(nroLegajo));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(agencia);
            }
        }
Ejemplo n.º 21
0
        public DataSet Trae_Fec_Cierre_Ant()
        {
            Cierres Cie = new Cierres();

            try
            {
                return(Cie.Trae_Fec_Cierre_Ant());
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(Cie);
            }
        }
Ejemplo n.º 22
0
        public DataSet Traer(string Beneficiario, string Cuil)
        {
            Beneficiarios oBenef = new Beneficiarios();

            try
            {
                return(oBenef.Traer(Beneficiario, Cuil));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oBenef);
            }
        }
Ejemplo n.º 23
0
        public DataSet CuotaSocial_TraeXCuil(long idbeneficiario, long idPrestador)
        {
            Novedad oNov = new Novedad();

            try
            {
                return(oNov.CuotaSocial_TraeXCuil(idbeneficiario, idPrestador));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oNov);
            }
        }
Ejemplo n.º 24
0
        public Boolean CtrolOcurrenciasCancCuotas(byte CantOcurrDisp, long IdBeneficiario, int ConceptoOPP, long IdNovedadABorrar)
        {
            Novedad_Trans oNov = new Novedad_Trans();

            try
            {
                return(oNov.CtrolOcurrenciasCancCuotas(CantOcurrDisp, IdBeneficiario, ConceptoOPP, IdNovedadABorrar));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oNov);
            }
        }
Ejemplo n.º 25
0
        public DataSet Novedades_BajaTraerAgrupadas(long IDPrestador, byte OpcionBusqueda, long BenefCuil, byte TipoConc, int ConcOpp, string MesAplica, bool GeneraArchivo, out string rutaArchivoSal, string Usuario)
        {
            Novedad oNov = new Novedad();

            try
            {
                return(oNov.Novedades_BajaTraerAgrupada(IDPrestador, OpcionBusqueda, BenefCuil, TipoConc, ConcOpp, MesAplica, GeneraArchivo, out rutaArchivoSal, Usuario));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oNov);
            }
        }
Ejemplo n.º 26
0
        public DataSet Novedades_BajaTraer(long IDPrestador, byte OpcionBusqueda, long BenefCuil, byte TipoConc, int ConcOpp)
        {
            Novedad oNov = new Novedad();

            try
            {
                return(oNov.Novedades_BajaTraer(IDPrestador, OpcionBusqueda, BenefCuil, TipoConc, ConcOpp));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oNov);
            }
        }
Ejemplo n.º 27
0
        private void ValidateCompensator(Type compensator)
        {
            if (!compensator.IsSubclassOf(typeof(Compensator)))
            {
                throw new ArgumentException(Resource.FormatString("CRM_CompensatorDerive"));
            }
            if (!new RegistrationServices().TypeRequiresRegistration(compensator))
            {
                throw new ArgumentException(Resource.FormatString("CRM_CompensatorConstructor"));
            }
            ServicedComponent sc = (ServicedComponent)Activator.CreateInstance(compensator);

            if (sc == null)
            {
                throw new ArgumentException(Resource.FormatString("CRM_CompensatorActivate"));
            }
            ServicedComponent.DisposeObject(sc);
        }
Ejemplo n.º 28
0
        public DataSet Novedades_Traer(byte opcion, long lintPrestador, long benefCuil, byte tipoConc, int concopp, int mensual, string fdesde, string fhasta, bool GeneraArchivo, out string rutaArchivoSal, string Usuario)

        {
            Novedad oNov = new Novedad();

            try
            {
                return(oNov.Novedades_Traer(opcion, lintPrestador, benefCuil, tipoConc, concopp, mensual, fdesde, fhasta, GeneraArchivo, out rutaArchivoSal, Usuario));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oNov);
            }
        }
Ejemplo n.º 29
0
        public DataSet Novedades_T1o6_Trae(long Prestador, byte TipoConcepto)

        {
            Novedad oNov = new Novedad();

            try
            {
                return(oNov.Novedades_T1o6_Trae(Prestador, TipoConcepto));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oNov);
            }
        }
Ejemplo n.º 30
0
        public DataSet Novedades_Trae_Xa_ABM(long Prestador, long Beneficiario)

        {
            Novedad oNov = new Novedad();

            try
            {
                return(oNov.Novedades_Trae_Xa_ABM(Prestador, Beneficiario));
            }
            catch (Exception err)
            {
                throw err;
            }
            finally
            {
                ServicedComponent.DisposeObject(oNov);
            }
        }