Naming and renaming BOM

Hi!

Is it possible to name/rename BOM? I already found:

Here it says that BOM doctype use an internal routine to define its names and that is not possible to name or rename BOM. Has anything changed in the meanwhile?

You might consider these?
https://erpnext.org/docs/user/manual/en/setting-up/data/bulk-rename
https://erpnext.org/docs/current/models/utilities/rename_tool

Unfortunately rename tool doesn’t have BOM doctype so it is not possible.

Then maybe export the affected records, rename them as required, then reimport them.

To preserve the record integrity. you would need to take care to preserve the primary keys that relate the records.

1 Like

I customized Form Type BOM with a Field in the 1st position, labeled it title and small text Type. Then selected mandatory and the other options you may want.

My client was having a headache in List view as all the BOMs listed with ID or item_name, but it was not suitable as sometimes you have different BOMs for creating an item (eg. internal or subcontracting). They really wanted this.

Then I went to the View Settings at the bottom of the Customize Form Type BOM and selected title to show in the List. This solved it for me, hope it helps.

3 Likes

Hi, I deviced a better solution that doesn’t require manual input and uses data already in the system:

Go to: Manufacturing > BOM > Customize form (ctrl + j)
Copy the first field (item) and a new field named item copy will be created. Leave it there or move it to wherever you want by picking and dragging

Change the label to something like BOM Item Name or what you chose. Be sure it doesn’t replicate already existing names

In type, chose Data

image

In Fetch From chose Item and then Item Name (Data) underneath

image

Update

Now go Manufacturing > BOM > List settings

  • Add / Remove Fields

image

The Field you just created should appear
Pick it and Save

image

Place the Field in the position you wish it to be. Mine is 2nd

Now everything is ready, but the list appears empty because when you created the BOM the Data was not retrieved.

You need to create new versions of your BOMs and then it will appear as soon as you chose the Item to be produced. Then place a filter for Active so you don’t see the old ones.

Hope this helps

Martín