timesheet_entries
In short
Timesheet entries for an accounting firm's work done for each corporate client over time.
This new table is not accessible by
f_users anymore. Please change your credentials to use granular permissions withu_users.
Each entry is identified by the accountant that performed the work (first/last name), the company the work refers to, the entry’s date, its duration and a description of the work done.
Additionally you can find here each entry’s corresponding mission code and the fiscal year it refers to.
Because this table contains practice_management data regarding accountant rates, it is only accessible to firm administrators.
Filter key(s)
company_id
Sorting key
ClickHouse skips blocks only when the filter starts with this key, in this order. When the first column is `company_id`, put `company_id` in every query. Read a fleet one company at a time, or in batches of `company_id`. Do not run one query with no company filter. List only the columns you need. `SELECT *` reads columns you will not use.
company_id, id
Available columns
id
Int64
Timesheet Entry ID.
company_name
String
Name of the company on Pennylane associated to this entry, referring to companies.name.
customer_id
Nullable(Int64)
ID of the company on Pennylane associated to this entry, referring to customers.registration_code.
customer_name
Nullable(String)
Name of the company on Pennylane associated to this entry, referring to customers.name.
customer_registration_number
Nullable(String)
Registration number of the company on Pennylane associated to this entry, referring to customers.registration_number.
customer_code
Nullable(String)
\[DEPRECATED\] Registration number of the company on Pennylane associated to this entry, referring to customers.registration_number. It has been renamed as customer_registration_number.
firm_own_company_id
Int64
ID of the firm own company on Pennylane associated to this entry.
firm_id
Nullable(Int64)
ID of the firm on Pennylane associated to this entry.
firm_group_id
Nullable(Int64)
ID of the firm group on Pennylane associated to this entry.
date
Date32
Date when the work associated to this entry started, in YYYY-MM-DD format.
accountant_first_name
String
First name of the accounting firm's employee who worked on the timesheet entry, and recorded their time.
accountant_last_name
String
Last name of the accounting firm's employee who worked on the timesheet entry, and recorded their time.
accountant_email
String
Email of the accounting firm's employee who worked on the timesheet entry, and recorded their time.
description
String
Description of the entry. This is a free text field used to better understand the work performed.
Examples: "Bilan", "Correction liasse fiscale", "Contrôle TVA"
mission_line_id
Int64
ID of the mission line on Pennylane associated to this entry.
product_id
Nullable(Int64)
ID of the product on Pennylane associated to this entry.
planned_hours
Nullable(Decimal(10, 2))
Number of hours planned for the mission line associated to this entry.
planned_revenue
Nullable(Decimal(10, 2))
Revenue planned for the mission line associated to this entry, in euros.
has_budget
UInt8
True if the mission line associated to this entry has a budget (planned hours and/or planned revenue).
mission_code
String
Mission Code related to this entry.
Examples: "1.1", "1.3", "2.1"
mission
Nullable(String)
Mission related to this entry.
Examples: "Social", "Juridique", "Comptable", "Fiscal", "Conseil"
activity
String
Activity related to this entry.
Examples: "Bilans", "Révision", "Administration du dossier"
agreement_year
Nullable(Int32)
Year of the engagement letter associated to this entry.
duration_min
Float64
Duration of the entry in minutes.
billable
UInt8
True if the accountant decided that the time is billable.
hourly_accountant_rate
Nullable(Decimal(18, 6))
Amount of the accountant hourly fees.
cost
Nullable(Decimal(18, 6))
Costs calculated as the product of the time spent and the accountant rate in euros.
updated_at
DateTime64(6, 'UTC')
Date and time when the time sheet entry was last updated in Pennylane.