HomeTutorialsAdvanced Order Management (AOM)Automating
 

Automating

Last Modified:Friday, 23 October 2020 04:36

The Advanced Order Management compilation and automation programs can be automated through the use of SYSPROAuto.exe* (see the noted asterisk below for pre-SYSPRO 7 automation program names).  Also, see below for how to use SYSPROAuto.exe with automation.  For further detailed use of SYSPROAuto, refer to SYSPRO's help.

To pass information to the program add a /LINK parameter to the command line for SYSPROAuto.exe as follows:

/LINK=<OPTION 1>:<OPTION 2>

Note: Programs with the release date of 8/25/2020 or later are required for all the following options to be valid.

Compilation

To run the compilation the /prog= parameter is EDIAO1.  The first option in the LINK parameter must be RUN if the program is to start automatically. Without this parameter, the program will show on the screen and await user input.

The following additional parameter may be used:

  • NODIALOG - Adding this parameter will cause the program to run without any status display
  • BINS(XXX) - The system to only look at the bins listed in the XXX value. This value can be a comma delimited list of bins.
  • FILL(XX) - The value of XX will override the compilation minimum fill percentage set in the system setting
  • EMAIL(XXX) - The code XXX will be used as an email configuration code and the report emailed to the addresses indicated in the cross-reference. This overrides the setting in the system setup
  • NOREPORT - No report will be printed. This overrides the setting in the system setup

Sample: 

        SYSPRO.exe /COMP=EDU1 /OPER=ADMIN /prog=EDIAO1 /LINK=RUN

 

Allocation Automation

To run an automated automation the /prog= parameter is EDIAOA. The first option in the LINK parameter is the preference code for the the filter parameter set previously stored in the allocation system. Do not use any spaces in the preference code when storing the filter set. The preference code must be the first parameter in the LINK information.

The following additional parameter may be used:

  • RELEASE - Adding this parameter will override the system setup requirement of a secondary release and perform the release functions during the allocation.
  • EMAIL(XXX) - The code XXX will be used as an email configuration code and the report emailed to the addresses indicated in the cross-reference. This overrides the setting in the system setup
  • NOREPORT - No report will be printed. This overrides the setting in the system setup

Sample: 

        SYSPRO.exe /COMP=EDU1 /OPER=ADMIN /prog=EDIAOA /LINK=FILTERSET1

Note: If EDIAOA can not find the parameters file requested it will write a note to the base\settings\<Username>.txt file where username is the SYSPRO user.  

 

SYSPRO Automation Notes

The following information is provided for convenience only. See the latest SYSPRO documentation for the most current details.

Standard SYSPROAuto Parameters

/comp= Company Code to use
/oper= Operator Code
/prog= SYSPRO Program to run
/pass= Operator Password
/cpas= Company Password
/link= Information to pass to SYSPRO program
/host= Name/IP of host computer
/wrk= Specifies path to working directory
/ini= Specifies path to the IMPACT.INI file

 

SYSPRO Automation Program Names

SYSPRO 7  Pre-SYSPRO 7 Program function
SYSPROAuto.exe IMPAUT.EXE Launches and determines which of the following two automation programs should launch, then closes
SYSPRO.exe IMPACT.EXE Launches for Standalone or Network shared data installation
SYSPROClient.exe  IMPCSC.EXE  Launches for Client Server Installation

* Note:  SYSPROAuto.EXE simply figures out if SYSPRO.EXE (standalone or Network shared data installation) or SYSPROClient.EXE (Client Server Installation) should be called and calls the appropriate program passing all the parameter information.  You may call SYSPRO.EXE or SYSPROClient.EXE directly instead of using SYSPROAuto.EXE.  This is especially useful if you are trying to have a process wait until SYSPRO is done processing as SYSPROAuto.exe will die as a process as soon as it transfers control to the correct SYSPRO program.

Why CADACUS SOLUTIONS FOR SYSPRO?

Since 1991, as developer of the standard EDI, Shipping, and Freight Calculator Solutions for SYSPRO, our products are fully integrated with SYSPRO and drive efficiencies for hundreds of users worldwide.

Why SYSPRO?

For 35 years, SYSPRO has had a single product focus resulting in an award-winning ERP system with a track record of success for over 14,000 customers worldwide.