Description

The following support note describes the steps to configure your WMS installation to allow Multiple Workspaces to be used on the same server. This is required where a company uses two or more MYOB files to track separate Inventory Lists on the same physical server.

Detail Steps

Backup current WMS installation

 

Step 1: Using Windows Explorer, create a backup folder on a local hard disk out side of the WMS application folder / Common folder.

 

Example: C:\Program Files\Datapel Systems\Backup

 

Step 2: Copy the entire Common folder folder into the new backup folder. The common folder is typically located in C:\Program Files\Datapel Systems\Common

 

Step 3: Copy the entire Warehouse Management System folder into the new backup folder

Backup Registry Settings

 

Step 4: Open Registry editor by clicking Start then Run. Type in ‘cmd’ and press OK. When the command prompt window opens, type ‘regedit’ and press enter.

 

Step 5: Open the HKEY_Local_Machine folder.  Open the Software folder.

 

Step 6: Locate the Datapel Systems folder and right click on it and select Export.

 

Step 7: Browse to the new backup folder and enter a name for the export file.

 

Step 8: Press save and close the Registry editor

 

Backup Database

 

Step 9: If you are using an Access database, then locate the DPL-WMS.mdb database file and make a copy to the new backup folder.  If you are using Microsoft SQL database, then refer to the procedure ‘How to backup WMS database’.


Creating a New Workspace Configuration - Background

 

The WORKSPACE.XML file contains the default settings indicating where various files/folders are located. Make a copy of this file and rename with a label to identify your alternate workspace – for example Company2.xml.

 

Now open the new workspace file in NOTEPAD. Notice the first Tag is called NAMESPACE – the NAMESPACE is a unique name required to define your alternate workspace. The NameSpace MUST be the same as the filename – in this example

 

Company2<\NameSpace>

 

It is recommended that the Reports/Forms/DocStore and other folders be created under a folder called Company2. The exact paths should be updated in the new workspace file. It is also recommended that these DATA FOLDERS ARE NOT created in the PROGRAM FILES folder. Where possible create data folders on a Data Drive that is regularly backed up.

 

Starting Up the Alternate Workspace

 

To instruct WMS to use an alternate Workspace the desktop shortcut needs to include the /WORKSPACE command line switch with the name of the alternate workspace file.

 

For example:

 

...Datapel Systems/Warehouse Management System/WMS.EXE” /WORKSPACE Company2.xml

 

If creating Scheduled Tasks for multiple workspaces – make sure the /WORKSPACE is the LAST switch on the commandline.

 

Now launch the shortcut and WMS WORKSPACE WIZARD will prompt you to confirm the paths defined in the alternate XML file and continue through to selection of MYOB file.

 

Using the two or more different short cuts you can now access different WMS Workspaces from the desktop.


Known Limitations

 

The Multiple-Workstation feature is primarily designed to allow different users to access different Workspaces/MYOB files on a central server simultaneously.

 

Avoid having TWO users of separate Workspace/MYOB files synchronising with MYOB via MYOB ODBC Direct simultaneously. The MYOB ODBC driver can exhibit odd behaviour and has been known to crash under system load.

 

It has been reported that in some circumstances Reports/Forms can get crossed between two parallel running systems. If this occurs contact Datapel immediately.

Related Information

This procedure should only be followed by authorised system administrators or Datapel support technicians. Backups should be made of all components and data relating to the current WMS installation. Additional steps that are not listed in this procedure may be required where customised controls, forms or data stores have been implemented.