Skip to content

Saved Search returning all fields instead of saved search fields #132

Answered by jrebs
netstepinc asked this question in Q&A
Discussion options

You must be logged in to vote

The order in which properties are declared in the SearchPreferences (or in any class at all) is immaterial. If you look at the function you're calling, you can verify the correct order of the parameters.

public function setSearchPreferences($bodyFieldsOnly = true, $pageSize = 50, $returnSearchColumns = true)

Admittedly I am not sure I've ever worked with saved searches in NetSuite so I don't have an answer for you other than to reassure you that the parameter order is not relevant to the issue. Also, responses do tend to be pretty 'verbose', so without seeing your request and response, it may be difficult for anyone to offer any relevant assistance.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by netstepinc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants