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-09-15

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 loads the data into its database.
  3. From there, Margin Master joins the store data with vendor catalog data to build your main pricing analysis table.

Export Columns

Core Fields

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

Pricing Fields

Westlake Field Notes
CurrentPrice Current retail price (currency formatting accepted)
COST Product cost (currency formatting accepted)
OnHand Current inventory quantity
TaxRate Tax rate
P2 Pricing tier 2
P3 Pricing tier 3
P4 Pricing tier 4
P5 Pricing tier 5
P6 Pricing tier 6
P7 Pricing tier 7
Comp1–Comp5 Competitive pricing fields
CompA Competitive pricing A
CompMemo Competitive pricing memo

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

Sales History Fields

Westlake Field Notes
H0 Current period (integer)
H1–H12 Monthly history (integers)

Additional Fields

Westlake Field Notes
OrderMultiple Order multiple
RetailUnits Retail units
SVelocity Sales velocity
RedLabel Shown in user field 1
District Shown in user field 2
AceStoreNumber Ace store number for vendor pairing (shown in user field 3)
AceZoneNumber Ace zone number for vendor pairing (shown in user field 4)

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 Export Columns 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 in user fields 1–4? A: Margin Master places these Westlake-specific fields into general-purpose user fields so they can be displayed and filtered in the main table.

Loading...

Reconnecting to the server...

This usually takes a few seconds.