Scripting.doc - Documentation mentioned in the Customizer 4.4 Training Video

The attached Scripting.doc word file contains a list of variables that are automatically available from within the running scripts for the new User-Defined Scripts available in the 4.40 release..  In addition some useful methods are explained for the object variables that get passed in to help get you started.  By no means is this an exhaustive list of methods and properties but rather some of the key ones that you will want to understand when creating new scripts.

 

While this document is included in the example download available on the Partner File Center, I thought it would be useful to put it out here as well.

 

In 4.40, the Object reference is now included that can be accessed from the Resources link in the task pane from the launcher, and then following the File Layouts and Program Information link from the Resources page, if you are interested in other methods and properties that are available.

 

Top Replies

Parents Reply Children
  • in reply to Brian L

    Can someone please answer a scripting question for Sage 100 ERP Advanced?  Since scripts run on a Server instead of the workstation, is it possible for the script to execute SAPI Voice on a workstation or just play a .wav file to indicate a condition in a script.  I have a client that wants a sound and it works in Standard for the .wav or SAPI Voice, but not in Advanced.  

  • in reply to MJZ

    Button scripts can be set to run on the workstation.  Invoke such a button from your BOI script when you want to play the sound.  (Place the button behind something else on your custom panel, so the user doesn't see it).

  • in reply to MJZ

    When I worked for this developer, there were 4 scripts of the Tips and Tricks nature I created as part of a blog series. One of them is about preventing duplicate customer names in Customer Maint and playing a sound. One sound example uses the TTS / SAPI voice and the other a simple 'BEEP' sound. Where Advanced / Premium is mentioned, the server side script calls a client-side script to play the TTS / SAPI. In case you're interested -- https://bit.ly/1MePj5h