I found the field name are a little confusing. Why label it as NAME instead of ITEM CODE since there is another Item Name already?
There are actually three different fields: Name
, Item Name
, and Item Code
. By default, name is set automatically to match item_code, but you can change that if you want.
It’s a bit confusing, but there’s a logic behind it. All documents in Frappe/ERPNext have a name
field, and that field acts as the database’s primary key. Item Name
and Item Code
, meanwhile, are specific to the Item
doctype.
I see. Thanks for the clarification.
Hi. I just notice the ID field under Item->Report actually looks like the combination of Item Code+Item Name, but when I export the data, it show differently. Is this normal?