insonl
← journal

Resolve Supplier Item Names to ERP SKUs

date
26 November 2026
by
Insonl
read
7 min read

A supplier sends a line marked “fine mesh filter, case.” The item master has two records for the same filter, sold in cases with different counts. Both descriptions are good text matches. Selecting the wrong case can change how much stock the ERP expects to receive and how it interprets the price per case.

Use an approved alias table for exact supplier matches. Where no approved alias exists, retrieve a short list of similar descriptions and suggest only candidates whose purchase unit and pack size agree with the supplier evidence. A reviewer can resolve the current line and, with the right evidence and permissions, approve an alias for future lines from that supplier. The same controls apply whether the line came from a partner feed or an emailed PDF; see EDI or Emailed PDFs for Supplier Order Integration for the two intake paths.

Resolve the supplier and preserve the original line

Identify the supplier from a trusted account record before searching the catalog. In an ERP system shared by several purchasing entities, include the entity in the lookup when it changes the supplier catalog or the SKUs the buyer can order. Send an unresolved account to review before attempting an item match.

Capture the supplier item code, description, ordered quantity, purchase unit of measure (UoM) and pack details as distinct fields. Keep the original values and their source locations beside the normalized fields. A quantity in the order column and the count inside each ordered pack serve different purposes. A reviewer needs to see which one the system read.

Normalize description keys conservatively. Trim and collapse whitespace and use a consistent case policy where the supplier’s descriptions allow it. Preserve digits, punctuation and leading zeros in identifiers. Keep supplier item codes and description aliases in separate key types so a code cannot collide with the same string used as a description. A change to the normalization rules can merge previously distinct keys. Check for those collisions before deploying it.

Start with an exact approved alias

Key the alias by supplier account, purchasing entity where applicable, key type, normalized value, purchase UoM and pack configuration. Use that key to find a single effective mapping to an ERP SKU and its purchase configuration. If the supplier code and description yield conflicting approved mappings, hold the line for review.

An exact lookup can resolve the SKU when the mapping is active, the item is purchasable for that supplier and entity, and current evidence supports the recorded purchase configuration. Recheck those facts on each line. A supplier can reuse a label after changing its packaging, and an approved target SKU can be retired. Treat a stale or conflicting alias as an exception and show the existing mapping to the reviewer. Keep SKU resolution upstream of purchase order, receipt and invoice reconciliation. Three-Way Invoice Matching Exceptions

Require the purchase unit and pack size to agree

Compare the purchase UoM and the pack configuration against the ERP purchase record before showing a SKU suggestion. Normalize unit labels through a maintained dictionary, then compare the measured contents or the count per purchase unit. Use the ERP’s item-specific conversion where the purchase unit and inventory unit differ. If a case contains inner boxes and the distinction affects receiving, represent the configuration explicitly. Equal total piece counts can still describe different packs.

A label of “case” establishes the purchase unit when the supplier uses it unambiguously. The pack count still needs evidence from the line, a linked purchase order or a current supplier catalog record identified independently of the proposed SKU. If those sources disagree, show the discrepancy. If they leave a required field blank, ask the buyer to confirm it. Filling the gap from the candidate itself makes the check circular.

When the number of trade items in a case changes, section 2.8 of GS1’s GTIN Management Standard requires a new Global Trade Item Number (GTIN) for the case and distinct GTINs for existing higher packaging levels. The base-unit GTIN can stay the same under this rule. Your ERP can represent purchase packs through separate SKUs or item-specific configurations. Compare the packaging level the supplier is selling. GS1 GTIN Management Standard, section 2.8

Supplier evidence ERP purchase record Result
Unit is each and the line identifies a single unpacked item SKU is purchasable by the each at the same base-item level Eligible for ranking if the other required checks pass
Unit is case and a verified pack count is present Same filter, also sold by the case, with a different count Exclude from suggestions
Unit is case and pack count is missing A single case SKU appears in the supplier catalog Hold for pack evidence
Unit and pack configuration both agree Two active filters differ by grade Use a verified grade or ask the buyer to resolve the ambiguity

Retrieve similar descriptions when the alias lookup misses

PostgreSQL’s pg_trgm extension compares text using shared groups of three characters. Use % to find names above the configured similarity threshold and similarity() to rank the results. PostgreSQL supports GiST and GIN trigram indexes for similarity filtering. For a query ordered by trigram distance with a limit, the documentation describes an efficient GiST index implementation. Keep a regular B-tree index on the exact alias key. PostgreSQL documentation for pg_trgm

Search active items that the supplier and entity can purchase. Apply the UoM and pack filters before selecting the top results so incompatible items cannot consume the shortlist. Exact part numbers, grades or dimensions can narrow the set further when you can verify them. Trigram scores reflect shared text. Similar names for different filter grades can rank close together, while a supplier abbreviation can hide the right item. When the remaining evidence cannot distinguish the candidates, give the reviewer the unresolved line and its reason.

This is where AI can help. An extraction model can propose structured fields from an irregular document and point to the source text. A ranker can reorder eligible candidates when abbreviations or alternate wording defeat literal comparison. Keep the candidate IDs in the application’s control. Validate any returned IDs against the eligible list. An inferred pack count stays unverified until the source or the reviewer confirms it, and model output carries no authority to create an alias.

Approve the line and make the alias reusable

Give the reviewer the source row, the normalized fields, the eligible ERP items and the evidence behind each check. Include a path to leave the line unresolved or request updated catalog data. A product substitution can require a separate purchasing decision. Recording the substitute as a synonym would repeat that decision on later orders.

  1. Confirm the current line. The buyer checks the supplier reference, product identity, UoM and pack configuration. Record the SKU and purchase configuration selected, who approved them, and the source evidence.
  2. Approve reuse. An authorized reviewer checks that the supplier uses that code or description consistently for this configuration. A one-off correction can end at the line. For a reusable match, save the supplier-scoped key, target, evidence, approver and effective dates.
  3. Enforce one effective mapping per key. Reject overlapping active mappings for the same supplier, key and purchase configuration. Apply the conflict check when saving the approval so concurrent reviews cannot replace each other’s choices. Retire superseded mappings with their history and keep the alias version used on each resolved line.

On a later document, run the exact lookup again with that line’s evidence. An unrecognized pack count or conflicting supplier reference sends the line back to review. The master-data team can change the alias once it has verified what changed and when.

Measure alias coverage and candidate quality separately

Replay historical lines in document order using only the aliases and catalog records available at each point. A mapping created after a reviewer saw the right answer would otherwise inflate the measured coverage. Include recent catalog changes, repeated descriptions across suppliers, near-identical items with different grades and missing pack fields.

Track the share of lines resolved by exact aliases and sample those decisions for wrong SKU or pack matches. On unresolved lines with verified pack evidence, measure how often the correct, eligible item appears in the shortlist. Compare trigram ranking and any AI ranker on the same held-out lines. Record why a reviewer had to intervene. If most holds come from missing pack counts, capture that information earlier in the supplier workflow before tuning the ranker.

Audit the supplier item matching workflow

If your buyers repeatedly translate supplier descriptions into ERP items, request a free audit of that workflow. Insonl charges for work after the audit. Request a free AI workflow audit

Sources