Sage MAS 90 and 200 Sage MAS 500 blogs Product Feedback Support Training
Reply
Sage MAS 90 Customer
boboy
Posts: 8
Registered: 11-27-2010
0
Accepted Solution

InvokeButton for user created buttons

Has anybody had success with invoking a user created button in MAS 200 4.4?

InvokeButton command works with MAS standard buttons, but not with the ones I create.

 

I'm using:

retVal = oScript.InvokeButton("BT_LINK_1")

Super Contributor
connex
Posts: 795
Registered: 10-29-2008
0

Re: InvokeButton for user created buttons

I've used that feature as well as Steve uses this technique in his sample scripts.

Dan Burleson
Sage Authorized Consultant - Ask me about advanced scripting!
e-mail me here
Sage MAS 90 Customer
boboy
Posts: 8
Registered: 11-27-2010
0

Re: InvokeButton for user created buttons

Dan,

 

Has it ever worked for you with user created button?

I'm trying to invoke it from master script: PostValidate of CustomerNo field in Sales Order Header.

 

Sage MAS 90 Customer
boboy
Posts: 8
Registered: 11-27-2010
0

Re: InvokeButton for user created buttons

Ok,

 

I got it working. The user created button may not be placed on the tabs to work with InvokeButton command. It has to be placed on the MAIN panel.