Hi,
This is on Crystal Report 10 connecting to Oracle. It is something, if even possible that is well beyond my knowledge of crystal. I would like to know if it is something that is doable or if I am wasting my time looking at it.
Basically, our incidents are recorded into a database. Now, my client wants to get the resolution time of a ticket but wants it done for business hours only AND excluding the time when an incident is in pending. The business hours I have working properly, but the pending I don't know if it is possible.
I won't paste code as I don't have any for this. The thing to know is that when an incident goes in pending multiple times, only the last time is kept in the view. It discards everything else so I cannot use a status history view to get data.
Instead, to get this I would have to figure out a way to search a CLOB field for specific lines of text and then print the line over it, which shows the date. Then, this date would need to be converted from a string to a time in seconds where I would substract the start time from the end time.
In short, this is what it looks like :
20/03/2006 3:14:00 PM Chabot Marc
The ticket is now in Pending-Vendor mode, until 21/03/2006 9:13:21 AM ATL.
21/03/2006 9:22:03 AM AR_ESCALATOR
BF Date has expired on ticket # 1559382, an alert has been sent to something@something.com
I would need to search for 'The ticket is now in Pending' and 'BF Date has expired on ticket', get the line above and convert the caracters to seconds. I would then get the total number of seconds, substract it from my total number of seconds in business time and convert this to the actual time to resolution.
The issues are as follows :
- We print PM and AM instead of using a 24 hour clock.
- Someone can manually remove a ticket from pending
So, is this something that I even want to try working on or should I just tell her straight away it is not possible?
I leave in minutes so will not post back until Monday if required.
Thank you,
Phil
This is on Crystal Report 10 connecting to Oracle. It is something, if even possible that is well beyond my knowledge of crystal. I would like to know if it is something that is doable or if I am wasting my time looking at it.
Basically, our incidents are recorded into a database. Now, my client wants to get the resolution time of a ticket but wants it done for business hours only AND excluding the time when an incident is in pending. The business hours I have working properly, but the pending I don't know if it is possible.
I won't paste code as I don't have any for this. The thing to know is that when an incident goes in pending multiple times, only the last time is kept in the view. It discards everything else so I cannot use a status history view to get data.
Instead, to get this I would have to figure out a way to search a CLOB field for specific lines of text and then print the line over it, which shows the date. Then, this date would need to be converted from a string to a time in seconds where I would substract the start time from the end time.
In short, this is what it looks like :
20/03/2006 3:14:00 PM Chabot Marc
The ticket is now in Pending-Vendor mode, until 21/03/2006 9:13:21 AM ATL.
21/03/2006 9:22:03 AM AR_ESCALATOR
BF Date has expired on ticket # 1559382, an alert has been sent to something@something.com
I would need to search for 'The ticket is now in Pending' and 'BF Date has expired on ticket', get the line above and convert the caracters to seconds. I would then get the total number of seconds, substract it from my total number of seconds in business time and convert this to the actual time to resolution.
The issues are as follows :
- We print PM and AM instead of using a 24 hour clock.
- Someone can manually remove a ticket from pending
So, is this something that I even want to try working on or should I just tell her straight away it is not possible?
I leave in minutes so will not post back until Monday if required.
Thank you,
Phil