Introduction
In time tracking, there is the option to lock time entries. As a result, time entries can no longer be modified or deleted. This ensures that recorded times remain reliably stored and are not manipulated retroactively.
Locking a Time Entry
Time entries can be locked to ensure that they are permanently fixed. A locked entry can no longer be modified. Locking becomes relevant when data is exported or transferred to other systems.
Locking via the API
Via the API, the locking of a time entry can be managed with the locked field:
<TimeRecord> <Id>681c88a0-5890-4c3b-b799-812fa860252e</Id> <Locked>true</Locked> </TimeRecord>
- If Locked = true, the entry can no longer be modified or deleted.
- If changes are made to the entry at the same time, the API automatically resets the Locked field.
Additional Notes
- Entries with a locked status can no longer be edited.
- Only members with the Admin role can delete locked entries in the user interface, but not modify them.
- The lock status can only be changed via the API.
This feature allows for a structured and traceable management of time tracking.
Show Lock Status in the User Interface
In the time evaluation, there is a column called Lock Status. Here, you can see whether an entry is locked or can still be edited. Entries with a locked status can be deleted by admins in the user interface, but not modified.
Comments
0 comments
Please sign in to leave a comment.