Kernel::System::ITSMConfigItem::Number - sub module of Kernel::System::ITSMConfigItem
All config item number functions.
ConfigItemNumberLookup()
return config item id or config item number
my $ConfigItemNumber = $ConfigItemObject->ConfigItemNumberLookup(
ConfigItemID => 123,
);
or
my $ConfigItemID = $ConfigItemObject->ConfigItemNumberLookup(
ConfigItemNumber => '123454321',
);
ConfigItemNumberCreate()
create a new config item number
my $Number = $ConfigItemObject->ConfigItemNumberCreate(
Type => 'AutoIncrement',
ClassID => 123,
);
CurrentCounterGet()
return the current counter of a class
my $Counter = $ConfigItemObject->CurrentCounterGet(
ClassID => 123,
Type => 'AutoIncrement',
);
CurrentCounterSet()
set the current counter of a class
my $True = $ConfigItemObject->CurrentCounterSet(
ClassID => 123,
Type => 'AutoIncrement',
Counter => '12',
);
This software is part of the OTRS project (https://otrs.org/).
This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (GPL). If you did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.