Sage 100 Scripting.doc — Documentation Mentioned in the Customizer 4.4 Training Video
The Customizer 4.4 training video references Scripting.doc for Sage 100 User-Defined Scripts. It was never in the installed help — here is where the document and its successor actually live.
The Customizer 4.4 training video points you to a document called Scripting.doc for the new User-Defined Scripts in the 4.40 release — and then you go looking for it in the installed program and find nothing. It is not in the Sage 100 help, and it never was. Scripting.doc circulated as a separate attachment, and this page tells you what it contains, where copies live, and what has replaced it.
The fix
- Know what you are looking for. Scripting.doc is a Word document that lists the variables automatically available inside a running User-Defined Script — the values Sage passes into the script at runtime so you do not declare them yourself — and explains useful methods on the object variables passed in, to get a new script started.
- Get it from the Community Hub thread where Sage posted it. A Sage contributor attached the document to the Community Hub discussion itself ("Scripting.doc — Documentation mentioned in the Customizer 4.4 Training Video"), noting that it was also included in the example download available on the Partner File Center. If you have partner access, the File Center example download is the other original source.
- If you work in a current release, use the most recent version — with its warning attached. The follow-up thread carries a newer attachment described by its poster as the most recent version of the scripting document for Customizer scripting. That version documents functions that exist only in the 2013, 2014, or 2015 releases, with notations in the document saying so, and the new UI scripting events it covers are available only in Sage 100 2015. On a 4.40 system, treat those sections as not applicable to you.
- Use the living successor for day-to-day scripting reference. Sage hosts the successor reference on the Community Hub as the "Sage 100 Customizer Script Variables — Scripting-Plus" document (Sage_100_BOI_Scripting.pdf). It documents the same passed-in variables: any variable whose name begins with "o" is a handle to a Sage 100 object. The two you will use constantly are oBusObj — the handle to the currently running business object, with methods such as GetValue, SetValue, Write, and Clear — and oSession — the handle to the session object, carrying context such as CompanyCode and UserCode and methods such as GetObject and AsObject for reaching other objects.
- Pair it with the Object Reference that ships in the product. Scripting.doc and its successor cover the variables passed into a script; they deliberately lean on the Object Reference for object-specific methods and properties. In Sage 100, open the Resources link in the task pane from the launcher, then File Layouts and Program Information, and open the Object Reference. That path existed in 4.40 — the original thread points it out — so this half of the documentation is available even on the oldest version this question covers.
Options and approaches
Which document for which version
- Actually running 4.40: the original Scripting.doc attachment matches your release. The Object Reference in your installed product covers the object methods.
- Running 2013–2015: the newest attached version is written for you, including the version notations and the 2015-only UI events.
- Running anything current: start with the Scripting-Plus PDF for the passed-in variables and the in-product Object Reference for everything else. The Word document is a historical artifact; the PDF is its maintained descendant.
Do not confuse the script types
Sage 100's Customizer has more than one thing called a script. Scripting.doc is about User-Defined Scripts — the event scripting introduced in 4.40, written against business objects. The older Command and DDE scripts documented in Sage's online help are a different, BASIC-like language for external link buttons, and the help says plainly that its scripting topics do not cover MS Script either. If your search lands on the Command and DDE Script Language Overview, you are in the wrong documentation for User-Defined Scripts.
What doesn't work
- Searching the installed help or the program folders for Scripting.doc. It was distributed as an attachment and a File Center example download, not installed with the product — which is why the question kept being asked.
- Applying the newest version's full contents to a 4.40 install. Its own poster warns that parts of it require 2013–2015, and the UI events require 2015. The notations in the document mark which parts those are; read them.
Affected versions
The original document covers the User-Defined Scripts feature as introduced in Sage 100 4.40. The most recent attached version extends through Sage 100 2015, with per-feature version notations. The Scripting-Plus successor and the in-product Object Reference (Resources > File Layouts and Program Information) are the references for later releases; on Sage 100 2025 and later, note that Sage moved the Resources entry point from the Web Content tab to the Help tab.
Prevention / best practice
- Save the scripting reference with your own customization documentation, version-noted. These attachments live in forum threads and file centers, and threads are hard to find again years later — as this document's history proves.
- When a training video or course references a document by filename, capture the document at training time. Sage's training-era attachments were not folded back into the product help.
- Record which scripting reference version each of your production scripts was written against; a script using a 2013-or-later function will fail quietly when a company is still on an older release.
Related help
- User Defined Script Events
- Deep Dive Into Customizer for MAS 90 and 200
- Sage 100 2018 API Documentation
- VBScript Popup Selection in Customizer
- Script for Customer Pricing
Still stuck? Send us a screenshot of the error, we will diagnose it for free.
Digit Masters has supported Sage 100 and Sage 300 since 1997. Send the screenshot through our contact page or to contact@digitmasters.com, or call (800) 965-4262.