SME Import Export Process

From High5Wiki
Jump to navigation Jump to search

SME and SMP5 Import and Export Process

SME and SMP5 provides a very open architecture for importing and exporting any data from the database tables using excel or comma separated value files which are easily read and written using Excel. This guide provides some general guidelines on the import and export process. Please note that there are many tables and fields in SME and many different purposes for importing and exporting information, so this is only a guide to adapt to your specific situation.

Importing into SME[edit]

Please contact our support team for Custom Tabs import assistance.[edit]

Exporting data: Utilities>Utilities>Export Data, Run It.[edit]

  1. Exporting data is harmless and any fields in any table can be exported.
  2. Select the table you want to export
  3. Select the fields to export by selecting each field and selecting the > button or select >> to export all fields from the table.
  4. Select the output location and the filename. I like to give a file name with a .csv extension so that it automatically opens with Excel.
  5. Note that you can save a template for if you will be doing the same export multiple times. Then just use load template to recreate the export template.
  6. Select Start to create the export file.
  7. Once you get the export file, notice the various UID field. These are used to uniquely identify the records and MUST be used in the import process to avoid duplicating data.
  8. Open the created file in Excel and do data manipulation as required.

Import Data: Utilities>Utilities>Import Data, Run it.[edit]


There are two type of import, one for bringing in new records (data) and one for updating existing records.

Bringing in New Records:[edit]

  1. Make a backup of your data.
  2. I’m serious, backup your data if you haven’t already, do you realize the power that import provides!
  3. File preparation:

UID Name Number Description Cost
IN01/11/070528298900 Widget Item W56784576 Widget for widgeting 100
IN01/17/071058388901 Lift Rental LR40 Lift Rental 40' 120
IN01/18/071012043361 Security Camera SC100 Commercial Security Camera for Outdoor 240

4. File Preparation Setup

    1. To prepare the file, make sure the first line contains the field labels
    2. Use UID from previous exports for any relational data. For example to import inventory and have it assigned to a specific vendor, you would use that vendor’s unique identifier “VendorUID”. You can also use the Match check box to match by a field, however UID matching is more robust.
    3. Make sure you don’t have any blank lines as this may create blank data.
    4. Now that you have backed up your data, you can proceed. Go to Utilities>Utilities>Import Data and select Run it
    5. Select the file that you are using to import. Note the first line of the file should include the field labels that will be matched to data fields going into SME. This labels will show in the left side of the import.
    6. Select the SME table you want to import into on the right. Some common import tables include the following: Cust for customers, Inventory for inventory, Vendors for vendors, Sales for Sales Leads. If you exported the table in the export section above, you should use the same name used for export. If you are not sure which table, contact
    7. SME7.1 and Newer: You can view the data to be imported in the View Data tab.
      1. ImportViewData.JPG

Updating Existing Data:[edit]

This process is more advanced and involves more data manipulation in excel.

  1. New in SME6.3: Now you can match existing records with the match checkbox. This makes it easier to match than using UID’s. However, make sure that the field you are matching is unique and setup the same in SME. For example, if you want to match on Inventory names, make sure the name is EXACTLY the same in the import file and SME.
  2. First backup your data.
  3. Export the table that you will later be updating with the import. This will provide you with various unique ID’s (UID’s) or the matching names so that you don’t replicate data. See the export section.
  4. Open the exported file in excel.
  5. Update the fields you want to change. There are many methods for updating the data that are excel use issues and beyond the scope of this document. For example you can copy a list of prices from a price table and paste into the appropriate inventory item.
  6. The most important thing to note is that you should retain the UID or the matched field of the record that you want to update so the record is not duplicated.
  7. You do not need to update all the fields, just update the ones that are changing and include the UID.
  8. Follow steps 3 through 9 above in the “Bringing in New Records” section.

Field Mappings[edit]

The Field Mappings tab will allow you to map the import file fields to SME fields.
If you do not want to import the column of fields, select do not import for that column.
To try to match to an existing SME record, select Attempt Match. For example, you might want to try to match a customer name in SME to update the record rather than create a new. Note: This approach is not as predictable as using UID's to match.
Select the SME field from the table to match. ImportFieldMappings.JPG

  1. Old Older versions of SME and SMP: Match the fields from SMP on the right side window using Move Up, Move Down and remove. You can select multiple items by selecting the first and hold down the shift and select the last in order to remove a bunch of fields.
  2. Save the template at this time and give it a name.
  3. This is your last chance, make sure you have backed-up you data before this step. Select Start.
  4. Check the SME and see if your import was successful, if not get everyone out of SME and restore your backup.