Thursday, September 21, 2017

Dynamics GP - Smartlist Builder - Go To Triggers do not fire in the correct order

Sometimes certain scripts run when the window opens, causing unpredictable behaviour with the way the go to triggers will submit data to the open window.

Most times, if you leave the window open and click the go to a second time, the trigger will work as expected since the code that runs on window open has already run.


  • If using a macro, ensure there is one blank line at the end of the macro to ensure the last macro line fires.
  • when using a macro, smartlist builder does not wait for the macro to finish before moving on to the next step, which causes conflicts if the macro is affecting fields that smartlist builder is trying to update.
    • The wait command stops the entire string of commands, and does not wait after each step
    • Either do not use macros, and try to use smartlist builder tasks, or only use macros as the last step



No comments:

Post a Comment