BOM Update Tool

Hello guys,

i have a bit of confusion, how does the update cost in bom replate tool works ??

If you see this line here in the code. It is picking the rate from the current bom and updating rate in current BOM

All you are doing is only updating the BOM NO, then why do you have to get the cost from the current BOM ??

what is the logic behind here ?? i couldnt understand

Help me understand the logic.

Thanks
Syed.

I think this is a bug, will push a fix.

Sent a PR https://github.com/frappe/erpnext/pull/11045