Permiso para ver importe de Inventario en RepRemisiones.aspx
This commit is contained in:
@@ -92,10 +92,15 @@ Partial Class RepRemisiones
|
||||
|
||||
Dim ObjVentas As New ClsVentas
|
||||
If ObjVentas.GetRepRemisionesSinFacturar(FechaI, FechaF, FechaV, Sucursales, CveCliente, CveContrato, Vendedores, UsuarioActual.CveEmpresa, CveUsuarioConsulta:=UsuarioActual.CveUsuario) Then
|
||||
GvDatos.DataSource = ObjVentas.DtResultados
|
||||
DtVentas = ObjVentas.DtResultados
|
||||
DtVentas = ObjVentas.DtResultados.Copy()
|
||||
GvDatos.DataSource = DtVentas
|
||||
End If
|
||||
GvDatos.Columns(7).Visible = ObjVentas.DtResultados.SUMD("Descuento") > 0
|
||||
|
||||
If DtVentas IsNot Nothing Then
|
||||
GvDatos.Columns(7).Visible = DtVentas.SUMD("Descuento") > 0
|
||||
End If
|
||||
|
||||
GvDatos.Columns(10).Visible = UsuarioActual.TienePermisoProceso(201)
|
||||
ObjVentas.Dispose()
|
||||
|
||||
GvDatos.DataBind()
|
||||
|
||||
Reference in New Issue
Block a user