Gaith1
15th December 2015, 22:43
Hi,
I have a question for you about ue (user extension) script. If I want to add logic after the last insert in a table , can I use a DAL hook like for ex. ue.after.after.save.object() or this function is call after each record inserted. Also, can I use the form selection fields in the UE script. Do you have a suggestion?

thanks

alex.rodionov
15th December 2015, 23:42
Hello
ue.after.after.save.object ( the same is true for all other UE dal hooks) hook will be executed each time dal.save.object function is called. That means that this hook will be called after each record inserted or updated.
I do not know any way to get field values, displayed on the form, in this hook in case those fields are variables. You can manipulate only tables and table fieds.