-- parametro de cveusuario para consultar, solo sus subproyectos
This commit is contained in:
@@ -147,8 +147,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2 form-group form-md-line-input input-iconright" runat="server" id="DvCartaPorte2" visible="false">
|
||||
<asp:CheckBox ID="ChkEmitirCartaPorte" runat="server" Text="Carta Porte" />
|
||||
<label for="<%= ChkEmitirCartaPorte.ClientID.ToString()%>"> Emitir:</label>
|
||||
<asp:CheckBox ID="ChkEmitirCartaPorte" runat="server" Text="Carta Porte" Checked="true" />
|
||||
<label for="<%= ChkEmitirCartaPorte.ClientID.ToString()%>"></label>
|
||||
<i></i>
|
||||
</div>
|
||||
<div class="col-md-1" runat="server" id="DVDatosEntrega7">
|
||||
|
||||
@@ -823,7 +823,7 @@ Partial Class Inventarios_InventarioFisico
|
||||
|
||||
Private Sub BtnConsultar_Click(sender As Object, e As EventArgs) Handles BtnConsultar.Click
|
||||
Dim ObjInventario As New ClsInventarios
|
||||
If ObjInventario.GetInventarioFisico(-1, UsuarioActual.CveEmpresa, DdlFiltroSubProyecto.SelectedValue.ToEntero, DdlEstado.SelectedValue) Then
|
||||
If ObjInventario.GetInventarioFisico(-1, UsuarioActual.CveEmpresa, DdlFiltroSubProyecto.SelectedValue.ToEntero, DdlEstado.SelectedValue, UsuarioActual.CveUsuario) Then
|
||||
gvIF.DataSource = ObjInventario.DtResultados
|
||||
gvIF.DataBind()
|
||||
gvIF.Columns(1).HeaderText = LblSubProyecto.Text
|
||||
|
||||
@@ -99,7 +99,7 @@ Partial Class Inventarios_InventarioFisicoDetalle
|
||||
|
||||
Dim ObjInventario As New ClsInventarios
|
||||
|
||||
If ObjInventario.GetInventarioFisico(CveInventarioFisico, CveEmpresa, -1, -1) AndAlso ObjInventario.DtResultados.Rows.Count > 0 Then
|
||||
If ObjInventario.GetInventarioFisico(CveInventarioFisico, CveEmpresa, -1, -1, UsuarioActual.CveUsuario) AndAlso ObjInventario.DtResultados.Rows.Count > 0 Then
|
||||
Dim CveEstatus = ObjInventario.DtResultados.FiltroPrimeroValor("CveEstatus")
|
||||
Select Case CveEstatus
|
||||
Case "0" 'NUEVO
|
||||
|
||||
@@ -115,7 +115,7 @@ Partial Class Inventarios_RepAnomalias
|
||||
GvGrupos.Columns(15).Visible = UsuarioActual.Procesos(201) 'costo
|
||||
End If
|
||||
|
||||
If Inventario.GetInventarioFisico(CveInventarioFisico, UsuarioActual.CveEmpresa, -1, -1) Then
|
||||
If Inventario.GetInventarioFisico(CveInventarioFisico, UsuarioActual.CveEmpresa, -1, -1, UsuarioActual.CveUsuario) Then
|
||||
lbTitulo.Text = Inventario.InventarioFisico
|
||||
lbObservaciones.Text = Inventario.Observaciones
|
||||
lbSubProyecto.Text = Inventario.SubProyectoInventario
|
||||
@@ -450,7 +450,7 @@ Partial Class Inventarios_RepAnomalias
|
||||
Dim dtS As DataTable = Nothing
|
||||
Dim dtF As DataTable = Nothing
|
||||
|
||||
If Inventario.GetInventarioFisico(CveInventarioFisico, UsuarioActual.CveEmpresa, -1, -1) Then
|
||||
If Inventario.GetInventarioFisico(CveInventarioFisico, UsuarioActual.CveEmpresa, -1, -1, UsuarioActual.CveUsuario) Then
|
||||
params.Add(New ReportParameter("NombreEmpresa", UsuarioActual.Empresa.Empresa))
|
||||
params.Add(New ReportParameter("Titulo", Inventario.InventarioFisico))
|
||||
params.Add(New ReportParameter("Observaciones", Inventario.Observaciones))
|
||||
|
||||
@@ -47,10 +47,7 @@ Partial Class Inventarios_RepApartados
|
||||
|
||||
DdlClienteTraspasar.setEsWebService(True)
|
||||
|
||||
Dim DTVendedores As New DataTable
|
||||
DTVendedores = GlobalDTVendedores(UsuarioActual.CveEmpresa, True)
|
||||
DTVendedores.Merge(GlobalDTVendedores(UsuarioActual.CveEmpresa, False))
|
||||
DdlVendedor.DataSource = DTVendedores
|
||||
DdlVendedor.DataSource = GlobalDTVendedores(UsuarioActual.CveEmpresa, Estatus:=-1)
|
||||
DdlVendedor.DataBind()
|
||||
DdlVendedor.Items.Insert(0, New ListItem(" Todos ", "-1"))
|
||||
|
||||
|
||||
@@ -118,8 +118,7 @@
|
||||
<HeaderStyle HorizontalAlign="Left" />
|
||||
<ItemStyle HorizontalAlign="Left" />
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="SubProyecto" HeaderText="Sucursal" ItemStyle-Width="15%" ItemStyle-HorizontalAlign="Left" >
|
||||
<ItemStyle HorizontalAlign="Left" Width="15%" />
|
||||
<asp:BoundField DataField="SubProyecto" HeaderText="Sucursal">
|
||||
</asp:BoundField>
|
||||
|
||||
<asp:BoundField DataField="SerieFolio" HeaderText="Folio" ItemStyle-HorizontalAlign="Left" >
|
||||
|
||||
@@ -333,7 +333,7 @@ public partial class General_RepEntregaAlmacenRuta : ClsPaginas
|
||||
{
|
||||
ClsGenerales ObjGeneral = new ClsGenerales();
|
||||
|
||||
if (ObjGeneral.GetInvEntregaAlmacenRutaRep(DdlSucursales.SelectedValue.ToEntero(),UsuarioActual.CveEmpresa, DdlEstatus.SelectedValue.ToEntero(), TxtFechaI.Text.ToDate(), TxtFechaF.Text.ToDate(), DdlChofer.SelectedValue.ToEntero()))
|
||||
if (ObjGeneral.GetInvEntregaAlmacenRutaRep(DdlSucursales.SelectedValue.ToEntero(),UsuarioActual.CveEmpresa, DdlEstatus.SelectedValue.ToEntero(), TxtFechaI.Text.ToDate(), TxtFechaF.Text.ToDate(), DdlChofer.SelectedValue.ToEntero(),UsuarioActual.CveUsuario))
|
||||
{
|
||||
DTDatos = ObjGeneral.DtResultados;
|
||||
GVDatos.DataSource = DTDatos;
|
||||
|
||||
Reference in New Issue
Block a user