Hello, anybody familiar with fetching item through...
# suitetalkapi
s
Hello, anybody familiar with fetching item through the NS web service with C#? If so, please check out the following for me: https://stackoverflow.com/questions/63427933/how-do-i-search-for-netsuite-inventory-items-using-a-custom-field
d
Code looks ok on the face of it. Just check your inventory items have a display name (they have name AND display name fields). I gave up with the web services a couple of years back and use a combination of C# and RESTlets\SuiteScript now for much of what I do, much easier\faster to develop and debug.
s
Thank you for the reply. The problem was with the display name field, I needed to replace it with itemId. Now it's working. I would have preferred to go the REST route, but couldn't find any decent documentation and NS site included an example solution for web services (although it hasn't been refreshed since 2017.2)