That's a script.
So there is no way to use the custom function to do the same ? :/
Do you understand what a function is?
Do you understand what a script step is?
They are very much NOT the same thing.
A function manipulates data. And the result is modified data or just data.
upper( contacts::first name )
list( line_items::SKU )
get( layoutname )
Go to layout 13
Delete portal row
Sort [ ]
Set field [ ]
1 of 1 people found this helpful
Saying same thing in another words, custom function has only advantage from simple calculation that
short and describing looking
can calculate recursively
Plug-in (external) functions can do more things like set field etc. but custom function can't.
It is possible to create a log of edits using a custom function in a field auto-enter calculation instead of scripts. This is the original example. Other developers have built their own from time to time to suit their individual tastes. One nice perk of this is that no script triggers are necessary. The downside is that the log for each record becomes data in that same record; a separate scripted process is necessary to flush the log (resetting the log field and moving the data to a separate table).