This commit is contained in:
rmolina
2019-12-06 19:20:17 -07:00
parent cb3fe8e7a1
commit 1163c6d1aa

View File

@@ -5212,6 +5212,8 @@ Partial Class PV
'Alert("No se ha especificado producto a entregar")
Exit Sub
End If
Try
If DdlTipoUso.SelectedValue.ToEntero > 0 AndAlso DdlPSAjuste.SelectedValue.ToEntero > 0 AndAlso TxtMesesUso.Text <> "" AndAlso DdlPS.SelectedValue.ToEntero > 0 Then
Dim CveMarca As Integer = -1
@@ -5267,6 +5269,10 @@ Partial Class PV
End If
ObjAcum.Dispose()
End If
Catch ex As Exception
OnError("Ocurrió un error al recalcular el costo", ex)
End Try
UpAjuste.Update()
End Sub