Last Topic "Provision SQL Database"

Initial Export RM Data to MS SQL Server

In this section of the documentation we provide the necessary steps to send data from Restaurant Manager to the MS SQL Server. We accomplish the data transfer using RM SQL Data Export Utility (RMSQLExport.exe). The utility can be access using the one of the methods outlined below:

Note: "C:" in the commands above represents the drive where the rmwin folder resides. This may be different on your computer.

Initial Export Data Setup Process

The exporting process will allow you to select data from one or more restaurants. A single store will export data from the local rmwin folder. If exporting data for multiple stores, you will link to the same folder used when setting up Central Manager. Use the following steps below to export Restaurant Manager data to MS SQL Server:

  1. Open the RM SQL Data Export Utility (RMSQLExport.exe) using one of the methods described above. You will see a screen similar to the one picture below the first time you access the utility.

  1. Click on the "Export Setup" button to set up the location (s) you want to export data from (i.e. ChatnChew Store 1, ChatnChew Store 2,etc).

  2. Since this is the first time the data export has been run, you will see a screen similar to the one below. Click the "Add New Restaurant" to start the Add Restaurant Wizard.

  1. In the Add Restaurants Wizard, click on the "Add Restaurant" button to add a single restaurant. Click on the "Add From Central Manager" button to add multiple locations at once.

  1. A row will be added to the Add Restaurant Wizard form. You will need to enter information in the following fields:

Click the "Next" button after adding all restaurants.

  1. Restaurant Manager needs to know how to connect to MS SQL Server’s RMData database. Click on the “Build Connection String” button:

  1. In the next screen, select the "Use Connection String: option and click on the "Build" button. Note: the "Use Connection String" remains empty prior to clicking on "Build".

  1. In the Data Link Property window, "Select Microsoft OLE DB Provider for SQL Serve"r and the click "Next"

  1. Under the Connection tab fill in the following fields:

Click the "Test Connection" button when finished configured the data fields above.

You should get a confirmation that the connection is successful – if not check the connection settings and try again.

  1. Click the "OK" button in the Data Link Properties screen. You will be redirected back the Connection String window, The Use Connection screen should now contain string information. Click the "OK" button in this screen to proceed to the next step.

  1. Click the "Next" button in the Add Restaurant Wizard screen

  1. Use the default options provided in the Add Restaurant Wizard and click "Finish". These options in this screen are described later in the setup guide.

  1. The last screen in the RMSQL Export Setup process will look similar to the one pictured below. Click "OK" at the bottom of the form to save the changes.

The setting in this form are discussed in the section: Scheduling Data Updates.

  1. At this point the data in RM is ready for initial export. To do the initial setup click on the “Manual Update” button:

  1. In the Manual Update window, select the restaurants listed by clicking on each one individually or use the "Check All" button to include all restaurants if more than one exists (i.e. Central Manager). Click on the "Next" button after making selections.

  1. In the next screen you will presented with a list of Restaurant Manager databases. Select the database to be exported by clicking on each one individually (uncheck to exclude) or use the "Check All" button to include all databases. Click the "Next" button to save selections and proceed to the next screen.

  1. In the next screen we can choose the time period of the data we want to export. Example we want to export the data for the last 2 years so we select “Current and previous X months” using the Export Period drop down menu and then enter 24 in the months edit box. After entering your time period criteria, click the "Finish" button to begin the export process.

You’ll see the export progress. The export might take a while to complete depending on how much data Restaurant Manager contains for the time period selected.

Note: use the default settings the first time you run this program. If running a second time change the Export Method to "Brute Force" and uncheck "Update Modified Tables only".

The first two steps in the initial setup process covered setting up communications between SQL Server and Restaurant Manager in addition to making the RM database available for reporting services. The last step in the initial setup process will be to deploy a number of preset reports to the MS SQL Service reporting services for viewing.

 

Next Topic "Deploying Reports"