Create a Shortcut to a Job

 

Expand/Collapse all Show/Hide All

Expand/Collapse item  Overview

Use this procedure to create a shortcut on your desktop to run a Visual Integrator job.

 

To create a shortcut to a job

  1. Right-click an empty area of your desktop.

  2. Click New and then Shortcut. The Create Shortcut window appears.

  3. In the Command line field, type the command line information.

  4. Click Next.

  5. Click Finish.

Note Shutting down Sage 100 Standard terminates any job running from a shortcut, whether the job was started before or after Sage 100 Standard was launched.

The shortcut is created.

Expand/Collapse item  Example - Shortcut Command Lines

The following commands are examples of what to type when creating a shortcut if you are running the software either from a workstation or from the SQL server. The command line is slightly different, depending on the module.

For modules other than Material Requirements Planning and Work Order, type:

C:\MAS90\HOME\PVXWIN32.EXE ..\\LAUNCHER\SOTAPGM.INI ..\SOA\STARTUP.M4P -ARG DIRECT UION JWSMITH PASSWORD ABC VI WI00 AUTO

For the Material Requirements Planning and Work Order modules, type:

C:\MAS90\HOME\PVXWIN32.EXE ..\LAUNCHER\SOTA.INI ..\SOA\STARTUP.M4P -ARG DIRECT UION JWSMITH PASSWORD ABC VIWI0 0 AUTO

The commands shown above are typical examples. The components of the commands are listed below.

Command Component

Description

C:\MAS90\HOME\PVXWIN32.EXE

This command initiates the ProvideX interpreter that runs Sage 100 Standard programs. Use the drive and folder name where Sage 100 Standard is installed. When running a shortcut from a workstation, use the drive and folder where the Sage 100 Standard programs are located on the server. The VI folder located on the server needs to be used in the path for the import or export file. When running a shortcut from a workstation running on SQL, use the drive and folder where the Sage 100 Standard programs are located on the SQL server. The VI folder located on the SQL server needs to be used in the path for the import or export file. In addition, an ODBC Data Source/User data source name (DSN) needs to be set up in the ODBC Data Source Administrator located in the workstation's Control Panel.

..\LAUNCHER\SOTAPGM.INI or ..\LAUNCHER\SOTA.INI

This specifies the INI file used to start ProvideX.

..\SOA\STARTUP.M4P

This runs the Sage 100 Standard startup program.

-ARG

This flag indicates that what follows are arguments to be passed to the Sage 100 Standard program.

DIRECT

This is an internal flag that directs Sage 100 Standard to run the specified program without using the Desktop.

UION

This specifies that the user will receive notification of errors in a message box. To not receive notification of errors in a message box, type UIOFF instead.

JWSMITH

This is the user's logon. If security has been set up, a valid user logon is required to execute the job. If s ecurity has not been set up, enter "" instead of a user logon.

PASSWORD

This is the user's password. If the user does not have a password, or if security has not been set up, enter "" instead of a password.

ABC

This is the company code that you want to use for the job. If you do not specify a company code, the last company accessed from the workstation will be used. If the company code specified is not valid, the job will not execute.

VIWI00

VIWI00 is the name of the Visual Integrator job program to be executed. The program name for a job appears on the title bar of the Import Job Maintenance or Export Job Maintenance window.

AUTO

This is the run mode for the job. You can type AUTO, MANUAL, or DISPLAY here.

AUTO specifies that the job will be run with no user input. No windows display when a job is running in the AUTO mode.

MANUAL specifies that the job will be run with user input. Manual jobs will display the standard job window and allow the user to enter selection fields.

DISPLAY specifies that the job will be run with no user input. DISPLAY mode will, however, display a progress bar as the job is executed.