Discussions

Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Uncover the power of data with the Analytics Hub —your ultimate guide to mastering NetSuite Saved Searches and Reports. Simplify the complex and unlock your organization's true potential. Dive into the Analytics Hub now and soar to new heights!
To help you get the most out of your 2025.2 Release Preview account, review the topics outlined in the 2025.2 Release Preview Guide.
Nominate Your Peers for NetSuite Support Community's Choice of the Quarter! Submit your nomination today.
Intelligent Payment Automation version 1.0.3 is now available in the SuiteApp Marketplace. The SuiteApp, powered by BILL, lets you automate payments, manage vendor details, and bank account information within NetSuite. Learn more

Retrieve list of custom fields in job search.

edited May 26, 2020 2:28PM in SuiteCloud / Customization

I have been trying to retrieve a list of jobs with certain custom fields without much luck. Although below code runs without any errors the custom field list is empty in the response object.
If I run just a basic search without naming individual fields, all are returned including all custom fields.
Do I have to run this as 2 searches first basic than custom?
Any help greatly appreciated.

              _netSuite = new NetSuiteService();              var jsa = new JobSearchAdvanced();              var jsb = new JobSearchBasic();                  var searchStatus = new SearchMultiSelectField()              {                  operatorSpecified = true,                  @operator = SearchMultiSelectFieldOperator.anyOf,                  searchValue = _settings.SelectedStatuses.Split(',').Select(s => new RecordRef() { internalId = s }).ToArray(),              };                jsb.status = searchStatus;                if (!_settings.IncludeInactiveProjects)              {                  jsb.isInactive = new SearchBooleanField()                  {                      searchValue = _settings.IncludeInactiveProjects,                      searchValueSpecified = true                  };              }                var searchRow = new JobSearchRow();              var searchRowBasic = new JobSearchRowBasic();                searchRow.basic = searchRowBasic;              jsa.columns = searchRow;                jsa.criteria = new JobSearch(){basic = jsb} ;                     searchRowBasic.companyName = new SearchColumnStringField[1] { new SearchColumnStringField() { } };              searchRowBasic.internalId = new SearchColumnSelectField[1] { new SearchColumnSelectField() { } };              searchRowBasic.dateCreated = new SearchColumnDateField[1] { new SearchColumnDateField() { } };              searchRowBasic.entityStatus = new SearchColumnSelectField[1] { new SearchColumnSelectField() { } };                searchRowBasic.customFieldList = new

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 4 (Oct-Dec 2025)

This Week's Leaders

This Month's Leaders

All Time Leaders