Item group as naming series for production plan


Hello,
I want the naming series as MFG-PP-.{item_group}.-.YYYY.- for production plan.How can I do this ? Please help me to solve this.

Add the item group field and set it according your the scenario.


we have list of item groups and naming series means an unique id. Is it possible to generate different ids with the same pattern based on item group ???

MFG-PP-.{custom_item_group}.-.YYYY.-

possible but try it your own way according to the logic.

Can we do this using Document Naming Rule list only ???


For the above Document naming rule it is printing like this

Can you please help me to solve this ?

First, you have to set the series and test it.


I tested the series And this is the ouput sir,

Worked properly from my end.

Can you please share the Document Naming Rule and Document Naming Settings of yours ?

I haven’t define the Document Naming Rule.

Document Naming Settings already provided in above post.

I am new to erpnext sir, I don’t know how to apply rule conditions in Document Naming Rule for individual item groups

Remove the existing document naming rule and attempt to create a new production plan using the newly created series.




Still it is not working sir

ohh :roll_eyes:

Please delete the document naming rule and check it.

Still it is not working sir,

Can you please share the screenshots of your Document Naming Rule and Document Naming Series?

Hello,

“Document Naming Rule” and “Document Naming Settings” are two different things.

Delete or Disable “Document Naming Rule” of the DocType “Production Plan” ID: 9665c9c86e

1 Like