Skip to content

Check whether a CSV changed any inventory item codes

Read the SKU column as text on both sides and compare it with the item master. Do not add zeros based on guessing the usual length. Hold cases where two approved items would become one value after conversion.

What you need

For a stock controller whose new export or spreadsheet drops the leading zeros on some item codes.

  • Both unedited CSV exports and an approved item master.
  • Location and quantity fields plus known aliases.
  • A file owner who can correct the export and an inventory lead to approve any crosswalk.

Compare exact item IDs before matching quantities

  1. Inspect the raw values in the source CSVs before opening in a spreadsheet.
  2. Join identifiers as exact text within the same location. Use accepted aliases only when documented.
  3. If shortening a value creates multiple valid matches, keep the row unresolved.
  4. Rerun the stock comparison after the export owner preserves the values or issues an approved mapping.

Two real codes would collide after conversion

Synthetic data. The approved item master contains 00072 and 72 as separate items.

Scroll the table to see all columns.

Two real codes would collide after conversion
Source codeDestination stringEvidenceDecision
0007272Both codes existHold ambiguous match
7272Confirmed scanner crosswalkMatch exact
A014A014Exact codeMatch exact

The source 00072 cannot be matched to 72 based on digits alone. Matching the other two rows does not resolve it.

What to hand over

Give the stock controller the ambiguous code list and the exact export or crosswalk correction each needs.

Limitation. An exact code check cannot fix incorrect upstream item masters. Review contradictory mappings before touching stock quantities.

Next step

Bring the raw exported strings for a few affected item codes and the approved master record.

Discuss this workflow with Shadyy

Sources