TimePunch Configuration Service
Der Konfigurationsservice von TimePunch stellt Methoden bereit, um Einstellungen in TimePunch zu lesen und/oder zu speichern.
LoadCostCenterSettings
Diese Methode gibt die in TimePunch hinterlegten Kostenstellen für die verschiedenen Buchungstypen zurück.
CostCenterDto LoadCostCenterSettings(
out TpFault fault,
TpAuthentication authentication);
Needed Permission | core@logon | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
Return value | Information about the cost centers |
SaveCostCenterSettings
Diese Methode erlaubt das Speichern der Kostenstellen für die verschiedenen Buchungstypen in TimePunch.
void SaveCostCenterSettings(
out TpFault fault,
TpAuthentication authentication,
CostCenterDto costCenter);
Needed Permission | datev@export | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
costCenter | Information about the cost centers |
LoadDatevExportSettings
Diese Methode lädt die Einstellungen für den Export nach DATEV, Lexware, usw.
GlobalSalaryExportDto LoadDatevExportSettings(
out TpFault fault,
TpAuthentication authentication);
Needed Permission | core@logon | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
Return value | Information about the datev settings |
SaveDatevExportSettings
Diese Methode speichert die Einstellungen für den Export zur Lohnbuchhaltung.
void SaveDatevExportSettings(
out TpFault fault,
TpAuthentication authentication,
GlobalSalaryExportDto datevExport);
Needed Permission | datev@export | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
datevExport | Information about the datev settings |
LoadMailSettings
Diese Methode lädt die Einstellungen für den automatischen Mailversand in TimePunch.
AutomatedMailsDto LoadMailSettings(
out TpFault fault,
TpAuthentication authentication);
Needed Permission | core@logon | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
Return value | Information about the automated mail settings |
SaveMailSettings
Diese Methode speichert die Einstellungen für den automatischen Mailversand in TimePunch.
void SaveMailSettings(
out TpFault fault,
TpAuthentication authentication,
MailSettingsDto mailSettings);
Needed Permission | core@administrate | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
mailSettings | Information about the automated mail settings |
LoadUserSettings
Diese Methode lädt Einstellungen, die alle Benutzer gleichermaßen betreffen und ein besonderes Verhalten in TimePunch bewirken.
UserSettingsDto LoadUserSettings(
out TpFault fault,
TpAuthentication authentication);
Needed Permission | core@logon | |
---|---|---|
Name | Modifier | Description |
Fault | Out | Contains the error if an exception occurs. |
Authentication | User authentication | |
Return value | User settings object |
SaveUserSettings
Diese Methode speichert die Einstellungen für das besondere Verhalten in TimePunch.
void SaveUserSettings(
out TpFault fault,
TpAuthentication authentication,
UserSettingsDto userSettings);
Needed Permission | core@administrate | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
userSettings | Information about the datev settings |
LoadUserSalaryExportDto
Diese Methode lädt die mitarbeiterspezifischen Einstellungen für den Lohndatenexport in ein Lohnprogramm.
List<UserSalaryExportDto> LoadUserSalaryExportDto(
out TpFault fault,
TpAuthentication authentication,
List<Guid> userIds);
Needed Permission | salaryExport@access | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
userIds | User Ids to load the salary export dto | |
Return value | Salary export settings per user |
SaveUserSalaryExportDto
Diese Methode speichert die mitarbeiterspezifischen Einstellungen für den Lohndatenexport.
void SaveUserSalaryExportDto(
out TpFault fault,
TpAuthentication authentication,
List<UserSalaryExportDto> salaryExportDtos);
Needed Permission | core@administrate | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
salaryExportDtos | Salary export settings per user |
LoadDocumentStoreConfiguration
Diese Methode lädt die Konfiguration des Dokumentenspeichers aus dem Application Server.
DocumentStoreConfigurationDto LoadDocumentStoreConfiguration(
out TpFault fault,
TpAuthentication authentication);
Needed Permission | documentStore@access | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
Return value | Document storage configuration |
**
**
SaveDocumentStoreConfiguration
Diese Methode schreibt die Konfiguration des Dokumentenspeichers in dem Application Server.
void SaveDocumentStoreConfiguration(
out TpFault fault,
TpAuthentication authentication,
DocumentStoreConfigurationDto configuration);
Needed Permission | core@administrate | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
configuration | The document storage configuration |