Load Sterling Warehouse Management System database factory defaults

About this task

You must run the necessary scripts to update your database with the Sterling Warehouse Management System components.

You can load the Sterling Warehouse Management System factory defaults in the activated mode.
Note: In this mode, the Sterling Warehouse Management System factory defaults are activated, which may override factory defaults that you have already configured in the Sterling Selling and Fulfillment Foundation.

To load theSterling Warehouse Management System factory defaults in the activated mode:

Procedure

  1. Ensure that the path to the Java executable is in your system path.
  2. Ensure that your <YFS_HOME> environment variable is set to <INSTALL_DIR>.
  3. Navigate to the <INSTALL_DIR>/bin directory.
  4. Load the factory defaults by executing the following ant script:
    • ./sci_ant.cmd -f ynw_load_defaults.xml install -logfile <logfile>
    • ./sci_ant.sh -f ynw_load_defaults.xml install -logfile <logfile>
    This script loads the factory defaults in the following sequence:
    1. Installs the base factory setup.
    2. Activates the event handlers and user exit implementations.

    This step also includes a validation of the existing data to ensure that the Sterling Warehouse Management System does not overwrite any existing configuration. If the validation fails, the script exits without activating the event handlers and user exit implementations. An error message containing information about the existing configuration that might get overwritten then is displayed.

    To override this validation, execute the following ant script:

    • ./sci_ant.cmd -f ynw_load_defaults.xml overrideinstall -logfile <logfile>
    • ./sci_ant.sh -f ynw_load_defaults.xml overrideinstall -logfile <logfile>

    To install the factory defaults without overriding the validation, execute the following ant script:

    • ./sci_ant.cmd -f ynw_load_defaults.xml -logfile <logfile>
    • ./sci_ant.sh -f ynw_load_defaults.xml -logfile <logfile>

    To install only the non-conflicting activator data, execute the following ant script:

    • ./sci_ant.cmd  -f ynw_load_defaults.xml nonconflictinginstall -logfile <logfile>
    • ./sci_ant.sh  -f ynw_load_defaults.xml nonconflictinginstall -logfile <logfile>

    ./sci_ant.sh (cmd) -f ynw_load_defaults.xml nonconflictinginstall -logfile <logfile>

    If you plan to use the reference implementation provided as a part of the Sterling Warehouse Management System, see Reference Implementation.