Hello,
I'm using this simple report to get information of a Contact Center database:
SELECT
ContactCallDetail.sessionID,
ContactCallDetail.startDateTime,
ContactCallDetail.endDateTime,
ContactCallDetail.connectTime,
ContactCallDetail.originatorDN,
ContactCallDetail.calledNumber,
ContactCallDetail.applicationName,
ContactCallDetail.customVariable1,
ContactCallDetail.customVariable2,
ContactCallDetail.customVariable3,
ContactCallDetail.customVariable4,
ContactCallDetail.contactDisposition,
AgentConnectionDetail.startDateTime AS startDateTimeAgent,
AgentConnectionDetail.endDateTime AS endDateTimeAgent,
AgentConnectionDetail.ringTime,
AgentConnectionDetail.talkTime,
AgentConnectionDetail.holdTime,
Resource.resourceName
FROM
Resource INNER JOIN
AgentConnectionDetail ON
Resource.resourceID = AgentConnectionDetail.resourceID
RIGHT OUTER JOIN
ContactCallDetail ON
AgentConnectionDetail.sessionID = ContactCallDetail.sessionID AND
AgentConnectionDetail.sessionSeqNum = ContactCallDetail.sessionSeqNum
WHERE (applicationName LIKE N'FrMe_AS%') AND
(ContactCallDetail.startDateTime >= CONVERT(DATETIME,{?StartDate} + ' 00:00:00', 102)) AND
(ContactCallDetail.startDateTime <= CONVERT(DATETIME, {?EndDate} + ' 23:59:59', 102))
ORDER BY ContactCallDetail.startDateTime , AgentConnectionDetail.startDateTime
Basically it is selecting the fields you can see on the report from the application "FrMe_AS" and in a specific day (selected in the Crystal Delivery tool).
But in the report, I can see some entries about a completely different date (2010) and table (users not in the Application Name).
Have someone any idea of what can be happening? I'm attaching a capture of the issue.