Hello,
I need assistance in generating unique item codes based on the Item Group in ERPNext. The goal is to ensure each item follows a structured numbering format.
Example:
- Electronics:
ELC-00001
,ELC-00002
, … - Furniture:
FUR-00001
,FUR-00002
, … - Machinery:
MCH-00001
,MCH-00002
, …
Requirements:
- Each new item should have a unique item code following the Item Group prefix.
- The numbering should be incremental per Item Group.
- It should be auto-generated when creating a new item.