Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
How to create Item Receipt via REST API with Inventory Details?
Hello,
I am trying to create an Item Receipt, from a PO. The account has Inventory Status enabled, but no Lot #s, nor Bins nor Serial Numbers. I can do this if I do not specify the Inventory Details, but then NetSuite defaults the Status to "Good" and that's not what I need.
I am trying with this request:
POST
{{REST_SERVICES}}/record/v1/purchaseOrder/99999999/!transform/itemReceipt
{
"customForm": {"id": "162"},
"entity": {"id": "1187"},
"location": {"id": "2"},
"subsidiary": {"id": "2"},
"tranDate": "2023-02-28",
"item": {
"items": [
{
"orderline": 1,
"itemReceive": true,
"location": {"id": "2"},
"quantity": 6.0,
"inventoryDetail": {
"inventoryassignment": {
"items": [{"quantity": 6.0, "inventoryStatus": { "id": 1 }}]
},
"quantity": 6.0
}
}
]
}
}
When I submit that in Postman, I get:
Peter Ries
NetSuite Customer Success, Technical Services