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

Kayako develops robust helpdesk software, live chat and real-time visitor monitoring software.
Kayako is trusted by more than 30,000 organizations, including a number of Fortune 500 companies and government institutions.
Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
Torsten Offline
New Member
 
Posts: 16
Join Date: Dec 2007
Location: Cologne
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: 16
Join Date: Feb 2008
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

Tags
report, special

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

BB 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
Free eSupport Report v1.5 Now Available netarus Modifications & Addon Releases 3 13-04-2008 10:51 PM
Free eSupport Report v1.4 Now Available netarus Modifications & Addon Releases 11 20-06-2007 02:10 PM



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0


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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71