How to customize Sample ID's to start counting from a number of my choice

We are setting up our Sampling system and want to add an automatic generator for case numbers, and have already somewhat done so. We receive testing samples and want it to function as follows:

The first case number of 2023 will be: 23-0001. The second would be 23-0002. What options are there to change what the auto-generated number formula is, and how would we be able to start off the generator at, for example, 23-0500 as the first case number?