How to change CustomerID under AgentQueueView

Hi! I like to add some information to the TicketView.DTL, but I don't know where to define them. Could you please tell me, where (for example) the $DATA{"CustomerID"} is set (it is used in the TicketView.DTL). It would help me to get a better understanding of the whole otrs system and of perl. Thanks in advance Christian

Hi Christian, On Fri, Oct 24, 2003 at 05:58:39PM +0200, Christian Junk wrote:
I like to add some information to the TicketView.DTL, but I don't know where to define them.
Could you please tell me, where (for example) the
$DATA{"CustomerID"}
is set (it is used in the TicketView.DTL). It would help me to get a better understanding of the whole otrs system and of perl.
$Data{"CustomerID"} is the customer id stored in the ticket table and is a ticket attribute like $Data{"State"} or $Data{"Queue"} and comes in OTRS 1.1.x from Kernel/Modules/AgentQueueView.pm line ~266. I'm not sure what you want to do? Tell me what you want to show in the TicketView.dtl!
Thanks in advance Christian
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Old programmers never die. They just branch to a new address.

Martin Edenhofer wrote:
On Fri, Oct 24, 2003 at 05:58:39PM +0200, Christian Junk wrote:
I like to add some information to the TicketView.DTL, but I don't know where to define them.
Could you please tell me, where (for example) the
$DATA{"CustomerID"}
is set (it is used in the TicketView.DTL). It would help me to get a better understanding of the whole otrs system and of perl.
$Data{"CustomerID"} is the customer id stored in the ticket table and is a ticket attribute like $Data{"State"} or $Data{"Queue"} and comes in OTRS 1.1.x from Kernel/Modules/AgentQueueView.pm line ~266.
Hi! Hm, I found these lines in Kernel\Output\HTML\Standard\TicketView.dtl (line ~97): <tr> <td><b>$Text{"CustomerID"}:</b></td> <td>$Quote{"$Data{"CustomerID"}","18"}</a></td> </tr> This is the place where CustomerID is used. But when I want to look it up in
Kernel/Modules/AgentQueueView.pm line ~266.
I can't find it ;(
I'm not sure what you want to do? Tell me what you want to show in the TicketView.dtl!
Our CustomerID is a number. Each number is associated with a company name, which comes from another table in our database. I like to show up the company name. Regards Christian
participants (2)
-
Christian Junk
-
Martin Edenhofer