- Joined
- Jan 5, 2021
- Messages
- 52
- Reaction score
- 10
When trying to report the call I am unable to pass the EntityId and EntityType variables into my query.
When doing the test query it is successfully pulling all necessary information

However, once it comes to Reporting the Call, EntityId and EntityType are not being passed.
Having same issue with V16 and V18
Here is the log of the ReportCall

Here is the XML paramater I am using for the report Call query.
<Parameter Name="ReportCallSQLStatement" Type="String" Parent="ReportCallEnabled" Editor="Sql" Title="Call Journaling SQL Statement:" Default="exec reportcallproc @CallType='[CallType]', @Number='[Number]', @CallDirection='[CallDirection]', @Name='[Name]', @EntityId='[EntityId]', @EntityType='[EntityType]', @Agent='[Agent]', @AgentFirstName='[AgentFirstName]', @AgentLastName='[AgentLastName]', @AgentEmail='[AgentEmail]', @Duration='[Duration]', @DateTime='[DateTime]', @CallStartTimeUTC='[CallStartTimeUTC]', @CallEndTimeUTC='[CallEndTimeUTC]'" />
When doing the test query it is successfully pulling all necessary information

However, once it comes to Reporting the Call, EntityId and EntityType are not being passed.
Having same issue with V16 and V18
Here is the log of the ReportCall

Here is the XML paramater I am using for the report Call query.
<Parameter Name="ReportCallSQLStatement" Type="String" Parent="ReportCallEnabled" Editor="Sql" Title="Call Journaling SQL Statement:" Default="exec reportcallproc @CallType='[CallType]', @Number='[Number]', @CallDirection='[CallDirection]', @Name='[Name]', @EntityId='[EntityId]', @EntityType='[EntityType]', @Agent='[Agent]', @AgentFirstName='[AgentFirstName]', @AgentLastName='[AgentLastName]', @AgentEmail='[AgentEmail]', @Duration='[Duration]', @DateTime='[DateTime]', @CallStartTimeUTC='[CallStartTimeUTC]', @CallEndTimeUTC='[CallEndTimeUTC]'" />