Kernel::System::DynamicFieldLegacy::ObjectType::Ticket

NAME

Kernel::System::DynamicFieldLegacy::ObjectType::Ticket

DESCRIPTION

Ticket object handler for DynamicFields

PUBLIC INTERFACE

new()

usually, you want to create an instance of this by using Kernel::System::DynamicFieldLegacy::ObjectType::Ticket->new();

PostValueSet()

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,
    );

ObjectDataGet()

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,
            # ...
        }
    );
Scroll to Top