Bloquear PrePolizasDetalle al contabilizar y desbloquearlos al descontabilizar.

This commit is contained in:
Desarrollo2019
2019-08-20 11:24:45 -07:00
parent f24e84694b
commit c5ff2c78ec
2 changed files with 31 additions and 0 deletions

View File

@@ -1712,6 +1712,13 @@ Partial Class RegPoliza
ErrorTrans = True
End If
If Not ErrorTrans Then
If Not ObjMov.UpdatePrePolizasDetalleBloquear(CvePrePoliza, False) Then
ErrorTrans = True
End If
End If
If Not ErrorTrans Then
ObjConta.Commit()
ObjMov.Commit()