Pago electronico guion cavecera
This commit is contained in:
@@ -966,16 +966,18 @@ Partial Class Bancos_PagoElectronicoGrupos
|
||||
RegistrosPago.Append("PSC")
|
||||
End If
|
||||
|
||||
If drow("CLABEOrigen").ToString.Trim.Length = 18 Then
|
||||
RegistrosPago.Append(drow("CLABEOrigen").ToString)
|
||||
If drow("CLABEOrigen").ToString.Trim.Length.Contiene(10, 18) Then
|
||||
|
||||
RegistrosPago.Append(drow("CLABEOrigen").ToString.PadLeft(18, CeroRelleno))
|
||||
|
||||
Else
|
||||
ErrorLayout = True
|
||||
MENSAJEError.AppendLine("ERROR EN CLABE cuenta origen")
|
||||
Exit For
|
||||
End If
|
||||
|
||||
If drow("CLABEDestino").ToString.Trim.Length = 18 Then
|
||||
RegistrosPago.Append(drow("CLABEDestino").ToString)
|
||||
If drow("CLABEDestino").ToString.Trim.Length.Contiene(10, 18) Then
|
||||
RegistrosPago.Append(drow("CLABEDestino").ToString.PadLeft(18, CeroRelleno))
|
||||
Else
|
||||
ErrorLayout = True
|
||||
MENSAJEError.AppendLine("ERROR EN CLABE cuenta destino")
|
||||
@@ -988,10 +990,22 @@ Partial Class Bancos_PagoElectronicoGrupos
|
||||
|
||||
If drow("BancoNombre").ToString.ToUpper.Contains("BANCOMER") Or drow("BancoNombre").ToString.ToUpper.Contains("BBVA") Then
|
||||
|
||||
If drow("Observaciones").ToString.Trim.Length > 30 Then
|
||||
RegistrosPago.Append(drow("Observaciones").ToString.Substring(0, 30))
|
||||
|
||||
If drow("Observaciones").ToString.Trim.Length = 0 Then
|
||||
|
||||
If drow("RazonSocial").ToString.Trim.Length > 30 Then
|
||||
RegistrosPago.Append(drow("RazonSocial").ToString.Substring(0, 30))
|
||||
Else
|
||||
RegistrosPago.Append(drow("RazonSocial").ToString.PadRight(30, EspacioRelleno))
|
||||
End If
|
||||
Else
|
||||
RegistrosPago.Append(drow("Observaciones").ToString.PadRight(30, EspacioRelleno))
|
||||
|
||||
If drow("Observaciones").ToString.Trim.Length > 30 Then
|
||||
RegistrosPago.Append(drow("Observaciones").ToString.Substring(0, 30))
|
||||
Else
|
||||
RegistrosPago.Append(drow("Observaciones").ToString.PadRight(30, EspacioRelleno))
|
||||
End If
|
||||
|
||||
End If
|
||||
|
||||
Else
|
||||
|
||||
Reference in New Issue
Block a user