Customer ID grayed out when trying to add customer?

Moderator: crythias

Post Reply
KimmoJ
Znuny newbie
Posts: 47
Joined: 15 Sep 2011, 09:32
Znuny Version: 6.0.22
Real Name: Kimmo Jaskari
Company: Transmar Ab

Customer ID grayed out when trying to add customer?

Post by KimmoJ »

I'm trying to add new customer users to our OTRS and now that we're on version 5, the ID field is grayed out and not editable. Since I can't add anything to it, I can't add users since the user ID field is mandatory (obviously). Why would it be grayed out? Every other field is editable.
KimmoJ
Znuny newbie
Posts: 47
Joined: 15 Sep 2011, 09:32
Znuny Version: 6.0.22
Real Name: Kimmo Jaskari
Company: Transmar Ab

Re: Customer ID grayed out when trying to add customer?

Post by KimmoJ »

Nobody has a clue on this one...?

It's an increasingly aggravating issue as we need to add more users to the system.
denied.png
You do not have the required permissions to view the files attached to this post.
root
Administrator
Posts: 4001
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Customer ID grayed out when trying to add customer?

Post by root »

The value for this field is set depending on the CustomerID of the CustoemrUser you choose. Afaik there's a setting to disable this behaviour.
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
CesarRomario
Znuny newbie
Posts: 31
Joined: 12 Aug 2016, 17:08
Znuny Version: <5.0.6
Real Name: Cesar Romario Delgado Gonzalez
Company: Softtek
Location: Aguascalientes, México

Re: Customer ID grayed out when trying to add customer?

Post by CesarRomario »

You can add options for that, in Customers. Add the user´s company, and that option will be available to select.

Or, if you want induvidual CustomerID, you can do it on mysql.
You do not have the required permissions to view the files attached to this post.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Customer ID grayed out when trying to add customer?

Post by reneeb »

If you do not want to use Customers, but only Customer Users, you can add

Code: Select all

$Self->{CustomerUser}->{CustomerCompanySupport} = 0;
to your Kernel/Config.pm
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
KimmoJ
Znuny newbie
Posts: 47
Joined: 15 Sep 2011, 09:32
Znuny Version: 6.0.22
Real Name: Kimmo Jaskari
Company: Transmar Ab

Re: Customer ID grayed out when trying to add customer?

Post by KimmoJ »

Ohhh ok, so in 5 you have to add a customer company first and then customer users to that company.

The terminology here is confusing as heck. Customer vs Customer User. Especially as I jumped our install from 3 via a quick visit to 4 and up to 5, apparently along the way there handling of customers changed, then. When we were on version 3, customers were just customers.

What's now "Customer" should have a more descriptive name. "Customer Organization", perhaps. A customer is a customer, and a customer can often be an individual.

Now it's a two-stage process, then; at least I understand the thinking now, thanks for the comments and the enlightenment, people, much appreciated. It's not the most logical way to add individuals if you mostly serve specific people and not organizations - first make a fake corporation for them and then add them. But I can live with it.

I suppose I should be re-reading the manual for 5 more thoroughly...
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Customer ID grayed out when trying to add customer?

Post by RStraub »

hehe, it get's worse when you dig through the source code. There's CustomerID used for Customer-Company-IDs as well as for Customer-User-IDs :)
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
KimmoJ
Znuny newbie
Posts: 47
Joined: 15 Sep 2011, 09:32
Znuny Version: 6.0.22
Real Name: Kimmo Jaskari
Company: Transmar Ab

Re: Customer ID grayed out when trying to add customer?

Post by KimmoJ »

Sounds like there is some cleaning up required there too, then! But fortunately we don't have a huge amount of customers, so I can arrange an effort to go through and create Customer Organizations and move customers to them to clean that up.
Post Reply