/// <summary> /// Determines wheter an element is in the collection. /// </summary> /// <param name="value">The Z00_BURO_TL to locate in the collection.</param> /// <returns>True if found; else false.</returns> public bool Contains(Z00_BURO_TL value) { return(List.Contains(value)); }
/// <summary> /// Inserts a Z00_BURO_TL into the collection at the specified index. /// </summary> /// <param name="index">The zero-based index at which value should be inserted.</param> /// <param name="value">The Z00_BURO_TL to insert.</param> public void Insert(int index, Z00_BURO_TL value) { List.Insert(index, value); }
/// <summary> /// Searches for the specified Z00_BURO_TL and returnes the zero-based index of the first occurrence in the collection. /// </summary> /// <param name="value">The Z00_BURO_TL to locate in the collection.</param> /// <returns>The index of the object found or -1.</returns> public int IndexOf(Z00_BURO_TL value) { return(List.IndexOf(value)); }
/// <summary> /// Removes the first occurrence of the specified Z00_BURO_TL from the collection. /// </summary> /// <param name="value">The Z00_BURO_TL to remove from the collection.</param> public void Remove(Z00_BURO_TL value) { List.Remove(value); }
/// <summary> /// Adds a Z00_BURO_TL to the end of the collection. /// </summary> /// <param name="value">The Z00_BURO_TL to be added to the end of the collection.</param> /// <returns>The index of the newZ00_BURO_TL.</returns> public int Add(Z00_BURO_TL value) { return(List.Add(value)); }
/// <summary> /// Determines wheter an element is in the collection. /// </summary> /// <param name="value">The Z00_BURO_TL to locate in the collection.</param> /// <returns>True if found; else false.</returns> public bool Contains(Z00_BURO_TL value) { return List.Contains(value); }
/// <summary> /// Copies the contents of the Z00_BURO_TLTable to the specified one-dimensional array starting at the specified index in the target array. /// </summary> /// <param name="array">The one-dimensional destination array.</param> /// <param name="index">The zero-based index in array at which copying begins.</param> public void CopyTo(Z00_BURO_TL[] array, int index) { List.CopyTo(array, index); }
/// <summary> /// Adds a Z00_BURO_TL to the end of the collection. /// </summary> /// <param name="value">The Z00_BURO_TL to be added to the end of the collection.</param> /// <returns>The index of the newZ00_BURO_TL.</returns> public int Add(Z00_BURO_TL value) { return List.Add(value); }
/// <summary> /// Searches for the specified Z00_BURO_TL and returnes the zero-based index of the first occurrence in the collection. /// </summary> /// <param name="value">The Z00_BURO_TL to locate in the collection.</param> /// <returns>The index of the object found or -1.</returns> public int IndexOf(Z00_BURO_TL value) { return List.IndexOf(value); }
public int TL_respuestaSeccionCreditos(int estadoInc) { bool salir = false; int repeticiones=0; while (salir == false && estadoInc < etiSecc.Count) { switch(etiSecc[estadoInc].ToString()) { case "TL": if(repeticiones==0) { seccionCreditos.Fecha_Actualiza = cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString()); repeticiones++; } else { seccionCreditosTable.Add(seccionCreditos); seccionCreditos = new Z00_BURO_TL(); seccionCreditos.Fecha_Actualiza = cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString()); repeticiones++; } break; case "00": seccionCreditos.Reg_Impugnado= valSecc[estadoInc].ToString(); break; case "01": seccionCreditos.Otorgante= valSecc[estadoInc].ToString(); break; case "02": seccionCreditos.Nombre_Otorgante= valSecc[estadoInc].ToString(); break; case "03": if(valSecc[estadoInc].ToString().Length==1) { seccionCreditos.Sic= valSecc[estadoInc].ToString(); } else { seccionCreditos.Telefono= valSecc[estadoInc].ToString(); } break; case "04": seccionCreditos.Cuenta= valSecc[estadoInc].ToString(); break; case "05": seccionCreditos.Tipo_Respon= valSecc[estadoInc].ToString(); break; case "06": seccionCreditos.Tipo_Cuenta= valSecc[estadoInc].ToString(); break; case "07": seccionCreditos.Tipo_Contrato= valSecc[estadoInc].ToString(); break; case "08": seccionCreditos.Moneda= valSecc[estadoInc].ToString(); break; case "09": seccionCreditos.Valor_Activo= valSecc[estadoInc].ToString(); break; case "10": seccionCreditos.Num_Pagos= valSecc[estadoInc].ToString(); break; case "11": seccionCreditos.Frecuencia= valSecc[estadoInc].ToString(); break; case "12": seccionCreditos.Monto= valSecc[estadoInc].ToString(); break; case "13": seccionCreditos.Fecha_Apertura= cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString()); break; case "14": seccionCreditos.Fecha_Ult_Pago= cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString()); break; case "15": seccionCreditos.Fecha_Ult_Compra= cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString()); break; case "16": seccionCreditos.Fecha_Cierre= cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString()); break; case "17": seccionCreditos.Fecha_Reporte= cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString()); break; case "18": seccionCreditos.Modo_Reporte = valSecc[estadoInc].ToString(); break; case "19": seccionCreditos.Fecha_Cero = valSecc[estadoInc].ToString(); break; case "20": seccionCreditos.Garantia= valSecc[estadoInc].ToString(); break; case "21": seccionCreditos.Credito_Max = valSecc[estadoInc].ToString(); break; case "22": //Puede contener porsitivos y negativos string SaldoActualConvertido = valSecc[estadoInc].ToString(); if (SaldoActualConvertido.Contains("+") == true) { SaldoActualConvertido = SaldoActualConvertido.Replace("+", ""); } if (SaldoActualConvertido.Contains("-") == true) { SaldoActualConvertido = SaldoActualConvertido.Replace("-", ""); SaldoActualConvertido = "-" + SaldoActualConvertido; } //seccionCreditos.Saldo_Actual= valSecc[estadoInc].ToString(); seccionCreditos.Saldo_Actual = SaldoActualConvertido; break; case "23": seccionCreditos.Limite_Credito= valSecc[estadoInc].ToString(); break; case "24": seccionCreditos.Saldo_Vencido= valSecc[estadoInc].ToString(); break; case "25": seccionCreditos.Pagos_Vencidos= valSecc[estadoInc].ToString(); break; case "26": seccionCreditos.Mop= valSecc[estadoInc].ToString(); break; case "27": seccionCreditos.Historico_Pagos= valSecc[estadoInc].ToString(); break; case "28": seccionCreditos.Fecha_Rec_Hist= cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString()); break; case "29": seccionCreditos.Fecha_Ant_Hist = cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString()); break; case "30": seccionCreditos.Observacion= valSecc[estadoInc].ToString(); break; case "31": seccionCreditos.Total_Pagos= valSecc[estadoInc].ToString(); break; case "32": seccionCreditos.Calif_Mop02= valSecc[estadoInc].ToString(); break; case "33": seccionCreditos.Calif_Mop03= valSecc[estadoInc].ToString(); break; case "34": seccionCreditos.Calif_Mop04= valSecc[estadoInc].ToString(); break; case "35": seccionCreditos.Calif_Mop05= valSecc[estadoInc].ToString(); break; case "36": seccionCreditos.Hist_Mora_Saldo= valSecc[estadoInc].ToString(); break; case "37": seccionCreditos.Hist_Mora_Fecha= cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString()); break; case "38": seccionCreditos.Hist_Mora_Mop02= valSecc[estadoInc].ToString(); break; case "42": seccionCreditos.Fecha_Inicio= cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString()); break; default: salir= true; estadoInc=estadoInc-2; break; } estadoInc++; } seccionCreditosTable.Add(seccionCreditos); return estadoInc; }