Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
problem retrieving list of items
Hi all,
I am attempting to retrieve a list of items via web services. We have many items (service, non-inventory etc) that we use to associate with sales orders, time bills etc.
I've posted my search code below. I've tried searching for every item type, all to no avail - I'm just returned an empty list each time.
I don't receive a permission violation, so I'm assuming that this isn't the problem.
Does anyone know where I'm going wrong?
Any help would be greatly appreciated.
Kind regards,
Sian
ItemSearchBasic itemSearchBasic = new ItemSearchBasic();
SearchEnumMultiSelectField searchServiceSalesField = new SearchEnumMultiSelectField();
searchServiceSalesField.setOperator(SearchEnumMultiSelectFieldOperator.anyOf);