RegPrePolizasS Error al cargar importe negativo con platilla, ligas de Folio generados

This commit is contained in:
Oscar Irigoyen
2022-08-17 11:37:35 -07:00
parent a2fb63718f
commit 0af293832b

View File

@@ -1010,6 +1010,14 @@ Partial Class ContabilidadC_RegPrePolizaS
If CveIE < 0 Then
MsgError = "No se pudo registrar movimiento bancario"
Exit For
Else
If tFolio > 0 Then
FolioIE = tFolio
Else
FolioIE = ObjIE.Folio
End If
End If
End If
@@ -2421,7 +2429,7 @@ Partial Class ContabilidadC_RegPrePolizaS
End If
Folio = FolioExcel
ImporteDocumento = IIf(Row("Abono").ToString.ToDecimal > 0, Row("Abono").ToString.ToDecimal, Row("Cargo").ToString.ToDecimal)
ImporteDocumento = IIf(Row("Abono").ToString.ToDecimal <> 0, Row("Abono").ToString.ToDecimal, Row("Cargo").ToString.ToDecimal)
Observaciones = Row("Referencia").ToString
Beneficiario = Row("Concepto").ToString