Does SuiteCRM include the option to insert dynamic/calculated fields?
When I create a new field I can’t see the option to do this.
You help is appreciated.
Does SuiteCRM include the option to insert dynamic/calculated fields?
When I create a new field I can’t see the option to do this.
You help is appreciated.
Hello,
That is not yet supportted
You have to do it in a before_save logic hook, $bean->field = $bean->field1 + $bean->field2
Thank you!
Would I need to customise the code for that or is there somewhere via Studio I can enter that expression?
No, this is outside of the features available in the web interface.
http://support.sugarcrm.com/02_Documentation/04_Sugar_Developer/Sugar_Developer_Guide_6.5/03_Module_Framework/Logic_Hooks/02_Module_Hooks/before_save/
Again thank you, I am wary of the “infinite loop” situation but will try it and see how I get on.