Kayako Logo
Requests Are you looking to hire a designer, developer or to purchase something? Post in here.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
Torsten Offline
New Member
 
Posts: 17
Join Date: Dec 2007
Location: Cologne

SupportSuite
Owned License

Need Special Report - 10-03-2008, 09:54 AM

Hi!

I need a special Report function. It shoult print 1 Ticket on one Page with the Customer Fields.

Who could do this for me. And to which conditions?

I need it realy fast.

Regards


Status of German Translation of WinAPP:

Row 220 of 1054 [==========]20,84%
   
Reply With Quote
  (#2) Old
jj1987 Offline
New Member
 
Posts: 17
Join Date: Feb 2008

SupportSuite
Owned License
18-03-2008, 09:02 PM

Code:
SELECT
LEFT( RIGHT( t2.email, LENGTH( t2.email ) - LOCATE( '@', t2.email ) ) , 9 ) AS CLIENT,
t2.ticketmaskid AS TicketID,
FROM_UNIXTIME( t1.dateline, '%Y-%m-%d' ) AS Date,
LEFT( t3.fullname, 18 ) AS Tech,
REPLACE( LEFT( t2.SUBJECT, 45 ) , '\n', ' ' ) AS Subject,
LEFT( t2.fullname, 18 ) AS Requestor,
t1.timespent AS Tspent,
t1.timebillable AS Tbilled
FROM swtickettimetrack AS t1
LEFT JOIN swtickets AS t2 ON ( t1.ticketid = t2.ticketid )
LEFT JOIN swstaff AS t3 ON ( t1.forstaffid = t3.staffid )
WHERE t1.ticketID
IN ( SELECT ticketID FROM swtickettimetrack
WHERE dateline BETWEEN UNIX_TIMESTAMP( DATE_SUB( CURDATE( ) , INTERVAL 14 DAY ) ) AND 

UNIX_TIMESTAMP( CURDATE( ) +2 ) ) AND t2.ticketstatusid =3 AND t1.timebillable >0 ORDER BY 

Tech, Date, TicketID;

There's a DB query that would spit out one ticket per line, maybe you can modify that to your needs.
   
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
eSupport Report v1.5 Now Available netarus Modifications & Addon Releases 3 13-04-2008 10:51 PM
eSupport Report v1.4 Now Available netarus Modifications & Addon Releases 11 20-06-2007 02:10 PM
v3.00.27 Stable Available Varun Shoor News and Announcements 1 05-12-2005 10:21 PM



Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

Kayako provides online help desk software and support solutions; enabling companies to improve their support and reduce costs.

Our three main products include: SupportSuite, eSupport and LiveResponse



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46