Shample Intel
Menu
Catalog quality guide

Recognize common supplier headers without renaming source columns

Test generic identifier, title, cost and quantity aliases and see which fields are recognized versus preserved as separate source data.

File formatsUpdated Guide slug: map-generic-supplier-column-headers

The issue to look for

Supplier sheets use different names for the same kinds of fields. Recognition is useful for validation, but it should not be confused with rewriting every export into a new schema.

What this check can tell you

The tested alias map identifies six positions while preserving DESCRIPTION1 and DESCRIPTION2 separately, making a common title-combination assumption explicit.

A transparent review

  1. Keep a copy of the original header row and check that every header name is unique.
  2. Run the fixture with ITEMNO, MFGPART, DESCRIPTION1, DESCRIPTION2, DEALER_PRICE and QTY.
  3. Inspect the unchanged header names and the independently preserved description values.
  4. Confirm any custom cost or stock column against the supplier's field documentation before renaming it to an accepted alias.

How to read the result

  • Header matching ignores letter case and non-alphanumeric punctuation: DEALER_PRICE matches dealerprice, and Item # matches item. When several aliases for one field are present, the configured alias priority determines the selected field; do not assume every price column is analyzed.
  • The neutral cleaner does not combine DESCRIPTION1 and DESCRIPTION2. MAP and MSRP may help identify a header row but are not used for price or compliance judgments in this tool.

Limits to keep in view

  • Duplicate column names must be renamed before checking.
  • At least one recognized UPC, MPN or SKU field is required.
  • A recognized header does not establish the meaning of each supplier's unit or currency.
Illustrative sample

Synthetic fixture: synthetic-header-aliases.csv

This small synthetic example makes the transformation and observation visible. It is an educational illustration, not a claim that a supplier file or external registry was verified.

Fixture ID
header-aliases
Published fixture reference
header-aliases
Filename
synthetic-header-aliases.csv
Encoding
UTF-8
Options
{"repairUpcs":true,"removeZeroStock":false,"removeZeroCost":false}

Input

ITEMNO,MFGPART,DESCRIPTION1,DESCRIPTION2,DEALER_PRICE,QTY
GEN-101,TRAY-A,Storage tray,Small,12.50,7

Output

{
  "checks": {
    "invalidCosts": 0,
    "invalidQuantities": 0,
    "missingIdentifiers": 0
  },
  "cleanedRows": [
    {
      "ITEMNO": "GEN-101",
      "MFGPART": "TRAY-A",
      "DESCRIPTION1": "Storage tray",
      "DESCRIPTION2": "Small",
      "DEALER_PRICE": "12.50",
      "QTY": "7"
    }
  ]
}

Observation: Aliases identify SKU, MPN, title, cost and quantity for checking. Original header names and the two description fields remain separate.

Download synthetic fixture

Sources