Mejora validacion de naturaleza
This commit is contained in:
@@ -2461,7 +2461,7 @@ Partial Class ContabilidadC_RegPrePolizaS
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
If Row("Abono").ToString.ToDecimal > 0 And TipoNaturalesa = "Ing" Then
|
If Row("Abono").ToString.ToDecimal > 0 And TipoNaturalesa = "Ing" Or Row("Cargo").ToString.ToDecimal > 0 And TipoNaturalesa = "Egs" Then
|
||||||
Alert($"El movimiento con cuenta: {NombreCuenta} , importe: {ImporteDocumento.ToString("###,###,###.00")} (registro {ContadorRegistros}), no tiene la naturaleza correcta", TipoMensaje.MsgAdvertencia)
|
Alert($"El movimiento con cuenta: {NombreCuenta} , importe: {ImporteDocumento.ToString("###,###,###.00")} (registro {ContadorRegistros}), no tiene la naturaleza correcta", TipoMensaje.MsgAdvertencia)
|
||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
@@ -2571,7 +2571,7 @@ Partial Class ContabilidadC_RegPrePolizaS
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
Return CType(ViewState("ArregloCuentasFolios"), DataTable)
|
Return CType(ViewState("ArregloCuentasFolios"), DataTable)
|
||||||
End Get
|
End Get
|
||||||
Set(value As DataTable)
|
Set(value As DataTable)
|
||||||
ViewState("ArregloCuentasFolios") = value
|
ViewState("ArregloCuentasFolios") = value
|
||||||
End Set
|
End Set
|
||||||
|
|||||||
Reference in New Issue
Block a user