ToolUsage

ToolUsage

Overview

For each order, the general version of the import tool does the following:

  1. Check if all the products exist in the accounting system. If any products don't exist, it will attempt to create them.

  2. Check if the customer exists. If the customer does not exist, it will attempt to create a new customer (unless we are instructed not to do so).

  3. Create salesorder

  4. Create purchase order (please see notes). Requires that ERP# field is filled out in webshop admin/catalog/vendors.

The ERP# is the ID of the vendor in your accounting system - the link between the vendor in the webshop and the vendor in your system.

 

Installing the tool

  • download and unpack the files in a folder of your choice

  • create a file called settings.xml according to the instructions and place in the same folder

  • check requirements and notes section and the info on how to run the tool

 

Running the tool

The tool would normally be run using Windows Scheduler at intervals that suit your needs (once a day, once every hour, etc). It can also be run from the command line.

 

<Tool name> -batch

This is the most common way to run the tool. It will download and import all orders with status ordered or shipped, set the webshop order to imported and write the accounting system order number in webshop order detail upon successful import of the order into the accounting system. If an error occurs during the import (say, an incorrect/unknown customer number), an email is sent to the AdminEmails indicated in settings.xml.
example: c:\>wmx2navision.exe -batch

 

<Tool name> -batch o:<orderNumber>

Same as above, except that it will only download one specific order. Use this when you test the tool.
example: c:\>wmx2navision.exe -batch o:26999

 

 

Troubleshooting

When you run the tool it creates a report file in a sub-folder called \LOG - one file each time. If there are errors, or you have questions about a specific order import, we need to you send us that file. Every parameter that is set during the import process is logged, and in case of serious errors it will contain general error messages.