se consideran los nuevos campos serie,lote y fecha caducidad en el inventario fisico
This commit is contained in:
@@ -136,9 +136,14 @@ Partial Class Inventarios_RepAnomalias
|
||||
Inventario.Dispose()
|
||||
|
||||
GvS.DataSource = dt.FiltraParametros("Diferencia < 0")
|
||||
Dim DtS As DataTable = dt.FiltraParametros("Diferencia < 0")
|
||||
GvS.DataBind()
|
||||
BanderaSerieLoteCad(GvS, DtS)
|
||||
|
||||
GvF.DataSource = dt.FiltraParametros("Diferencia > 0")
|
||||
Dim DtF As DataTable = dt.FiltraParametros("Diferencia > 0")
|
||||
GvF.DataBind()
|
||||
BanderaSerieLoteCad(GvF, DtF)
|
||||
|
||||
Dim Script = ""
|
||||
If (GvF.Rows.Count > 0) Then
|
||||
@@ -267,6 +272,10 @@ Partial Class Inventarios_RepAnomalias
|
||||
End Sub
|
||||
#End Region
|
||||
|
||||
|
||||
Private Sub BanderaSerieLoteCad(Gv As GridView, resultado As DataTable)
|
||||
Gv.Columns(4).Visible = resultado.MAX("Serie") <> ""
|
||||
Gv.Columns(5).Visible = resultado.MAX("Lote") <> ""
|
||||
Gv.Columns(6).Visible = resultado.MAX("FechaCaducidad") <> ""
|
||||
End Sub
|
||||
|
||||
End Class
|
||||
|
||||
Reference in New Issue
Block a user