[ { "creation": "2012-12-06 12:10:10", "docstatus": 0, "modified": "2013-07-05 14:27:52", "modified_by": "Administrator", "owner": "Administrator" }, { "allow_copy": 1, "allow_email": 1, "allow_print": 1, "description": "Replace a particular BOM in all other BOMs where it is used. It will replace the old BOM link, update cost and regenerate \"BOM Explosion Item\" table as per new BOM", "doctype": "DocType", "document_type": "Other", "hide_heading": 1, "hide_toolbar": 1, "icon": "icon-magic", "in_create": 1, "issingle": 1, "module": "Manufacturing", "name": "__common__", "read_only": 1 }, { "doctype": "DocField", "name": "__common__", "parent": "BOM Replace Tool", "parentfield": "fields", "parenttype": "DocType", "permlevel": 0, "read_only": 0 }, { "create": 1, "doctype": "DocPerm", "name": "__common__", "parent": "BOM Replace Tool", "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, "read": 1, "report": 0, "role": "Manufacturing Manager", "submit": 0, "write": 1 }, { "doctype": "DocType", "name": "BOM Replace Tool" }, { "description": "The BOM which will be replaced", "doctype": "DocField", "fieldname": "current_bom", "fieldtype": "Link", "label": "Current BOM", "options": "BOM", "reqd": 1 }, { "description": "The new BOM after replacement", "doctype": "DocField", "fieldname": "new_bom", "fieldtype": "Link", "label": "New BOM", "options": "BOM", "reqd": 1 }, { "doctype": "DocField", "fieldname": "replace", "fieldtype": "Button", "label": "Replace", "options": "replace_bom" }, { "doctype": "DocPerm" } ]