Kernel::System::DynamicField::ObjectType::Ticket

NAME

Kernel::System::DynamicField::ObjectType::Ticket

DESCRIPTION

Ticket object handler for DynamicFields

PUBLIC INTERFACE

PostValueSet()

Performs specific functions after setting new values on the dynamic field for this object type.

    my $Success = $ObjectType->PostValueSet(
        Field    => $FieldObject, # The dynamic field object
        ObjectID => 123           # The ObjectID of the dynamic field is assigned to
        Value    => $Value,       # Value to store, depends on backend type
        UserID   => 123,          # UserID of the caller
    );

ObjectDataGet()

Retrieves the data of the current object.

    my %ObjectData = $ObjectType->ObjectDataGet(
        ObjectID => 123, # required
        UserID   => 123, # required
    );

returns:

    %ObjectData = (
        ObjectID => 123,
        Data     => {
            TicketNumber => '20101027000001',
            Title        => 'some title',
            TicketID     => 123,
            # ...
        }
    );
Scroll to Top