ID value as default settings

Hi,

i created schema where are differents records with different dropdown index

Example:
I have record with index Invoice
I have record with index Order

I would like to get automaticaly ID (like numerical series) for eachone by this formula

YEAR - CODE - ID

Example for Invoices
- 2021 170 001
- 2021 170 002
- 2021 170 003
etc…

Example for Orders
- 2021 150 001
- 2021 150 002
- 2021 150 003
etc…

How should I do it?

Hi Thomas,
Great question. We just discussed that today with the development team.
This is not possible today. However, we want to add it pretty soon.
(the date is not confirmed yet, so I cannot provide it)
Best Regards
Michal

Thanks for answer. So It’s not possible to write down any code to find the last number (id) of specific string?