Zum Hauptinhalt springen
Version: 5.3

Custom Field Service

Dieser Service dient dem Speichern und Lesen von kundenspezifischen Feldern und deren Inhalt.

LoadCustomFields

Diese Methode lädt die kundenspezifischen Felder und den Inhalt für einen übergebenen Stammdatensatz.

void LoadCustomFields(  
out TpFault fault,
TpAuthentication authentication,
SourceData sourceData,
Guid sourceDataId,
out List<CustomFieldContentDto> customFieldContent,
out List<CustomFieldDto> customFields);
Needed PermissioncustomFields@access
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
sourceDataDefines the source data (Employee, Project, Task, Customer, ActiveTimeEntry, TimeEntry, Team, Department, Branch, MonthlySummary)
sourceDataIdUnique id of the source data
customFieldContentOutContent of the defined custom fields
customFieldsOutAll custom fields that are defined

ReportCustomFields

Diese Methode lädt die kundenspezifischen Felder und den Inhalt für einen übergebenen Stammdatensatz, mit dem Ziel diese Felder für das Reporting zu verwenden.

void ReportCustomFields(  
out TpFault fault,
TpAuthentication authentication,
SourceData sourceData,
Guid sourceDataId,
out List<CustomFieldContentDto> customFieldContent,
out List<CustomFieldDto> customFields);
Needed PermissioncustomFields@report
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
sourceDataDefines the source data (Employee, Project, Task, Customer, ActiveTimeEntry, TimeEntry, Team, Department, Branch, MonthlySummary)
sourceDataIdUnique id of the source data
customFieldContentOutContent of the defined custom fields
customFieldsOutAll custom fields that are defined

SaveCustomFields

Diese Methode wird zum Speichern von kundenspezifischen Feldern verwendet. Mit dieser Methode können jedoch keine neuen kundenspezifischen Felder angelegt, sondern nur befüllt werden.

void SaveCustomFields(  
out TpFault fault,
TpAuthentication authentication,
SourceData sourceData,
Guid sourceDataId,
List<CustomFieldContentDto> customFieldContent);
Needed PermissioncustomFields@access
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
sourceDataDefines the source data (Employee, Project, Task, Customer, ActiveTimeEntry, TimeEntry, Team, Department, Branch, MonthlySummary)
sourceDataIdUnique id of the source data
customFieldContentOutContent of the defined custom fields

LoadCustomFieldDefinitions

Diese Methode lädt die eigentlichen kundenspezifischen Felder zur Bearbeitung.

List<CustomFieldDto> LoadCustomFieldDefinitions(  
out TpFault fault,
TpAuthentication authentication,
SourceData sourceData);
Needed PermissioncustomFields@manage
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
sourceDataDefines the source data (Employee, Project, Task, Customer, ActiveTimeEntry, TimeEntry, Team, Department, Branch, MonthlySummary)
Return valueOutAll custom fields that are defined

SaveCustomFieldDefinitions

Diese Methode speichert die kundenspezifischen Felder ab. Damit können neue Felder erzeugt und bestehende Felddefinitionen angepasst werden.

void SaveCustomFieldDefinitions(  
out TpFault fault,
TpAuthentication authentication,
SourceData sourceData,
List<CustomFieldDto> customFields);
Needed PermissioncustomFields@manage
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
sourceDataDefines the source data (Employee, Project, Task, Customer, ActiveTimeEntry, TimeEntry, Team, Department, Branch, MonthlySummary)
customFieldsAll custom fields that are defined