Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!

How can I insert a Netsuite inventory adjustment with lot numbered items with suitetalk?

I don't know how to configure the inventory detail in the JSON

I'm trying to POST at https://<<myacc>>.suitetalk.api.netsuite.com/services/rest/record/v1/inventoryAdjustment

this JSON

{
"account":  4738,
"trandate":"2022-11-14",
"subsidiary":3,

"inventory": 
    {
    "items": 
    [
        
        {
             
            "item": 9908,            
            "location":25,
            "adjustQtyBy": 100,
            "memo":"m-203174 p-21992 c-TM/55 #2"
            
           
           ,
            "inventorydetail":
            {
                "receiptinventorynumber":2002111,
                "quantity":100

            }
            
        }
        
    ]

    }
}

but i'm receiving this error:

{
    "type": "https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
    "title": "Bad Request",
    "status": 400,
    "o:errorDetails": [
        {
            "detail": "Error while accessing a resource. You still need to reconfigure the inventory detail record after changing the quantity.",
            "o:errorPath": "inventory.items[0]",
            "o:errorCode": "USER_ERROR"
        }
    ]
}


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 3 (Jul-Sep 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders