I want to set value to custom field mfg_code whenever Item is select in BOM Required Items

check this topic