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!
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
}
};