Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
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!
Issue on product stock fetching using SOAP API.
Hi,
Firstly, I'm retrieving products, but the locationLists are missing. This locationLists should include quantityOnHand based on different locations, but it's currently locationLists showing as null.
$itemRequest = new GetRequest() $itemRequest->baseRef = new RecordRef() $itemRequest->baseRef->internalId = 945 $itemRequest->baseRef->type = 'inventoryItem' $response = $this->service->get($itemRequest)
Second, I checked Netsuite and found that location-based quantityOnHand is displayed correctly. This is visible in a separate view called Item Location Map.
So I checked on Lists > Search > SavedSearch, Where i get InvDetail.
Then i tried to fetch those but there getting error - A saved search with the internal ID 2361 does not exist.
Tagged:
0