Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -4527,21 +4527,33 @@ Partial Class Compras_Compras
|
||||
End If
|
||||
ValidaFechaDeAlamacen()
|
||||
Else
|
||||
'GvInv.Rows(x).FCDropDownList("ddlEAlmacen").SelectedValue.ToEntero 'Charlie
|
||||
Dim x As Integer = 0
|
||||
For Each Dr As GridViewRow In GvInv.Rows
|
||||
If Dr.FCCheckBox("cbInv").Checked Then
|
||||
|
||||
If Not Dr.FCDropDownList("ddlEAlmacen").SelectedValue.ToEntero > 0 Then
|
||||
Alert("Favor de seleccionar almacen en la pestaña de almacén.", TipoMensaje.MsgAdvertencia)
|
||||
Exit Sub
|
||||
End If
|
||||
|
||||
x = x + 1
|
||||
End If
|
||||
|
||||
Next
|
||||
|
||||
If Not (CveCompraRefacturacion > 0 AndAlso ChkRefacturacionConAlmacen.Checked) Then
|
||||
If x = 0 AndAlso GvInv.Rows.Count > 0 Then
|
||||
Alert("Favor de seleccionar un producto en la pestaña de almacen", TipoMensaje.MsgAdvertencia)
|
||||
Alert("Favor de seleccionar un producto en la pestaña de almacén", TipoMensaje.MsgAdvertencia)
|
||||
Exit Sub
|
||||
End If
|
||||
End If
|
||||
|
||||
End If
|
||||
End If
|
||||
|
||||
|
||||
|
||||
If UsuarioActual.Empresa.Funcionalidad(538) = "1" Then
|
||||
If TmpDT.MIN("CvePS").ToEntero <= 0 Then
|
||||
Alert("Todos los Productos/Servicios deben estar registrados o aliados a un productos ya registrado.", TipoMensaje.MsgAdvertencia)
|
||||
|
||||
Reference in New Issue
Block a user