
Hi, Is there any way to search customer by firstname or lastname? Is there any way to search customer by additional customer fields, like company name, zip-code, phone? I know only Utilities support customer search by Customer. I'm sorry, if I missed these discussion on the list. Shozo Kidanet business

Hi Shozo, On Sun, Feb 01, 2004 at 04:01:49PM +0900, murahashi@ayayu.com wrote:
Is there any way to search customer by firstname or lastname? Is there any way to search customer by additional customer fields, like company name, zip-code, phone?
Yes, you can configure it: "CustomerUserSearchFields" is the options, add you additional fields there. [Kernel/Config.pm] $Self->{CustomerUser} = { Module => 'Kernel::System::CustomerUser::DB', Params => { Password => '', Table => 'customer_user', }, # customer uniq id CustomerKey => 'login', # customer # CustomerID => 'customer_id', CustomerValid => 'valid_id', CustomerUserListFields => ['first_name', 'last_name', 'email'], CustomerUserSearchFields => ['login', 'last_name', 'customer_id'], CustomerUserPostMasterSearchFields => ['email'], CustomerUserNameFields => ['salutation', 'first_name', 'last_name'], Map => [ # note: Login, Email and CustomerID needed! # var, frontend, storage, shown, required, storage-type, http-link [ 'UserSalutation', 'Salutation', 'salutation', 1, 0, 'var' ], [ 'UserFirstname', 'Firstname', 'first_name', 1, 1, 'var' ], [ 'UserLastname', 'Lastname', 'last_name', 1, 1, 'var' ], [ 'UserLogin', 'Login', 'login', 1, 1, 'var' ], [ 'UserPassword', 'Password', 'pw', 0, 1, 'var' ], [ 'UserEmail', 'Email', 'email', 0, 1, 'var' ], [ 'UserCustomerID', 'CustomerID', 'customer_id', 0, 1, 'var' ], [ 'UserComment', 'Comment', 'comment', 1, 0, 'var' ], [ 'ValidID', 'Valid', 'valid_id', 0, 1, 'int' ], ], }; [...]
Shozo Kidanet business
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

Hi, Martin,
Thank you for swift reply.
At 2004/02/02 8:25:05, Martin Edenhofer
Hi Shozo,
On Sun, Feb 01, 2004 at 04:01:49PM +0900, murahashi@ayayu.com wrote:
Is there any way to search customer by firstname or lastname? Is there any way to search customer by additional customer fields, like company name, zip-code, phone?
Yes, you can configure it:
"CustomerUserSearchFields" is the options, add you additional fields there.
Where can I see the effect of "CustomerUserSearchFields" definition change? I could not find at all on agent util ot phone view. Thanks.
Shozo Kidanet business
Martin Edenhofer
Shozo KidanetBusiness

Hi Shozo, On Mon, Feb 02, 2004 at 12:34:39PM +0900, murahashi@ayayu.com wrote:
On Sun, Feb 01, 2004 at 04:01:49PM +0900, murahashi@ayayu.com wrote:
Is there any way to search customer by firstname or lastname? Is there any way to search customer by additional customer fields, like company name, zip-code, phone?
Yes, you can configure it:
"CustomerUserSearchFields" is the options, add you additional fields there.
Where can I see the effect of "CustomerUserSearchFields" definition change? I could not find at all on agent util ot phone view.
phone view -=> type search option into From: and click "serach customer". Then you will get a result list.
Shozo KidanetBusiness
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

Thank you, Martin.
I got it! I feel this search interface may be a little bit not easy to understand for some user like me.
But I like it. Simple and nice.
Shozo
At 2004/02/02 16:27:13, Martin Edenhofer
Hi Shozo,
On Mon, Feb 02, 2004 at 12:34:39PM +0900, murahashi@ayayu.com wrote:
On Sun, Feb 01, 2004 at 04:01:49PM +0900, murahashi@ayayu.com wrote:
Is there any way to search customer by firstname or lastname? Is there any way to search customer by additional customer fields, like company name, zip-code, phone?
Yes, you can configure it:
"CustomerUserSearchFields" is the options, add you additional fields there.
Where can I see the effect of "CustomerUserSearchFields" definition change? I could not find at all on agent util ot phone view.
phone view -=> type search option into From: and click "serach customer".
Then you will get a result list.
Shozo KidanetBusiness
Martin Edenhofer
-- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting f�r Ihr OTRS System? => http://www.otrs.de/
participants (2)
-
Martin Edenhofer
-
murahashi@ayayu.com