✋ Who can do what
- Administrators: create Duration and Calculated Date custom fields in Configuration > Data Customization.
- Users who can edit a company: fill in the Duration field and the reference dates. The calculated date updates by itself.
- All users with access to the company: see the calculated date, use it in reports and company profiles, and set reminders on it.
⭐ What this feature does
Some dates depend on other data. For example, a company's statutory expiry date is its creation date plus its lifetime (for example 99 years). If the company's life is extended, it is calculated from the extension date instead. Two custom field types let the platform calculate this kind of date for you:
- Duration: a number of years or months, for example the company's lifetime. You can edit and historize it like other fields.
- Calculated Date: a date calculated automatically from a reference date plus a Duration field. You cannot edit it by hand, and it is not historizable.
✍ Step 1: create a Duration field (administrators)
- Open Configuration > Data Customization.
- Click Create a field.
- Enter a title, for example “Company lifetime”, and choose the entity (for example Companies).
- In Type, choose Duration.
- Tick Historizable if you want to keep previous values, then click Confirm.
⚡ Step 2: create a Calculated Date field (administrators)
- Click Create a field again.
- Enter a title, for example “Statutory expiry date”.
- In Type, choose Calculated Date.
- Choose the reference date: a standard or custom Date field, for example the extension date.
- If needed, choose a fallback date used when the reference date is empty, for example the creation date.
- Choose the Duration field created in step 1, then click Confirm.
Result: on each company, the calculated date = reference date (or fallback date if the reference is empty) + duration.
✅ Use the calculated date
- Reminders: set a reminder on a Calculated Date field, as on any date field, to be alerted before the expiry.
- Reports and company profiles: Duration and Calculated Date fields are available as columns and content.
- History of extensions: historize the reference date (for example the extension date) to follow the successive extensions in reports.
❓ FAQ
Can I change a calculated date by hand?
No. Change the reference date or the duration: the calculated date updates automatically.
Is the calculated date historized?
No. The Duration field and the reference date can be historized.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article