Transferencias Validacino prepoliza y contabilizar
This commit is contained in:
@@ -447,6 +447,20 @@ Partial Class Bancos_Transferencias
|
|||||||
MsgError = "Error al guardar"
|
MsgError = "Error al guardar"
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If MsgError = "" Then
|
||||||
|
If ObjMov.ValidacionPrePolizaCuadre(CvePrePoliza, -1) Then
|
||||||
|
If ObjMov.ValorPolizaDescuadre > 0 Then
|
||||||
|
MsgError = ObjMov.MensajePolizaDescuadre
|
||||||
|
GuardaLogAD($"Bancos/Transferencias | Error:{ObjMov.MensajePolizaDescuadre} Diferencia:{ObjMov.ValorDiferencia} | CvePrePoliza:{CvePrePoliza}", "LogPrePolizas")
|
||||||
|
End If
|
||||||
|
Else
|
||||||
|
MsgError = "No se pudo validar la prepoliza de cuadre."
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
If MsgError = "" Then
|
If MsgError = "" Then
|
||||||
ObjIE.Commit()
|
ObjIE.Commit()
|
||||||
Alert(String.Format("El Movimiento se realizo correctamente.<br>{0}", AlertaGlobal), TipoMensaje.MsgInformacion)
|
Alert(String.Format("El Movimiento se realizo correctamente.<br>{0}", AlertaGlobal), TipoMensaje.MsgInformacion)
|
||||||
|
|||||||
Reference in New Issue
Block a user