public void ObtenerMonedasAbanks(ref DropDownList oddlF, bool IncluirValorInicial = true) { DLOperaciones dlObj = new DLOperaciones(); oddlF.DataSource = dlObj.ObtenerMonedasAbanks(IncluirValorInicial); oddlF.DataValueField = "Valor"; oddlF.DataTextField = "Descripcion"; }
public DataTable ReportePolizas(DateTime FechaIni, DateTime FechaFin, int NumeroMovimiento, string Cuenta, string DescripcionCuenta, string DescripcionEncabezado, int Moneda, bool BusquedaEstricta, string RutaArchivos) { DLOperaciones objOp = new DLOperaciones(); int? NumeroMovimientoN = null; int? MonedaN = null; if (NumeroMovimiento > 0) { NumeroMovimientoN = NumeroMovimiento; } if (Moneda > 0) { MonedaN = Moneda; } if (string.IsNullOrWhiteSpace(Cuenta)) { Cuenta = null; } if (string.IsNullOrWhiteSpace(DescripcionCuenta)) { DescripcionCuenta = null; } if (string.IsNullOrWhiteSpace(DescripcionEncabezado)) { DescripcionEncabezado = null; } //FechaFin = FechaFin.AddDays(1).AddMilliseconds(-1); string Archivo = objOp.ReportePolizas(FechaIni.Year, FechaIni, FechaFin, NumeroMovimientoN, Cuenta, DescripcionCuenta, DescripcionEncabezado, MonedaN, BusquedaEstricta, RutaArchivos + "\\"); DataTable Tabla = new DataTable(); DataRow dr; Tabla.Columns.Add("Concepto"); Tabla.Columns.Add("Ruta"); dr = Tabla.NewRow(); if (Archivo.Length > 4 && Archivo.Substring(0, 5) != "Error") { dr[0] = "Reporte de pólizas abanks"; dr[1] = Archivo = DatosGenerales.RutaReportesDinamicos + Archivo; } else { dr[0] = "Error al generar: " + Archivo; dr[1] = "#"; } Tabla.Rows.Add(dr); return(Tabla); }
public DataTable ReporteCartasGeneradas(int?NumeroPrestamo, string NombreAcreditado, bool AplicaRangoFechas, DateTime Fechaini, DateTime Fechafin) { DLOperaciones objOp = new DLOperaciones(); DateTime?FechaIni; DateTime?FechaFin; if (NumeroPrestamo <= 0) { NumeroPrestamo = null; } if (NombreAcreditado.Trim() == "") { NombreAcreditado = null; } if (AplicaRangoFechas) { if (Fechaini.ToString("yyyyMMdd") == "19000101") { FechaIni = null; } else { FechaIni = Fechaini; } if (Fechafin.ToString("yyyyMMdd") == "19000101") { FechaFin = null; } else { FechaFin = Fechafin; } if (FechaFin != null) { FechaFin = Fechafin.AddDays(1).AddSeconds(-1); } } else { FechaIni = null; FechaFin = null; } return(objOp.ReporteCartasGeneradas(NumeroPrestamo, NombreAcreditado, FechaIni, FechaFin)); }
public FolioCartero LeerDatosFolio(int SolId) { FolioCartero folio; DLOperaciones obj = new DLOperaciones(); DataTable Resultados = new DataTable(); Resultados = obj.LeerDatosFolio(SolId.ToString()); folio.FolioCastorTel = ""; folio.NombreCliente = ""; folio.Credito = ""; folio.TipoCarta = ""; folio.DireccionGarantia = ""; if (Resultados != null && Resultados.Rows.Count == 1) { folio.FolioCastorTel = Resultados.Rows[0][0].ToString(); folio.NombreCliente = Resultados.Rows[0][1].ToString(); folio.Credito = Resultados.Rows[0][2].ToString(); folio.TipoCarta = Resultados.Rows[0][3].ToString(); folio.DireccionGarantia = Resultados.Rows[0][4].ToString(); } return(folio); }
public DataTable BuscarDocumentosSAB(string CadenaBusqueda) { DLOperaciones obj = new DLOperaciones(); return(obj.BuscarDocumentosSAB(CadenaBusqueda)); }
public System.Data.DataTable BuscarCartaSHF(string Tipo, int Numero_Prestamo = 0, int Codigo_Cliente = 0, string Numero_Jit = "", string Nombre = "") { DLOperaciones odlSoftware = new DLOperaciones(); return(odlSoftware.BuscarCartaSHF(Tipo, Numero_Prestamo, Codigo_Cliente, Numero_Jit, Nombre)); }
public string CrearPDFCartaGenerada(string Archivo, int Cart_Id) { DLOperaciones obj = new DLOperaciones(); return(obj.CrearPDFCartaGenerada(Archivo, Cart_Id)); }
public string RegistrarCarta(string UserName, DateTime Cart_FechaDocumento, int Cart_NumeroPrestamo, string Cart_NombreAcreditado, byte[] Cart_Archivo) { DLOperaciones obj = new DLOperaciones(); return(obj.RegistrarCarta(UserName, Cart_FechaDocumento, Cart_NumeroPrestamo, Cart_NombreAcreditado, Cart_Archivo)); }
public string LiberarCarta(string SolId, string SolCveCC, string UserId) { DLOperaciones obj = new DLOperaciones(); return(obj.LiberarCarta(SolId, SolCveCC, UserId)); }