MARGIN_MASTER — Ace Catalog File - 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
AppendixUpdated 2026-03-24

MARGIN_MASTER — Ace Catalog File

What is this file?

The MARGIN_MASTER file is the primary Ace Hardware catalog file. It contains the core product attributes for every SKU in the Ace catalog — descriptions, departments, vendor information, and pricing strategy codes. This file is the foundation of the Ace data pipeline; zone pricing and other supplemental files reference the SKUs established here.

File Details

Property Value
File pattern MARGIN_MASTER*.out
Format Pipe-delimited (\|)
Vendor Ace Hardware
Frequency Daily
Cloud table AceCatalogRecords

Raw File Fields

Index Raw Field Data Type Description
0 SKU string Ace stock number
1 Description string Product description
2 MC string Merchandise class
3 PG string Product group
4 PS string Pricing strategy code
5 VendorNumber string Vendor number
6 VendorName string Vendor name
7 RDOM string Ratio of dealer to manufacturer
8 DOM string Dealer original markup
9 VC string Velocity code
10 Conv string Conversion factor
11 Nbr string Number factor
12 Sup string Supplier factor
13 Ult string Ultimate factor
14 ParentRSC string Parent retail support center
15 Dept string Department code

Cloud Table Mapping

Each raw field maps directly to a column in the AceCatalogRecords table:

Raw Field Cloud Column Notes
SKU Sku Primary key
Description Description
MC MC Merchandise class
PG PG Product group
PS PS Normalized: first char, uppercase; NULL/empty defaults to X
VendorNumber VendorNumber
VendorName VendorName
RDOM RDOM Parsed as float
DOM DOM Parsed as float
VC VC Velocity code
Conv Conv
Nbr Nbr
Sup Sup
Ult Ult
ParentRSC ParentRSC
Dept Dept

Main Table Mapping

The following main table columns are populated from this file. The Ace_Current view joins AceCatalogRecords with AceZoneRecords (zone 99999), but the columns below come specifically from the catalog record.

Cloud Column Main Table Column Transformation
Dept Dept2 Direct
MC Class2 Direct
PG ProductGroup2 Direct
PS PricingStrategy First character; NULL/empty defaults to X
VendorNumber VendorNumber Direct
VendorName VendorName Direct
DOM DOM Cast to float
RDOM RDOM Cast to float
VC VelocityCode NULL defaults to X
Conv Ace_Conv Direct
Conv DiscoveryC Same value as Ace_Conv
Nbr Ace_Nbr Direct
Nbr DiscoveryN Same value as Ace_Nbr
Sup Ace_Sup Direct
Sup DiscoveryS Same value as Ace_Sup
Ult Ace_Ult Direct
Ult DiscoveryU Same value as Ace_Ult
CreateDate CreateDate Cast to date; falls back to existing value or 2019-01-01
(SKU match) VendorOwned Set to VEND if SKU exists in catalog; otherwise NON

Business Rules

  • Pricing Strategy normalization: If PS is longer than 1 character, only the first character is used. If PS is NULL or empty, it defaults to X.
  • Duplicate SKUs: If the source file contains duplicate SKUs, only the first occurrence is kept.
  • Soft deletes: Removed SKUs are marked with a DeleteDate and IsDeleted flag rather than being physically deleted.
Connect with us

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

Loading...

Reconnecting to the server...

This usually takes a few seconds.