Hi All. Question. I have a non stored field (popul...
# suitescript
r
Hi All. Question. I have a non stored field (populated via search). Works great on the UI and can access the value via code no issues. But when I add it to a Saved search its blank? Any ideas what's going on?
because its values are not stored, the field is not available in search results
👍 2
r
Damm it. but via script I was able to get the value so I thought now NS might be allowing it
d
I didn't know you could access the value via script. So thanks, TIL
r
Might need another script to COPY over he the value to a stored field if they are different Might have to have another script
Yeah I was surprised as well.
I was like if its working IN SCRIPT must be new Found it doesn't work in script. had to do a work around to get this
but in script I access it via a search as well in 2.1
d
"Might need another script"
yeah, I've seen that solution before (UE/SS to persist values of non-stored fields)
is there any chance you'd be able to replicate the results of the summary-search within the other saved search? Maybe using the PLSQL analytic functions?
r
I have not used SuiteQL at all. The customer wants to add my NEW un-stored field into their existing saved searches
👍 1
d
at risk of confusing things, I was meaning how you can make saved searches execute analytic functions in formulas. See here for an example. Definitely an advanced, unsupported method that requires knowledge for SQL queries