i receive this error when i try to import bom revi...
# ask-stanley-ai
h
i receive this error when i try to import bom revision An unexpected error has occurred.
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems like you're encountering an error when trying to import a Bill of Materials (BOM) revision. This could be due to a variety of reasons, but here are a few potential solutions based on the threads: 1. If you're trying to edit a bunch of BOM's at once, one of the users suggested using a CSV import. You can inactivate the old revision in the first import and then create new revisions in the second import. 2. If you're unable to see the ability to create/edit BOM revisions, it could be because you need the advanced BOM module. 3. If you're creating a RESTlet to consume a BOM Revision and you're getting a
Missing required field: billofmaterials
error, it could be because your BOM value is null for some reason when you go to set it on the BOM revision. Make sure you're actually getting a value from the requestBody['billofmaterials']. If you're setting it using an internal ID, make sure it's a valid internalid. Also, in your setValue, make sure you're using the correct syntax. For example, it should be
value: bom
instead of
details: bom
. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.837130368
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.819560468
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.818743825
Please provide your feedback on this answer.