Saturday, December 15, 2018

Dynamically build a Suitelet list through an existing saved search

To dynamically build a Suitelet list with an existing saved search, the following code may be used as a guide:

What the preceding code does is to create a Suitelet list through the results of an existing saved search. The list columns are built using the fields specified in the Results tab of the saved search, hence, there is no longer any need to specify a column array for nlapiSearchRecord(). This is accomplished by using the getAllColumns() function.

No comments:

Post a Comment