Entities – Calculated Date and Duration Custom Fields

Modified on Fri, 4 Dec at 4:30 PM

✋ 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)

  1. Open Configuration > Data Customization.
  2. Click Create a field.
  3. Enter a title, for example “Company lifetime”, and choose the entity (for example Companies).
  4. In Type, choose Duration.
  5. Tick Historizable if you want to keep previous values, then click Confirm.
Edit field window with Duration selected in the Type list

⚡ Step 2: create a Calculated Date field (administrators)

  1. Click Create a field again.
  2. Enter a title, for example “Statutory expiry date”.
  3. In Type, choose Calculated Date.
  4. Choose the reference date: a standard or custom Date field, for example the extension date.
  5. If needed, choose a fallback date used when the reference date is empty, for example the creation date.
  6. Choose the Duration field created in step 1, then click Confirm.
Edit field window with Calculated date (Reference date + Duration) selected in the Type list

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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article