Try ERPNext Buy Support Partners Foundation

How to update BOM to fetch custom fields?

Hi!

I added a custom fields to keep our and subcontrator components codes (each one uses their own codes for components which we deliver to them for processing) using a customize form option on Item.

Next, tried to add to BOM Item a similar field with “fetch from” value set with Link item: item_code to Item:

And: it works well when I add new BOM Item but not on the existing Bom Items.

When I remove and add again each row it works.
How to populate the changes for all BOM lines in each BOM? We have over 50 BOM’s with usually of 50 lines so doing it manualy will be quite hard.

Thanks!
Patryk