I think I described my problem not precise,
 
Thank you for your answer, you sent the configuration of mapping/backend (customer information at the side of ticket)
I have done it
I configured unique customer_id there (in customer backend) and I can search for created ticket when I type his cusotmer_id.
but I need second unique id, wich I can search for. in my case it is contract of customer.
 
thx


From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of LQ Marshall
Sent: Monday, November 30, 2009 4:39 PM
To: 'User questions and discussions about OTRS.'
Subject: Re: [otrs] automatically fill of TicketFreeText

> I add TicketFreeText at Ticket. Now, I want that this TicketFreeText gets a value from
> my databyse automatically. This value is a unique value in database (number of contract).
Don't think that TicketFreeText is correct.  I'd think you'd want to add a new field to hold the contract number data - Customize the customer_user table(http://doc.otrs.org/2.4/en/html/x1936.html).