Naming Series Not Working Properly in Doctype

Hi all,

I have a Doctype with a naming series HLC.CPR.XXXX. Older entries were correctly created with this naming series. However, when I create new entries, they are not following this series and are instead assigned random sequences.

I have checked the naming series settings, and it still shows the correct format. What could be causing this issue, and how can I ensure new entries follow the defined naming series?

Any help would be appreciated.

Thanks!

I think you are missing a period.

HLC.CPR.XXXX.

Should be

HLC.CPR..####.

Suggested = HLC-CPR-.####.

If you are trying to print the period between “HLC” and “CPR”, I think you should change those to “-”. The period is a special character to wrap around variables.

You need the period on either side of the number replacement which should use “#” not “X”.