Epicor Eagle FTP 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-08-28

Epicor Eagle FTP Import

What is this?

The Epicor Eagle FTP import downloads a proprietary binary inventory file from your Epicor Eagle server via FTP or SFTP and decodes it into Margin Master for pricing analysis. This is the standard import method for Epicor Eagle stores that pair with Ace Hardware or Emery Jensen vendor data.

Import File Format

Epicor Eagle uses a proprietary binary format that is not human-readable.

  • File name: IN (no file extension)
  • Format: Fixed-width binary with byte-level field encoding
  • Delivery: Downloaded automatically via FTP or SFTP from the Eagle server
  • Total columns: 89 fields decoded from the binary data

Key Fields Decoded

Field Description
SKU Item SKU number
StoreNumber Store identifier (decoded from single ASCII character)
Dept Department code
Class Class code
Description Primary item description
Description2 Secondary item description
CurrentPrice Current retail price
COST Item cost
ReplacementCost Replacement cost
OnHand Current inventory quantity
ProductGroup Product group code
History0-History12 Monthly sales history (13 periods)
sVelocity Sales velocity code
PrimeVendor Primary vendor code
AVendor Alternate vendor code
Comp1-Comp5 Competitor price fields
User fields Custom user-defined fields
Zone pricing fields Zone-specific pricing data

How Import Works

Epicor tab in FTP mode

  1. Connect via MySQL / Compass - leave unchecked for the direct Epicor FTP connection.

  2. IP Address, Port, Username, Password and Use Secure FTP - the Eagle server credentials.

  3. Test & Save Connection / Troubleshoot Connection...

  4. Restore from Cloud... - pull the connection saved for this store.

  5. Import Options - Batch Import Files (BCP) and Streaming Import.

  6. Open Store Manager... - POS-to-vendor store mapping.

  7. Store Number Display & Sorting.

  8. Margin Master connects to your Epicor Eagle server using the FTP or SFTP credentials configured in Options.

  9. It downloads the binary file named IN from the server.

  10. The binary file is decoded field by field at the byte level to extract all 89 columns of inventory data.

  11. Store numbers are translated from single ASCII characters (A-Z) to their corresponding numeric store IDs.

  12. The decoded data is bulk-loaded directly into the [Epicor] SQL Server table.

  13. Per-store main tables are built by joining the Epicor POS data with Ace_Current vendor catalog data.

  14. Post-processing applies additional enrichment including Ace Direct SKU conversion, MAP pricing enforcement, and zone pricing adjustments.

Field Mapping

Epicor Eagle Field Margin Master Field
SKU SKU
Store letter (A-Z) StoreNumber (numeric)
Department Dept
Class Class
Description Description
Description 2 Description2
Retail Price CurrentPrice
Cost COST
Replacement Cost ReplacementCost
Quantity On Hand OnHand
Product Group ProductGroup
History periods History0-History12
Velocity sVelocity
Primary Vendor PrimeVendor
Alternate Vendor AVendor
Competitor prices Comp1-Comp5

Re-Importing a Previously Downloaded File

If you need to re-import data without downloading from the Eagle server again (for example, when troubleshooting or when the Eagle server is unavailable), you can reprocess a previously downloaded file:

  1. Navigate to the Epicor download folder: C:\ProgramData\RetailerSoft\MarginMaster\Epicor\
  2. Open the subfolder for today's date (e.g., Downloads_20260408).
  3. Find the file named INdecoded.bak — this is the backup of the last successfully imported file.
  4. Rename INdecoded.bak to INdecoded (remove the .bak extension).
  5. Click Import Data in Margin Master.
  6. A prompt will appear: "An existing INdecoded file was found. Would you like to re-import this file instead of downloading from FTP?"
  7. Click Yes to re-import the file without connecting to the Eagle server.

No Eagle server connection required. When you choose to re-import an existing file, Margin Master skips all FTP connection steps entirely. This is useful when the Eagle server is offline or unreachable.

Clicking No will attempt a fresh download. If you decline the re-import, Margin Master will try to connect to the Eagle server via FTP. If the server is unavailable, you will see an error message.

Troubleshooting

Symptom Likely cause What to do
No Files Found when you choose Get POS Data The export is not in the Import Path (Tools > Options > Miscellaneous), or its name does not match the pattern above Check the path and the file name; Margin Master reads only the current folder, not sub-folders
The same file is imported again and again The previous import's file was not renamed After a successful import the file is renamed to NAME[ext].BAK; a file that keeps its name did not import - read the error dialog
0 records or far fewer than expected The export covers the wrong store, or the store is not matched in the Store Manager Open Store Manager and check the store's row; re-export from the point of sale
Columns land in the wrong fields The export layout changed Compare the file's header row with Field Mapping above; contact Margin Master support with the file
Import finishes but the grid does not change The rebuild was postponed (the Click to update data badge is showing) Click the badge, or Data > Rebuild Data

Every import failure shows one error dialog; the log under File > Utilities > Show Log Files has the detail to send to support.

Tips

Store letters map to store numbers. Epicor Eagle identifies stores using single ASCII characters (A, B, C, etc.). Margin Master automatically converts these to their numeric equivalents based on your store configuration.

The file has no extension. The import file is simply named IN with no file extension. This is normal for Epicor Eagle exports.

FTP credentials are configured in Options. Go to Options, then the Epicor tab (with Connect via MySQL / Compass unchecked) to set your Epicor Eagle FTP server address, username, and password. Both standard FTP and SFTP are supported.

Ace Direct SKUs are handled automatically. Items with SKU numbers ending in "D" (Ace Direct items) have the suffix stripped during post-processing so they match correctly with Ace catalog data.

Zone pricing is applied after import. If your store has zone-specific pricing configured, Margin Master will apply zone pricing overrides from the synced Ace zone data after the main tables are built.

Common Questions

Q: What vendor data does Epicor Eagle use? A: Epicor Eagle pairs with Ace Hardware or Emery Jensen vendor data. Your Ace/EJ catalog must be synced from the cloud before building main tables.

Q: What is the difference between FTP and MySQL Compass import for Epicor? A: FTP import downloads the binary IN file directly from the Eagle server. MySQL Compass reads from a local MySQL data warehouse on your network. Both produce the same result. Use whichever method your store has configured.

Q: Why do I see letters instead of store numbers in Epicor? A: Epicor Eagle uses single characters (A-Z) as store identifiers. Margin Master translates these to numeric store numbers automatically.

Q: What are the two import modes? A: Direct mode is the standard production mode that bulk-loads data into the [Epicor] table. BCP mode is a debug option used for troubleshooting that writes intermediate files.

Q: What is MAP pricing? A: MAP (Minimum Advertised Price) enforcement ensures that future prices do not go below manufacturer-set minimums. This is applied automatically during post-processing for Ace Hardware items.

Connect with us

Margin Master by RetailerSoft, Inc. © 2026. All rights reserved.

Loading...

Reconnecting to the server...

This usually takes a few seconds.