Hi Experts,
I need to set to the initial state some variables that pop up when executing planning functions.
The first time you execute a planning function the variable screen pops up, you fill them and execute function. The problem is that, later on, in the same session, when the planning function is executed again, the variable screen appears with the default values set to the values you entered before; so you need to change the values every time.
I need to get the variables screen in its initial state every time a planning function is executed.
I try running the command SET_VARIABLES_STATE, just before the command for executing the planning function, but it did not work. I guess because this command is only for the variables you get when running the web template for the first time and not for the ones that pop up when, for example, a planning function is executed.
I guess some java script will do the trick, if this is the way, please provide some code sample to start with
thanks in advance