Reset Naming Series - for custom ones

Is it possible to reset naming series for a custom made naming series? (We have a custom naming series done for Purchase Orders, which is based on item group (E.g. - Naming series for raw materials will be RM.####, and packing material will be PM.####

Since this naming series is done via custom code, it doesnt appear in the naming series update form. How do we achieve this? Thanks.

Kirthi

@kirthi you can change naming through Autoname function in py file also. for that you have to custom code to check if the item table contain Raw material or Packing material. What if it contain both type of item in the same item table? In that case what would be the naming series you would use?