NAME

Kernel::Modules::TicketAutoAssignment - interface lib

VERSION

$Revision: 1.0 $ $Date: 2013/02/04 14:38:57 $ $VERSION = qw($Revision: 1.0 $) [1];

Dependencies

No such extra dependency, general OTRS 3.1.x will do.

DESCRIPTION

This module is a interface module and will be access from interface OTRS interface and pl file. User can download the module and keep it under Kernel/Modules/TicketAutoAssignment.pm or can get the opm file from var/packagesetup/TicketAutoAssignment-1.0.1 and get installed as bundel in OTRS.

SYNOPSIS

All function for auto allocation of ticket when newly created.

PUBLIC INTERFACE

create an object

use Kernel::Config;
use Kernel::System::Encode;
use Kernel::System::Log;
use Kernel::System::Main;
use Kernel::System::DB;
use Kernel::System::Time;
use Kernel::System::Ticket;
use Kernel::System::AuthSession;
use Kernel::Modules::TicketAutoAssignment;

#
# create common objects
#
my %CommonObject = ();
$CommonObject{ConfigObject}	= Kernel::Config->new();
$CommonObject{EncodeObject}	= Kernel::System::Encode->new(%CommonObject);
$CommonObject{LogObject}	= Kernel::System::Log->new(
				LogPrefix => 'OTRS-otrs.AutoAllocation.pl',
				%CommonObject,
				);
$CommonObject{MainObject}	= Kernel::System::Main->new(%CommonObject);
$CommonObject{TimeObject}	= Kernel::System::Time->new(%CommonObject);
$CommonObject{DBObject}		= Kernel::System::DB->new(%CommonObject);
$CommonObject{TicketObject}	= Kernel::System::Ticket->new(%CommonObject);
$CommonObject{GroupObject}  	= Kernel::System::Group->new(%CommonObject);
$CommonObject{SessionObject}	= Kernel::System::AuthSession->new(%CommonObject);
$CommonObject{AutoAllocation}	= Kernel::Modules::TicketAutoAssignment->new();

TERMS AND CONDITIONS

This software is part of the OTRS project (http://otrs.org/). This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (AGPL). If you did not receive this file, see http://www.gnu.org/licenses/agpl.txt.