Forum Replies Created
-
AuthorPosts
-
November 8, 2017 at 9:22 am in reply to: Reading all fields of an InventoryItem after an ItemSearchBasic #16406
I am having the same problem but with a Bins saved search. In the UI the column for Location shows the text name of the location. But, when you execute the saved search in webservices the location field returns the Internal Id. I don’t want the Internal Id, I want the text as shown in the UI. Any idea on how to get the text and not the Internal ID? Here is the xml request:
<soap:Envelope xmlns:xsd=”http://www.w3.org/2001/XMLSchema” xmlns:soap=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>
<soap:Header>
<applicationInfo xmlns=”urn:messages_2015_2.platform.webservices.ne tsuite.com”>
<applicationId>*********************************** *</applicationId>
</applicationInfo>
<searchPreferences xmlns=”urn:messages_2015_2.platform.webservices.ne tsuite.com”>
<bodyFieldsOnly>false</bodyFieldsOnly>
</searchPreferences>
</soap:Header>
<soap:Body>
<search xmlns=”urn:messages_2015_2.platform.webservices.ne tsuite.com”>
<searchRecord savedSearchId=”3633″ xsi:type=”q1:BinSearchAdvanced” xmlns:q1=”urn:accounting_2015_2.lists.webservices. netsuite.com”/>
</search>
</soap:Body>
</soap:Envelope>And the xml Response (notice that the internal ID of “20” is returned and not the actual location text name):
<platformCore:searchRow xsi:type=”listAcct:BinSearchRow” xmlns:listAcct=”urn:accounting_2015_2.lists.webser vices.netsuite.com”>
<listAcct:basic xmlnslatformCommon=”urn:common_2015_2.platform.webservi ces.netsuite.com”>
<platformCommon:binNumber>
<platformCore:searchValue>BinA1</platformCore:searchValue>
</platformCommon:binNumber>
<platformCommon:internalId>
<platformCore:searchValue internalId=”2460″/>
</platformCommon:internalId>
<platformCommon:location>
<platformCore:searchValue>20</platformCore:searchValue>
</platformCommon:location>
</listAcct:basic>
</platformCore:searchRow>And the xml Response (notice that the internal ID of “20” is returned and not the actual location text name):
BinA120
Any help would be much appreciated! Thanks.
- This reply was modified 7 years ago by Budi Keren.
- This reply was modified 7 years ago by Budi Keren.
-
AuthorPosts