Guardar mensaje de NoSeGuardoPoliza en log
This commit is contained in:
@@ -10447,6 +10447,7 @@ Partial Class Ventas
|
|||||||
|
|
||||||
'MUESTA ALERT ERROR
|
'MUESTA ALERT ERROR
|
||||||
Alert("Ocurrió un error al procesar los datos. Por favor rectifique y vuelta a intentar.", TipoMensaje.MsgError)
|
Alert("Ocurrió un error al procesar los datos. Por favor rectifique y vuelta a intentar.", TipoMensaje.MsgError)
|
||||||
|
GuardaLog("1.0 - Ocurrió un error al procesar los datos. Por favor rectifique y vuelta a intentar. SeGuardoPrePoliza: " + If(SeGuardoPrePoliza, "Si", "No") + " TipoDocto: " + ObjFactura.TipoDocto)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
ObjVentas.Dispose()
|
ObjVentas.Dispose()
|
||||||
@@ -10472,6 +10473,7 @@ Partial Class Ventas
|
|||||||
|
|
||||||
'MUESTA ALERT ERROR
|
'MUESTA ALERT ERROR
|
||||||
Alert("Ocurrió un error al procesar los datos. Por favor rectifique y vuelta a intentar.", TipoMensaje.MsgError)
|
Alert("Ocurrió un error al procesar los datos. Por favor rectifique y vuelta a intentar.", TipoMensaje.MsgError)
|
||||||
|
|
||||||
ObjVentas.Dispose()
|
ObjVentas.Dispose()
|
||||||
ObjConta.Dispose()
|
ObjConta.Dispose()
|
||||||
ObjInventario.Dispose()
|
ObjInventario.Dispose()
|
||||||
@@ -10485,6 +10487,8 @@ Partial Class Ventas
|
|||||||
|
|
||||||
TmpDT = TmpDTError.Copy
|
TmpDT = TmpDTError.Copy
|
||||||
CalculaTotalesVenta(RecalcularTotalOriginal:=False)
|
CalculaTotalesVenta(RecalcularTotalOriginal:=False)
|
||||||
|
|
||||||
|
GuardaLog("2.0- Ocurrió un error al procesar los datos. Por favor rectifique y vuelta a intentar. SeGuardoPrePoliza: " + If(SeGuardoPrePoliza, "Si", "No") + " TipoDocto: " + ObjFactura.TipoDocto)
|
||||||
End If
|
End If
|
||||||
ObjFactura = Nothing
|
ObjFactura = Nothing
|
||||||
ListaNotasCreditoGeneradas = Nothing
|
ListaNotasCreditoGeneradas = Nothing
|
||||||
|
|||||||
Reference in New Issue
Block a user