Fetch non-db values

What is non-db values in suitecrm? and how to achieve this?

If I understand what you’re asking about, these are fields in the vardefs that, exceptionally, do not link to values coming from the database.

They can be used for calculated values or values retrieved in some other way.

ok. I jneed this non-db values in editviewdef.

Are you sure you need them? What are you trying to achieve with this? Maybe there is a better way.

If you just want to display some calculated field on the view, you will probably need to override the view class anyway, so there’s not much to be gained from using these fields, you can simply do what you need to do in PHP or in some javascript you inject.

I might be wrong here, I am not an expert in this.