-- búsqueda de productos, también por numero parte
This commit is contained in:
@@ -1008,9 +1008,9 @@ Public Class SIGWeb : Implements IHttpHandler, IRequiresSessionState
|
|||||||
Name = Name.REPLACE(" ", "*")
|
Name = Name.REPLACE(" ", "*")
|
||||||
If Name <> "-1" Then
|
If Name <> "-1" Then
|
||||||
If PSCodigoDescripcion = "PSCodigo" Then
|
If PSCodigoDescripcion = "PSCodigo" Then
|
||||||
DTPS = DTPS.Where((Function(a) a!PSCodigo.ToString.ToLower Like ("*" + Name.ToLower + "*")))
|
DTPS = DTPS.Where((Function(a) a!PSCodigo.ToString.ToLower Like ("*" + Name.ToLower + "*") OrElse a!NumeroParte.ToString.ToLower Like ("*" + Name.ToLower + "*")))
|
||||||
Else
|
Else
|
||||||
DTPS = DTPS.Where((Function(a) a!PSCodigoClasificacion.ToString.ToLower Like ("*" + Name.ToLower + "*")))
|
DTPS = DTPS.Where((Function(a) a!PSCodigoClasificacion.ToString.ToLower Like ("*" + Name.ToLower + "*") OrElse a!NumeroParte.ToString.ToLower Like ("*" + Name.ToLower + "*")))
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user