-- mejora global
This commit is contained in:
@@ -233,6 +233,7 @@ Partial Class Sistemas_CatSesiones
|
|||||||
If ObjPS.GetMetodosInv() Then Application("GlobalDTInvMetodosInventario") = ObjPS.DtResultados Else Application("GlobalDTInvMetodosInventario") = Nothing
|
If ObjPS.GetMetodosInv() Then Application("GlobalDTInvMetodosInventario") = ObjPS.DtResultados Else Application("GlobalDTInvMetodosInventario") = Nothing
|
||||||
'If ObjPS.GetPSSimplificado(-1) Then Application("GlobalDTPSSimplificado") = ObjPS.DtResultados.AsEnumerable() Else Application("GlobalDTPSSimplificado") = Nothing
|
'If ObjPS.GetPSSimplificado(-1) Then Application("GlobalDTPSSimplificado") = ObjPS.DtResultados.AsEnumerable() Else Application("GlobalDTPSSimplificado") = Nothing
|
||||||
ObjPS.Dispose()
|
ObjPS.Dispose()
|
||||||
|
GlobalDTClasificaciones(UsuarioActual.CveEmpresa) = Nothing
|
||||||
GlobalDTPSSimplificado(UsuarioActual.CveEmpresa) = Nothing
|
GlobalDTPSSimplificado(UsuarioActual.CveEmpresa) = Nothing
|
||||||
Using ObjVenta As New ClsVentas
|
Using ObjVenta As New ClsVentas
|
||||||
If ObjVenta.GetClasificacionDetalle(-1, CveClasificacion:=-1) Then
|
If ObjVenta.GetClasificacionDetalle(-1, CveClasificacion:=-1) Then
|
||||||
@@ -602,6 +603,9 @@ Partial Class Sistemas_CatSesiones
|
|||||||
Private Sub Sistemas_CatSesiones_Load(sender As Object, e As EventArgs) Handles Me.Load
|
Private Sub Sistemas_CatSesiones_Load(sender As Object, e As EventArgs) Handles Me.Load
|
||||||
Dim dominio As String = HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority)
|
Dim dominio As String = HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority)
|
||||||
|
|
||||||
|
If Not Page.IsPostBack Then
|
||||||
|
GlobalDTRegimenesFiscales = Nothing
|
||||||
|
End If
|
||||||
'If Not dominio.Contains("gps.adsistemas") Then
|
'If Not dominio.Contains("gps.adsistemas") Then
|
||||||
' dominio = dominio.Replace("http", "https")
|
' dominio = dominio.Replace("http", "https")
|
||||||
' Response.Redirect(dominio)
|
' Response.Redirect(dominio)
|
||||||
|
|||||||
Reference in New Issue
Block a user