Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -73,7 +73,7 @@ Partial Class PopUpBuscarClientes
|
||||
|
||||
Dim ObjClientes As New ClsClientes()
|
||||
If ObjClientes.GetClientes(-1, Nombre, Codigo, NombreCorto, RFC, Telefono, Mail, DdlSubProyecto.SelectedValue.ToEntero, UsuarioActual.CveEmpresa,
|
||||
DdlEstatus.SelectedValue.ToEntero, TipoCliente:=TipoCliente) Then
|
||||
DdlEstatus.SelectedValue.ToEntero, TipoCliente:=TipoCliente, TopSelect:=100) Then
|
||||
If ObjClientes.DtResultados.Rows.Count > 0 Then
|
||||
LtlTotalRegistros.Text = ObjClientes.DtResultados.Rows.Count.ToString.FormatoNumero(0)
|
||||
GV.DataSource = ObjClientes.DtResultados
|
||||
|
||||
@@ -127,7 +127,7 @@ Partial Class PopUpBuscarFolio
|
||||
Dim ObjVentas As New ClsVentas()
|
||||
If ObjVentas.GetVentas(UsuarioActual.CveEmpresa, DdlTipoDocto.SelectedValue, Serie, Folio, Codigo, Cliente.ToEntero, DdlSubProyecto.SelectedValue.ToEntero,
|
||||
DdlEstatusFactura.SelectedValue.ToEntero, DdlUsuario.SelectedValue.ToEntero, FechaI, FechaF, FolioFiscal, If(DdlSucursalCliente.Visible, DdlSucursalCliente.SelectedValue.ToEntero, -1),
|
||||
DdlPS.SelectedValue.ToEntero, PedidoContrato:=PeidoContrato, OrdenCompra:=OrdenCompra, CveUsuarioConsulta:=UsuarioActual.CveUsuario) Then
|
||||
DdlPS.SelectedValue.ToEntero, PedidoContrato:=PeidoContrato, OrdenCompra:=OrdenCompra, CveUsuarioConsulta:=UsuarioActual.CveUsuario, TopSelect:=100) Then
|
||||
If ObjVentas.DtResultados.Rows.Count > 0 Then
|
||||
LtlTotalRegistros.Text = ObjVentas.DtResultados.Rows.Count.ToString.FormatoNumero(0)
|
||||
GV.DataSource = ObjVentas.DtResultados
|
||||
@@ -280,6 +280,7 @@ Partial Class PopUpBuscarFolio
|
||||
End Sub
|
||||
|
||||
Private Function ValidarUnFiltroSeleccionado() As Boolean
|
||||
If DdlClasificacion.SelectedValue.ToEntero > 0 Then Return True
|
||||
If DdlTipoDocto.SelectedValue <> "-1" Then Return True
|
||||
If DdlSubProyecto.SelectedValue.ToEntero > 0 Then Return True
|
||||
If DdlEstatusFactura.SelectedValue.ToEntero > 0 Then Return True
|
||||
|
||||
@@ -68,7 +68,7 @@ Partial Class PopUpBuscarPs
|
||||
Dim ObjPS As New ClsProductosServicios
|
||||
If ObjPS.GetPS(-1, Ddlclasificacion.SelectedValue.ToEntero, UsuarioActual.CveEmpresa, Codigo:=Codigo, CodigoBarras:=CodigoBarras, PS:=Nombre,
|
||||
pEstado:=DdlEstado.SelectedValue.ToEntero, CveTipoPS:=DdlCveTipoPS.SelectedValue.ToEntero, pAplicaParaVenta:=DdlAplicaVenta.SelectedValue.ToEntero,
|
||||
CveCompuesto:=DdlCompuesto.SelectedValue.ToEntero) Then
|
||||
CveCompuesto:=DdlCompuesto.SelectedValue.ToEntero, TopSelect:=100) Then
|
||||
GvDatos.DataSource = ObjPS.DtResultados
|
||||
dvbusqueda.Visible = True
|
||||
Else
|
||||
@@ -103,7 +103,9 @@ Partial Class PopUpBuscarPs
|
||||
If TxtNombre.Text.Trim <> String.Empty Then Return True
|
||||
|
||||
If DdlCveTipoPS.SelectedValue.ToEntero > 0 Then Return True
|
||||
If DdlEstado.SelectedValue.ToEntero > 0 Then Return True
|
||||
If DdlAplicaVenta.SelectedValue.ToEntero > 0 Then Return True
|
||||
If Ddlclasificacion.SelectedValue.ToEntero > 0 Then Return True
|
||||
If DdlCompuesto.SelectedValue.ToEntero > 0 Then Return True
|
||||
|
||||
Return False
|
||||
|
||||
Reference in New Issue
Block a user