Discussions

Uncover the power of data with the Analytics Hub —your ultimate guide to mastering NetSuite Saved Searches and Reports. Simplify the complex and unlock your organization's true potential. Dive into the Analytics Hub now and soar to new heights!
Hello Community! Josh Maxwell, a User Experience Researcher for NetSuite Foundation has fun a question for you. Imagine for a moment that NetSuite had an assistant like Alexa or Siri. What would you ask of your NetSuite assistant? Use this survey link to share your top questions to the assistant.

Here are some examples to get your creative juices flowing.

"Did I pay vendor John Doe last month?"
"Take me to my largest sales order for this month."
"What invoices haven't been paid yet?"

Create bom revision with components

I am trying to create a BOM revision with components using the Beta version of the REST API:

POST https://{ID}.suitetalk.api.netsuite.com/services/rest/record/v1/bomrevision
{
    "name": "revision 2",
    "billOfMaterials": {
        "id": "4"
    },
    "component": {
        "items": [
            { 
                "item":{
                    "id": "6"
                },
                "quantity": 1
            }
        ]
    }
}

But this gives the response:

{
    "type": "https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
    "title": "Bad Request",
    "status": 400,
    "o:errorDetails": [
        {
            "detail": "Invalid value for the resource or sub-resource field 'item'. Provide a valid value.",
            "o:errorPath": "component.items[0].item",
            "o:errorCode": "INVALID_ID"
        }
    ]
}


I am not able to figure out how to resolve this issue. The documenten page (NetSuite REST API Browser: Record API | API Reference

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 4 (Oct-Dec 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders