Script Editor
You use this program to maintain C# and VBScripts. These are simple text files that can be edited using the SYSPRO Script Editor program or any text editor.
Toolbar and menu
Field | Description |
---|---|
File | |
This prints the VB script. | |
Print Preview | This lets you view the document before printing it. |
Delete VBScript |
This deletes the data record currently displayed. |
Exit |
This exits the program. |
Edit | This menu contains all the standard editing tools, such as Undo, Redo, Cut, Copy, etc. |
Options | |
Show Line Numbering | This displays the line numbers in the script pane. |
Show selection Margin | This displays a margin on the left hand side of the script pane that can be used to select lines. |
Highlight Current Row | This highlights the row where the cursor is located. |
Enable Virtual Space | This lets you position comments at a consistent point next to your text or code. |
VBScript Timeout | |
Markup Editor | This lets you modify XAML code using the XAML editor |
Save | This saves your changes. |
Events | This lets you select the event for which you want to |
Field Events | This indicates the field on the form or toolbar to which you are applying a Field event. |
On Menu Select | |
Form Events | This indicates the form to which you are applying a Form event. |
Toolbar Events | Toolbar indicates that you are defining a VBScript for a toolbar entry (see Toolbars). |
Syntax Check | This checks the syntax of the VB script and refreshes the Procedures list. |
Procedures | This lets you enter or select a procedure that you want to find in the VB script. |
Code Generation | This combines various existing functions (e.g. call business objects, send push notifications, execute workflows, launch programs, and customize toolbar buttons). |
View | This lets you show or hide the Sample Code Window, the VBS Modules Window, and the Notepad. |
Field Properties
This pane is docked together with the Variables pane on the right-hand side of the screen (but can re-positioned as required).
Variables
This pane is docked together with the Field Properties pane on the right-hand side of the screen (but can re-positioned as required).
On this pane you can access the Events hyperlink to quickly insert a field-level event.
Notes and warnings
Program access
-
You can access this program from within forms, panes and toolbars in SYSPRO by right clicking in the pane and selecting the Macro for: option.
Alternatively, you can select the Edit VBScript function from the Customized Pane Editor program.
Activity considerations
-
Operator access to the following activities within this program can be restricted. You configure this using the Operators program.
Activity Description VBScript editing Controls whether an operator can edit VBScripts or change customized panes. It also controls whether an operator can access the Visual Designer program (displayed from the submenu of the gear icon). This does not apply to importing customized panes, which is controlled by the Allow to import customized panes activity.
Copyright © 2025 SYSPRO PTY Ltd.