NAME
Kernel::System::DynamicField::ObjectType::CustomerCompany
DESCRIPTION
CustomerCompany 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 = $DynamicFieldTicketHandlerObject->ObjectDataGet(
DynamicFieldConfig => $DynamicFieldConfig, # complete config of the DynamicField
UserID => 123,
);
returns:
%ObjectData = (
ObjectID => 123,
Data => {
CustomerCompanyName => 'Customer Inc.',
CustomerID => 'example.com',
CustomerCompanyStreet => '5201 Blue Lagoon Drive',
CustomerCompanyZIP => '33126',
# ...
}
);