Hi
i Insert the following code in the Kernel\System\Ticket.pm file. To find the insert location search for "if (@CustomerIDs", and replace this line with the following code.
my %CustomerData;
if ( $Param{CustomerUserID} ) {
%CustomerData = $Self->{CustomerUserObject}->CustomerUserDataGet(
User => $Param{CustomerUserID},
);
}
if (@CustomerIDs && (substr($CustomerData{CustomerID},0,5) ="c_KD ")) {
But don't work.
I using OTRS version 3.0
Enable/Disable company ticket by customer ID
Moderator: crythias
Enable/Disable company ticket by customer ID
I use OTRS 3.08 on windowns 2008 with MySQL
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Enable/Disable company ticket by customer ID
Why are you doing it by customerID? Why not use a customer group via sysconfig?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask