Unable to get CustomerID to display as a dropdown list populated from customer_company table, on New Customer User form.
VERSIONS:
Code: Select all
cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
cat /opt/otrs/RELEASE
PRODUCT = OTRS
VERSION = 4.0.13
BUILDDATE = Wed Sep 23 21:13:34 CEST 2015
BUILDHOST = otrsbuild.otrs.com
DEPLOYMENT:
Using unixODBC backend for everything, talking to an MS SQL database. Which is ‘totally unsupported’, I get it, but it is working fine.
TROUBLESHOOTING:
Trawled the web and the forums here, most references are to older OTRS versions but from 3.x onwards, they all point to enable CustomerCompanySupport in the CustomerUser configuration section of /Kernel/Config.pm.
Not getting any errors. From what I can read, enabling CustomerCompanySupport and defining the customer user and customer company tables should deliver dropdown functionality to the input fields for CustomerID, but it doesn’t work.
Have stopped/started httpd.
Have cleared caches.
Have rebuilt configurations.
CONFIG FILE:
/Kernel/Config.pm
Code: Select all
# Activate Customer User Mode
$Self->{CustomerUser} = {
Name => 'Database Backend',
Module => 'Kernel::System::CustomerUser::DB',
Params => {
Table => 'customer_user',
[snip for brevity, all details for this section included from Config/Default.pm]
CustomerCompanySupport => 1,
};
};
# Activate Customer Company Mode
$Self->{CustomerCompany} = {
Name => 'Database Backend',
Module => 'Kernel::System::CustomerCompany::DB',
Params => {
Table => 'customer_company',
[snip for brevity, all details for this section included from Config/Default.pm]
};
};