Kernel::System::DynamicField::ObjectType::Ticket
Ticket object handler for DynamicFields
usually, you want to create an instance of this by using Kernel::System::DynamicField::ObjectType::Ticket->new();
perform specific functions after the Value set for this object type.
my $Success = $DynamicFieldTicketHandlerObject->PostValueSet( DynamicFieldConfig => $DynamicFieldConfig, # complete config of the DynamicField ObjectID => $ObjectID, # ID of the current object that the field # must be linked to, e. g. TicketID Value => $Value, # Value to store, depends on backend type UserID => 123, );
retrieves the data of the current object.
my %ObjectData = $DynamicFieldTicketHandlerObject->ObjectDataGet( DynamicFieldConfig => $DynamicFieldConfig, # complete config of the DynamicField UserID => 123, );
returns:
%ObjectData = ( ObjectID => 123, Data => { TicketNumber => '20101027000001', Title => 'some title', TicketID => 123, # ... } );
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.