Run a macro using validation trigger Answered

NBB

Hi 

 

We have added a validation configuration on sales order document to open last record when a sales order is added. The settings are as below. 

 

The macro is as below: 

Activate(2050);

Activate(1291);

 

This works to open last record but it opens a new sales order window. Can anyone suggest how to go to last record in original window? 

 

Comments

2 comments

  • Comment author
    Thomas
    • Official comment

    Hey,

    I recommend using the toolbox option "Go to new" instead. You can't get such validation to work without an internal error.

    Best regards,

    Thomas

     

  • Comment author
    NBB

    Thanks Thomas, this solves the problem. Is there any such setting for service call document? 

    Thanks

    0

Please sign in to leave a comment.