-cleanup
This commit is contained in:
@@ -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