NAME
Kernel::System::DynamicFieldLegacy::ObjectType::Appointment
DESCRIPTION
Appointment object handler for DynamicFields
PUBLIC INTERFACE
new()
usually, you want to create an instance of this by using Kernel::System::DynamicFieldLegacy::ObjectType::Appointment->new();
PostValueSet()
perform specific functions after the Value set for this object type.
my $Success = $DynamicFieldAppointmentHandlerObject->PostValueSet(
DynamicFieldConfig => $DynamicFieldConfig, # complete config of the DynamicField
ObjectID => $ObjectID, # ID of the current object that the field
# must be linked to, e. g. AppointmentID
Value => $Value, # Value to store, depends on backend type
UserID => 123,
);
ObjectDataGet()
retrieves the data of the current object.
my %ObjectData = $DynamicFieldAppointmentHandlerObject->ObjectDataGet(
DynamicFieldConfig => $DynamicFieldConfig, # complete config of the DynamicField
UserID => 123,
);
returns:
%ObjectData = (
ObjectID => 123,
Data => {
AppointmentNumber => '20101027000001',
Title => 'some title',
AppointmentID => 123,
# ...
}
);