BDH. Validar si tiene ajustes por garantia. si tiene el concepto de descuento por garantia.

This commit is contained in:
2023-01-05 21:07:05 -07:00
parent 58f95e6f8a
commit 85dc73d87b

View File

@@ -3465,6 +3465,11 @@ Partial Class PV
MandarCorreoSupervisor = False
End If
If TmpDT.FiltraParametros("Obs = 'Descuento por garantía'").Rows.Count > 0 AndAlso (TmpDTAjustes Is Nothing OrElse TmpDTAjustes.Rows.Count = 0) Then
Alert("No se ha especificado la garantía", TipoMensaje.MsgAdvertencia)
Exit Sub
End If
'If TmpDTAjustes IsNot Nothing AndAlso Not TmpDTAjustes.Rows.Count > 0 AndAlso UsuarioActual.Empresa.Funcionalidad(531).ToString = "1" Then
' RegistraScript("$('#DModalRecepcionUsados').modal('show');")
'Else