Hi, I have some forms which contain calculated fie...
# general
b
Hi, I have some forms which contain calculated fields. Is there an easy way of getting these calculated fields to show in a saved search?
d
As far as I know, no, since the data is not stored in the database. But if there is a way, I'd like to know too. 🙂
n
You will need to move those calculations to a SuiteScript or Workflow. So the fields can actually save those values.
b
Thanks, I'll give that a go!
Having a look, I can't have the field saving the values as the values within them changes as data is entered on other forms.
k
Calculated fields often work in searches for me - reports they definitely don't though
n
Now that @KevinJ of Kansas has mentioned it, I also remember calculated fields showing up in results. Give it a try @BullgillRunner
b
I can get calculated fields to work if all the fields required for that calculation are available on the document/form in question but if the calculated field gets its result from a saved search, then I can't pull this figure through. Big limitation in NetSuite, other products I've used would have no problem with this. I'll keep battling and come up with a solution although I doubt it will be as smooth as I'd like.
n
You will need to move those calculations to a SuiteScript or Workflow.
k
Oh that's a saved search field, which is not a calculated field. - Normally what I do to facilitate this is create a secondary field - and then use a scheduled workflow to push the values in. Of course, by the time I do that, I'm pretty close to the amount of time it would take to script it. Or I switch to doing the calculation in a script or workflow and plugging it into a stored value field.