ERPNext Conference 2019* ERPNext.com Blog

Item code Generation


#1

Please advise, item code not generate automatically although I set it up as automatic generation.


Auto Generate Item Code if not entered by the user
#2

Hi @dufani1

please set Naming Series in Stock/Stock Settings

works at least in DEV branch


#3

Dear spa
first thanks for your reply.
But I need to set up my items by Item code not by naming series
thanks


#4

So you want your items to be named after their item_code instead of the default item_name?

Then go to “Customize Form”, choose “Item” as the DocType and change the value for title_field to “item_code”.


#5

Hi @dufani1,

ok let me make this clear…

1 You want to set up Item with automatic generation in the field item-code

is that right?


#6

Dear codeag
thanks for your support.
I need from Erpnext to generate item code automatically , but this function does not work.
let explain:
when create new item the system should create the item code automatically but it is not created automatically I have to enter it manually. please see the next steps:

1- set naming item code

2- set item code to be createdautomatically

3- item code not created automatically


#7

yes…


#8

cool,

so please follow these steps…

  1. go to Stock/Stock Settings

and set “Item naming by” to “Naming Series” and hit save

2 go to Setup/Naming Series

and select “Item” for “Select Transaction”

3 configure Naming series Prefix and length of digits by adding hashtags to the prefix e.g. 4 Hashtags for 4 digits to get a total of 9999 item codes to be assigned automatically or leave the hashtags to get 5 digits (default) to get a total 99999 item codes

4 go to item and create new and save

the result is this


#9

thank you very much sap … working


#10

my pleasure,


#11

Hello,

Would it also be possible to set the item code based on the item group selected?

So the item group should be selected first, and based on that selection, the item code should be generated.

Thanks


#12

Hello,

Does anybody have any idea on how i can create an item that works like a template instead of creating varient parts inside the system - I would like to create a part with Dimensional Attributes and key them into the line as per item, so that when for example i am using a Rebar that is 60’ and i want to cut down - how will the system know that i can use the 60’ to produce a 20’ pcs? and maybe from that 20’ pc a few 4’ers?

Any ideas on how to make that work?

THanks