Cambio para mostrar menos productos
This commit is contained in:
@@ -106,12 +106,22 @@ Partial Class Inventarios_RepAnomalias
|
|||||||
For Each dr As DataRow In dta.FiltraParametros("Incluye = 1").Rows
|
For Each dr As DataRow In dta.FiltraParametros("Incluye = 1").Rows
|
||||||
str.AppendFormat("{0},", dr("Clasificacion"))
|
str.AppendFormat("{0},", dr("Clasificacion"))
|
||||||
Next
|
Next
|
||||||
LblClasif.Text = str.ToString
|
If str.ToString.Length > 500 Then
|
||||||
|
LblClasif.Text = str.ToString.Substring(0, 500)
|
||||||
|
LblClasif.ToolTip = str.ToString
|
||||||
|
Else
|
||||||
|
LblClasif.Text = If(str.ToString <> "", str.ToString, "Todos")
|
||||||
|
End If
|
||||||
str.Clear()
|
str.Clear()
|
||||||
For Each dr As DataRow In dta.FiltraParametros("Incluye = 0").Rows
|
For Each dr As DataRow In dta.FiltraParametros("Incluye = 0").Rows
|
||||||
str.AppendFormat("{0},", dr("Clasificacion"))
|
str.AppendFormat("{0},", dr("Clasificacion"))
|
||||||
Next
|
Next
|
||||||
LblClasificacionesExcluidas.Text = str.ToString
|
If str.ToString.Length > 500 Then
|
||||||
|
LblClasificacionesExcluidas.Text = str.ToString.Substring(0, 500)
|
||||||
|
LblClasificacionesExcluidas.ToolTip = str.ToString
|
||||||
|
Else
|
||||||
|
LblClasificacionesExcluidas.Text = str.ToString
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
@@ -123,12 +133,22 @@ Partial Class Inventarios_RepAnomalias
|
|||||||
For Each dr As DataRow In dta.FiltraParametros("Incluye = 1").Rows
|
For Each dr As DataRow In dta.FiltraParametros("Incluye = 1").Rows
|
||||||
str.AppendFormat("{0},", dr("CodigoPS"))
|
str.AppendFormat("{0},", dr("CodigoPS"))
|
||||||
Next
|
Next
|
||||||
LblProductos.Text = If(str.ToString <> "", str.ToString, "Todos")
|
If str.ToString.Length > 500 Then
|
||||||
|
LblProductos.Text = str.ToString.Substring(0, 500)
|
||||||
|
LblProductos.ToolTip = str.ToString
|
||||||
|
Else
|
||||||
|
LblProductos.Text = If(str.ToString <> "", str.ToString, "Todos")
|
||||||
|
End If
|
||||||
str.Clear()
|
str.Clear()
|
||||||
For Each dr As DataRow In dta.FiltraParametros("Incluye = 0").Rows
|
For Each dr As DataRow In dta.FiltraParametros("Incluye = 0").Rows
|
||||||
str.AppendFormat("{0},", dr("CodigoPS"))
|
str.AppendFormat("{0},", dr("CodigoPS"))
|
||||||
Next
|
Next
|
||||||
LblProductosExcluidos.Text = str.ToString
|
If str.ToString.Length > 500 Then
|
||||||
|
LblProductosExcluidos.Text = str.ToString.Substring(0, 500)
|
||||||
|
LblProductosExcluidos.ToolTip = str.ToString
|
||||||
|
Else
|
||||||
|
LblProductosExcluidos.Text = str.ToString
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
@@ -140,7 +160,12 @@ Partial Class Inventarios_RepAnomalias
|
|||||||
For Each dr As DataRow In dta.FiltraParametros("Incluye = 1").Rows
|
For Each dr As DataRow In dta.FiltraParametros("Incluye = 1").Rows
|
||||||
str.AppendFormat("{0},", dr("RazonSocial"))
|
str.AppendFormat("{0},", dr("RazonSocial"))
|
||||||
Next
|
Next
|
||||||
LblProveedores.Text = str.ToString
|
If str.ToString.Length > 500 Then
|
||||||
|
LblProveedores.Text = str.ToString.Substring(0, 500)
|
||||||
|
LblProveedores.ToolTip = str.ToString
|
||||||
|
Else
|
||||||
|
LblProveedores.Text = If(str.ToString <> "", str.ToString, "Todos")
|
||||||
|
End If
|
||||||
str.Clear()
|
str.Clear()
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user