-cleanup
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
<%@ WebHandler Language="VB" Class="SIGWeb" %>
|
||||
|
||||
Imports System
|
||||
Imports System.Web
|
||||
Imports System.Data
|
||||
Imports Newtonsoft.Json
|
||||
Imports Extensiones
|
||||
Imports System.IO
|
||||
Imports Extensiones
|
||||
Imports Microsoft.Reporting.WebForms
|
||||
Imports Newtonsoft.Json
|
||||
|
||||
Public Class SIGWeb : Implements IHttpHandler, IRequiresSessionState
|
||||
'TEMPORAL, DEBE SER REEMPLAZADO POR EL MODELO DE LA LIBRERIA
|
||||
|
||||
@@ -906,19 +906,19 @@ Public Class TareasProgramadas : Implements IHttpHandler
|
||||
Using ObjVentas As New ClsVentas
|
||||
'VENDEDORES
|
||||
If ObjVentas.GetRepMetasVendedores(FechaEnvio, UsuarioActual.CveEmpresa, -1, -1,
|
||||
-1, -1, -1,
|
||||
-1, -1, -1,-1,
|
||||
-1, -1, GrupoSuperior:=0) Then
|
||||
DtGrupoVendedores = ObjVentas.DtResultados.Copy
|
||||
End If
|
||||
'SUCURSAL
|
||||
If ObjVentas.GetRepMetasVendedores(FechaEnvio, UsuarioActual.CveEmpresa, -1, -1,
|
||||
-1, -1, -1,
|
||||
-1, -1, -1, -1,
|
||||
-1, -1, GrupoSuperior:=1) Then
|
||||
DtGrupoSucursales = ObjVentas.DtResultados.Copy
|
||||
End If
|
||||
'EMPRESA
|
||||
If ObjVentas.GetRepMetasVendedores(FechaEnvio, UsuarioActual.CveEmpresa, -1, -1,
|
||||
-1, -1, -1,
|
||||
-1, -1, -1, -1,
|
||||
-1, -1, GrupoSuperior:=2) Then
|
||||
DtGrupoEmpresa = ObjVentas.DtResultados.Copy
|
||||
End If
|
||||
@@ -1036,7 +1036,7 @@ Public Class TareasProgramadas : Implements IHttpHandler
|
||||
|
||||
Using ObjVentas As New ClsVentas
|
||||
If ObjVentas.GetRepMetasVendedores(FechaEnvio, UsuarioActual.CveEmpresa, UsuarioEnviar.CveVendedor, -1,
|
||||
-1, -1, -1, UsuarioEnviar.CveSubProyecto, -1, GrupoSuperior:=1) Then
|
||||
-1, -1, -1, UsuarioEnviar.CveSubProyecto, -1, -1, GrupoSuperior:=1) Then
|
||||
DtReporteVendedor = ObjVentas.DtResultados.Copy
|
||||
End If
|
||||
End Using
|
||||
|
||||
Reference in New Issue
Block a user