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!
web service saved search call- trying to get memberID values in c#
hi i am calling a web service , which is calling a savedsearch.. see below.
soap data is included...
i am trying to get the internalId values in c#.
--------------------this is the C# code call-----------------------------
public List<PBDRaw> SearchItem(string searchId)
{
List<PBDRaw> items = new List<PBDRaw>();
ItemSearchAdvanced _itemSearch = new ItemSearchAdvanced();
_itemSearch.savedSearchId = searchId;
try
{
SearchResult results = _service.search(_itemSearch);
if (results.status.isSuccess)
{
foreach (SearchRow searchRow in results.searchRowList)
{
ItemSearchRow itemSearchRow = (ItemSearchRow)searchRow;
PBDRaw item = new PBDRaw();
if (itemSearchRow.basic != null)
{
item.Name = itemSearchRow.basic.itemId[0].searchValue;
if (itemSearchRow.basic.salesDescription != null)
{
item.Description = itemSearchRow.basic.salesDescription[0].searchValue;