Batch Naming Series

Hello,

Anybody know how to add naming series to batch doctype?

Thanks

@jof2jc , Currently Batch get saved by batch_id. Go to Batch doctype and see in Auto Name field batch_id is set. If you want to change naming series then you have to set their another field name.

1 Like

Hi,
1.Go to Batch Doctype
2. In Batch ID Row, Put Name=batch_id
3.Inside Naming Section-
Enter Auto Name= Batch.#####
4.Save Form.

3 Likes

@shraddha I’ve been using naming series for Batch doctype…but when doing bench update the update got broken…since I added naming_series field to doctype directly and set naming section…

Customize form doesn’t provide functionality to do this. Is there workaround to avoid broken update if we do changes on a doctype?