Sets the attached external BOM of the part reference.
OdResult::eOk if successful, or an appropriate error code otherwise.