Westlake 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-08-28

Westlake POS Import

What is this?

Westlake is a point-of-sale system used by Ace Hardware stores. Margin Master imports Westlake data files to build your pricing analysis tables, supporting the largest text-based field set of any POS system at 47 fields.

Import File Format

Property Value
Delimiter Tab (\t)
File pattern *Westlake*.txt
Header row Yes (1 row)
Total fields 47

How Import Works

Data menu - the import command is labelled for your POS system

The export file is read from the Import Path set under Tools > Options > Miscellaneous:

Import/Export Paths on the Miscellaneous tab

  1. You place your Westlake export file (a tab-delimited .txt file with "Westlake" in the name) in the configured import folder.
  2. Margin Master reads the file, validates the fields, and stages the data using BCP (Bulk Copy Program).
  3. The staged data is finalized and inserted into the [Store] table.
  4. From there, Margin Master joins the store data with vendor catalog data to build your main pricing analysis table.

Field Mapping

Core Fields

Westlake Field Margin Master Field Notes
Sku SKU Product identifier
Store Store Store identifier
Dept Dept Department
Class Class Product class
Description Description Primary description
Desc2 Desc2 Secondary description
Location Location Bin/shelf location
PrimeVendor PrimeVendor Primary vendor code
AVendor AVendor Alternate vendor code
ProductGroup ProductGroup Product grouping

Pricing Fields

Westlake Field Margin Master Field Notes
CurrentPrice CurrentPrice Converted via MoneyConverter
COST Cost Converted via MoneyConverter
OnHand OnHand Current inventory quantity
TaxRate TaxRate Tax rate
P2 P2 Pricing tier 2
P3 P3 Pricing tier 3
P4 P4 Pricing tier 4
P5 P5 Pricing tier 5
P6 P6 Pricing tier 6
P7 P7 Pricing tier 7
Comp1–Comp5 Comp1–Comp5 Competitive pricing fields
CompA CompA Competitive pricing A
CompMemo CompMemo Competitive pricing memo

Westlake is the only POS system with six pricing tiers (P2 through P7).

Sales History Fields

Westlake Field Margin Master Field Notes
H0 History0 Current period (integer)
H1–H12 History1–History12 Monthly history (integers)

Additional Fields

Westlake Field Margin Master Field Notes
OrderMultiple OrderMultiple Order multiple
RetailUnits RetailUnits Retail units
SVelocity SVelocity Sales velocity
RedLabel User1 Custom user field 1
District User2 Custom user field 2
AceStoreNumber User3 Ace store number for vendor pairing
AceZoneNumber User4 Ace zone number for vendor pairing

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

  • Ace Hardware pairing: Westlake files include AceStoreNumber and AceZoneNumber fields, which Margin Master uses to pair your store data with Ace Hardware vendor catalog and zone pricing data.
  • Two mapping variants: Westlake has two data mapping configurations (standard and legacy). Margin Master selects the correct one automatically based on your file format.
  • Pricing tiers: The P2 through P7 fields are unique to Westlake. If your export does not include these tiers, they will be empty in Margin Master.

Common Questions

Q: My file is not being detected. What should I check? A: Make sure the filename contains the word "Westlake" and has a .txt extension. The file must be tab-delimited with a header row.

Q: Why do I see RedLabel, District, AceStoreNumber, and AceZoneNumber mapped to User1–User4? A: Margin Master maps these Westlake-specific fields into general-purpose user fields so they can be displayed and filtered in the main table.

Connect with us

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

Loading...

Reconnecting to the server...

This usually takes a few seconds.