Spruce POS Import - Margin Master

Margin Master Handbook

Introduction
Part I · Installing
Part II · Introducing the Main Window
Part III · Initial Configuration
Part IV · Customizing the Workspace
Part V · Basic Application Functionality
Part VI · Learning Margin Master
Part VII · Advanced Topics
Part VIII · Updates, Troubleshooting & Help
Appendix
Part III · Chapter 7 — Point of Sale: Connect, Configure, Import, TroubleshootUpdated 2026-09-15

Spruce POS Import

What is this?

The Spruce import (also known as SprucewareNet or Spruceware.Net) pulls your store's point-of-sale data directly from a remote Spruce SQL Server database. Unlike most POS imports, Spruce does not use a local file -- it connects over the network to query a Margin Master view in your Spruce database.

VPN tunnel required. Because Spruce connects directly to an ECI-hosted database over the network, ECI requires an active site-to-site VPN tunnel between the store and ECI. There are no work-arounds — without the tunnel, Margin Master cannot connect even with valid credentials. See ECI VPN Requirement for setup details.

Import File Format

Spruce is a remote SQL query import, not a traditional file import. However, the data it retrieves is structured as follows:

Property Value
Source Remote Spruce SQL Server (the Margin Master view in your Spruce database)
Field count 28

Fields

# Field Description
1 STORE Store identifier
2 RETAILPRICE Current retail price
3 MFGRNAME Manufacturer name
4 MFGRCODE Manufacturer code
5 QUANTITYONHAND Inventory on hand
6 AVERAGE_COST Average cost
7 REPLACE_COST Replacement cost
8 LISTPRICE List price
9 SKU Item SKU
10 DESCRIPTION Item description
11 GROUP Group code
12 GROUPNAME Group name
13 SECTION Section code
14 SECTIONNAME Section name
15 UNIT Unit of measure
16 UPC Universal Product Code
17 CLASS Class code
18 DEPARTMENT Department code
19 FINELINECODE Fineline code
20 PRODUCTID Product ID
21 VENDORNUMBER Vendor number
22 LAST_YEAR_SALE_DOL Last year sales dollars
23 LAST_YEAR_SALE_UNIT Last year sales units
24 YTD_TRANSACTION Year-to-date transactions
25 YTD_SALES_DOL Year-to-date sales dollars
26 LocationCode0 Location code 0
27 LocationCode1 Location code 1
28 LocationCode2 Location code 2

How Import Works

SpruceWare.Net tab

  1. Add Connection - one card per store database.

  2. Restore from Cloud...

  3. Open Store Manager...

  4. The connection card - Store #, Host/IP, Database, Username, Password, Active, Use Group/Section for Dept/Class, Exclude Stores.

  5. Test / Delete.

  6. Margin Master connects to your remote Spruce SQL Server using credentials configured in Options.

  7. It queries the Margin Master view in your Spruce database to retrieve all inventory and sales data.

  8. The data is loaded into Margin Master's database.

  9. From there, the standard main table build joins your POS data with vendor catalog data.

Department and Class

Each connection card has a Use Group/Section for Dept/Class checkbox that chooses where Margin Master's Department and Class come from:

  • GROUP and SECTION - GROUP and GROUPNAME are joined with a colon to make the Class (for example 10:Hardware), and SECTION and SECTIONNAME are joined to make the Department.
  • CLASS and DEPARTMENT - the Spruce CLASS and DEPARTMENT fields are used as they are.

If your Department and Class look wrong after an import, change the checkbox on that store's card, save, and import again - or ask Margin Master support to confirm the right setting for your Spruce data.

Tips

Spruce imports require network access to your Spruce SQL Server. Make sure the server is reachable and that ECI has set up the Margin Master view in your Spruce database before importing.

Configure your Spruce connection in Options > Spruce/RockSolid tab. You will need the SQL Server address, database name, and credentials.

If your store uses CLASS and DEPARTMENT instead of GROUP and SECTION for categorization, change the Use Group/Section for Dept/Class setting on your connection card (see above).

Common Questions

Q: Why does Spruce not use a file like other POS systems? A: Spruce connects directly to your POS database over the network, which gives Margin Master access to the most current data without requiring manual file exports.

Q: My Spruce import is failing with a connection error. What should I check? A: Verify that (1) the Spruce SQL Server is running and accessible from this machine, (2) the connection settings in Options are correct, and (3) the Margin Master view exists in the Spruce database (ECI can confirm this).

Q: What is the difference between Spruce and RockSolid Max? A: Spruce queries a remote SQL Server directly. RockSolid Max imports from pipe-delimited text files. They share the same 28-field layout, but the data source is different.

Loading...

Reconnecting to the server...

This usually takes a few seconds.