Guys. I can’t edit my new naming series, in Employee Doctype.
I want to add a field in the doctype for the naming series, but its not change when i save the new employee record.
The naming series i just want to add is:
EMP.-.MM.YY.-.code.-.####
I just created new field (code) in the doctype for country code. It supposed to be change something like (“my” for Malaysia) but its not change at all. it shows me EMP-0917-code.0001.
@priya_s i’ve been looking on your shared link and refer to the link for creating my naming series. It works on another doctype, but on Employee doctype, its not changing at all.
Do you think this problem is related with HR settings (Employee Records to be created by naming series)?
So initially you saved this EMP-0917-code-0001 and now wish to change that to EMP-0917-my-0001, yes?
Well the rule here is once a naming_series is set, the database forbids you to update or replace that value, to preserve database integrity. Thereafter you can change it, but must operate directly on the database, where you assume the risk of corrupting it.