Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
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
}
};