Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
How to retrieve all Employees through SuiteTalk (web services) in C#.Net?
Hi,
I need to retrieve all employees from the system using SuiteTalk (web services) in C#.Net. i am using the below code, but somehow system is taking long time approx 15min to retrieve all employees (around 400). can any one provide the suggestions on the below code or do i need to use any other code to fetch all employees which minimizes time. Any suggestions are appreciated.
Code:
EmployeeSearchBasic empSearchBasic = new EmployeeSearchBasic
{
employeeType = new SearchMultiSelectField
{
searchValue = new RecordRef[]
{
new RecordRef { internalId = "3" }
},
@operator = SearchMultiSelectFieldOperator.anyOf,
operatorSpecified = true
}
};