Discussions
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.