Reference & Data Model
Actual personnel costs from time tracking (time_log.personal_cost)
The first approval of a time log books the personnel costs once as an actual booking.
Trigger
Section titled “Trigger”A time log (time_log) changes status, date, employee or project; or a time entry (time_entry) of this log is written.
Condition
Section titled “Condition”Status is „Genehmigt“ (approved), the log is not deleted and has an employee. The project has a cost item „Personalkosten“. Nothing has ever been booked for this source (create-only).
What is created
Section titled “What is created”An actual booking (cost_occurrence) on „Personalkosten“ of the time log’s project:
Hours = Σ (end − start) of all time entries; end < start ⇒ across midnight (+24 h)Rate = project hourly rate of the member (employee in the project), otherwise hourly rate of the employeeAmount = hours × rateDate = date of the time logText = „Personalkosten aus Zeiterfassung“Source = Zeiterfassung · „<Mitarbeiter> vom <Datum>“Example: 09:00–17:00 (8 h) + 22:00–02:00 (4 h) = 12 h × 50 € = 600,00 €. Without time entries, a booking of 0,00 € is created.
On change or rollback
Section titled “On change or rollback”Only the first approval books. Withdrawing the approval („Offen“/„Abgelehnt“), correcting the entries and approving again do not change the booked row and do not create a second one. Deleting the time log also leaves the booking in place. Correction only via „Korrigieren“ (reversal booking + optional replacement booking) in the cost item.
Where visible
Section titled “Where visible”Detail view of the cost item „Personalkosten“, section „Kosten“. Approval in Workmanagement › Zeiterfassung › Freigabeansicht (Guides › Approve the team’s times, Guides › Log time → approve).
Known limitations
Section titled “Known limitations”- Approval without a cost item „Personalkosten“ or without a findable employee books nothing and catches up the booking only when the log is changed again.
- The rate is read at booking time; later rate changes do not affect actual bookings (but do affect planned items, see 12.3).
- Approved logs are locked, see Locks & delete protection.
See Time log · Time entry · Actual booking.