-- filtro de distribuidor scorecard
This commit is contained in:
@@ -4926,7 +4926,7 @@ Public Class ClsVentas
|
|||||||
Return retorno
|
Return retorno
|
||||||
End Function
|
End Function
|
||||||
Public Function GetRepMetasVendedores(FechaMesActual As String, CveEmpresa As Integer, CveVendedor As Integer, CveCategoria As Integer, CveClasificacion As Integer,
|
Public Function GetRepMetasVendedores(FechaMesActual As String, CveEmpresa As Integer, CveVendedor As Integer, CveCategoria As Integer, CveClasificacion As Integer,
|
||||||
CveClasificacion2 As Integer, CveMarca As Integer, CveSubProyecto As Integer, CveCliente As Integer,
|
CveClasificacion2 As Integer, CveMarca As Integer, CveSubProyecto As Integer, CveCliente As Integer, EsDistribuidor As Integer,
|
||||||
Optional GrupoSuperior As Integer = 0) As Boolean
|
Optional GrupoSuperior As Integer = 0) As Boolean
|
||||||
Dim retorno As Boolean = False
|
Dim retorno As Boolean = False
|
||||||
DataAdapter("PA_Vta_MetasVendedores", CommandType.StoredProcedure)
|
DataAdapter("PA_Vta_MetasVendedores", CommandType.StoredProcedure)
|
||||||
@@ -4940,6 +4940,7 @@ Public Class ClsVentas
|
|||||||
.Add("@CveMarca", SqlDbType.Int).Value = CveMarca
|
.Add("@CveMarca", SqlDbType.Int).Value = CveMarca
|
||||||
.Add("@CveSubProyecto", SqlDbType.Int).Value = CveSubProyecto
|
.Add("@CveSubProyecto", SqlDbType.Int).Value = CveSubProyecto
|
||||||
.Add("@CveCliente", SqlDbType.Int).Value = CveCliente
|
.Add("@CveCliente", SqlDbType.Int).Value = CveCliente
|
||||||
|
.Add("@EsDistribuidor", SqlDbType.Int).Value = EsDistribuidor
|
||||||
.Add("@GrupoSuperior", SqlDbType.Int).Value = GrupoSuperior
|
.Add("@GrupoSuperior", SqlDbType.Int).Value = GrupoSuperior
|
||||||
End With
|
End With
|
||||||
Try
|
Try
|
||||||
|
|||||||
Reference in New Issue
Block a user