help_ln
8th January 2007, 09:05
Hi,

In a maintain session, how to execute a function in the program script on clicking on Save.

Pls suggest.

Thanks in advance

NPRao
8th January 2007, 09:56
As you are on LN version the best way to implement is in DAL - before.save.object() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_dal_before_save_object")

Alternatively, you can also code in the choice.update.db section.

_Ralph_
8th January 2007, 18:28
Just an example


choice.update.db:
before.choice:
your.function()

help_ln
9th January 2007, 06:23
Thanks, it works