mejoras de rendimiento
This commit is contained in:
@@ -596,14 +596,11 @@ Partial Class Bancos_PopIEVentas
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
CargaTipoTransaccion(TipoTransaccion)
|
CargaTipoTransaccion(TipoTransaccion)
|
||||||
CargaCuentas()
|
CargaCuentas()
|
||||||
|
|
||||||
Dim ObjCompras As New ClsCompras
|
|
||||||
If ObjCompras.GetCompras(-1, "-1", "-1", -1, -1, UsuarioActual.CveEmpresa, ProveedorRFC:=RFCCliente) Then
|
|
||||||
RBLContado.Items(4).Enabled = True
|
|
||||||
End If
|
|
||||||
ObjCompras.Dispose()
|
|
||||||
|
|
||||||
Dim dia As Integer = If(UsuarioActual.CveEmpresa = 13, Now.Day - 1, Now.Day)
|
Dim dia As Integer = If(UsuarioActual.CveEmpresa = 13, Now.Day - 1, Now.Day)
|
||||||
Fecha = (dia.ToString + "/" + Now.Month.ToString + "/" + Now.Year.ToString).ToDate
|
Fecha = (dia.ToString + "/" + Now.Month.ToString + "/" + Now.Year.ToString).ToDate
|
||||||
|
|
||||||
@@ -726,7 +723,7 @@ Partial Class Bancos_PopIEVentas
|
|||||||
CveMoneda = dr("CveMoneda").ToString.ToEntero
|
CveMoneda = dr("CveMoneda").ToString.ToEntero
|
||||||
CveMonedaVenta = dr("CveMoneda").ToString.ToEntero
|
CveMonedaVenta = dr("CveMoneda").ToString.ToEntero
|
||||||
CveMonedaFiltros = dr("CveMoneda").ToString.ToEntero
|
CveMonedaFiltros = dr("CveMoneda").ToString.ToEntero
|
||||||
NombreCliente = GlobalDTCliente(UsuarioActual.CveEmpresa, CveCliente:=CveCliente).FiltroPrimeroValor("Nombre", String.Format("CveCliente = {0}", CveCliente))
|
NombreCliente = dr("ClienteNombre").ToString '' GlobalDTCliente(UsuarioActual.CveEmpresa, CveCliente:=CveCliente).FiltroPrimeroValor("Nombre", String.Format("CveCliente = {0}", CveCliente))
|
||||||
SerieFolio = dr("SerieFolio").ToString
|
SerieFolio = dr("SerieFolio").ToString
|
||||||
TipoCambioOriginal = dr("TipoCambio").ToString.ToDecimal
|
TipoCambioOriginal = dr("TipoCambio").ToString.ToDecimal
|
||||||
CveSubProyectoVenta = dr("CveSubProyecto").ToString.ToEntero
|
CveSubProyectoVenta = dr("CveSubProyecto").ToString.ToEntero
|
||||||
@@ -785,6 +782,14 @@ Partial Class Bancos_PopIEVentas
|
|||||||
'Cortes de Caja
|
'Cortes de Caja
|
||||||
If UsuarioActual.TienePermisoProceso(160) Then
|
If UsuarioActual.TienePermisoProceso(160) Then
|
||||||
CargaCorteCaja()
|
CargaCorteCaja()
|
||||||
|
End If
|
||||||
|
|
||||||
|
If RFCCliente.ToUpper <> "XAXX010101000" Then
|
||||||
|
Dim ObjCompras As New ClsCompras
|
||||||
|
If ObjCompras.GetCompras(-1, "-1", "-1", -1, -1, UsuarioActual.CveEmpresa, ProveedorRFC:=RFCCliente) Then
|
||||||
|
RBLContado.Items(4).Enabled = True
|
||||||
|
End If
|
||||||
|
ObjCompras.Dispose()
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If Not Validada Then
|
If Not Validada Then
|
||||||
|
|||||||
Reference in New Issue
Block a user