Muhammad Hafiz
09/05/2024, 2:20 PMCeligo AI
09/05/2024, 2:21 PMAI generated answer (using internal Slack threads):Based on the error message you're receiving, it seems like the item you're trying to add to the return authorization doesn't exist or isn't recognized by the system. The error message
"Error while accessing a resource. Please choose an item to add."
indicates that the system is unable to find the item you're trying to add.
Here are a few things you could check:
1. Make sure the item ID you're using in your API call is correct and that the item exists in NetSuite. You can do this by manually searching for the item in your NetSuite account.
2. Check if the item is part of the sales order you're trying to transform into a return authorization. The item needs to be part of the sales order for you to be able to add it to the return authorization.
3. Ensure that the JSON structure of your request body is correct. Based on the API documentation, your request body should look something like this:
json
{
"item": {
"items": [
{
"item": {
"id": "<item-id>"
}
}
]
}
}
Replace <item-id>
with the actual ID of the item you're trying to add.
If you've checked all of these and you're still getting the error, it might be a good idea to double-check the API documentation or look for similar issues in the NetSuite community forums.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
09/05/2024, 2:21 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.877948105
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.841943502
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.841888666
Celigo AI
09/05/2024, 2:21 PM