You can edit the Bill of Materials as long as there are no Production Orders created for it. The Bill of Materials (BOM) cannot be edited after a Production Order has been created/committed. You will have to first void the existing Production Order and Bill of Materials and then create a new version of it. Click here for more information.