diff --git a/App_Code/ClsCRM.vb b/App_Code/ClsCRM.vb
index 50c928d51..866c58dfa 100644
--- a/App_Code/ClsCRM.vb
+++ b/App_Code/ClsCRM.vb
@@ -1173,7 +1173,7 @@ Public Class ClsCRM
- Public Function RepAgendasBitacoras(CveEmpresa As Integer, CveVendedor As Integer, CveTipoProceso As Integer, FechaInicio As Date, FechaFin As Date) As Boolean
+ Public Function RepAgendasBitacoras(CveEmpresa As Integer, CveVendedor As Integer, CveTipoProceso As Integer, FechaInicio As Date, FechaFin As Date, Optional CveTipoEvento As Integer = -1) As Boolean
Dim retorno As Boolean = False
DataAdapter("PA_CRM_RepAgendasBitacoras", CommandType.StoredProcedure)
With SqlAdapter.SelectCommand.Parameters
@@ -1183,6 +1183,7 @@ Public Class ClsCRM
.Add("@CveTipoProceso", SqlDbType.Int).Value = CveTipoProceso
.Add("@FechaInicio", SqlDbType.Date).Value = FechaInicio
.Add("@FechaFin", SqlDbType.Date).Value = FechaFin
+ .Add("@CveTipoEvento", SqlDbType.Int).Value = CveTipoEvento
End With
diff --git a/CRM/RepAgendasBitacoras.aspx b/CRM/RepAgendasBitacoras.aspx
index 0ea6824c0..edbe65404 100644
--- a/CRM/RepAgendasBitacoras.aspx
+++ b/CRM/RepAgendasBitacoras.aspx
@@ -71,6 +71,15 @@