PIMvendors

Knowledge Base · Core ·

Core · Guide

Reconciling ERP and PIM Data: How to Detect and Fix Drift

Why ERP and PIM drift apart

An integration that runs on events and batch deltas only knows about the changes it was told about. Anything that bypasses or breaks that flow leaves the two systems out of step. A webhook subscription expires over a weekend. A dead-lettered message waits a month for replay. A data migration in the ERP updates thousands of items in a way that does not raise the usual events. A steward corrects a weight in the PIM to unblock a listing. None of these produce an error in the integration, so the drift stays invisible until a channel rejects a product or an invoice disagrees with a listing.

Reconciliation is the control that finds this drift. This article explains how to compare ERP and PIM at three levels, how to normalize and hash data so the comparison is reliable, how to extract snapshots without overloading the ERP, and how to route each type of difference to the right fix. The ERP-PIM integration architecture article shows where this sits in the full pipeline.

Where drift comes from

Knowing the sources of drift helps you decide what to compare and how often. Each source leaves a recognizable pattern in the reconciliation report.

SourceWhat happensTypical pattern in the report
Lost or expired eventsA change in the ERP never reaches the integrationSingle ERP-owned fields differ on scattered SKUs
Unreplayed dead-letter messagesThe change reached the integration but failed and was never fixedSame as above, often clustered by date or error type
Bulk changes in the ERPMass updates or migrations that do not raise the usual eventsMany SKUs differ on the same field group
Manual edits in the PIMA user changes a field the ERP ownsERP-owned field differs, PIM value is newer
Mapping changesA new mapping version converts values differentlySystematic differences across a family or scope
Deleted or blocked recordsA record is removed or blocked in one system onlyCount mismatch, orphaned records

The last two rows deserve attention. Mapping changes touch many records at once, and they have one cause and one fix. Count mismatches point to gaps in create or delete handling, which events often cover poorly.

Three levels of comparison

Reconciliation works best in three levels, from coarse to detailed. Each level narrows the search for the next one and keeps the comparison fast.

LevelWhat you compareWhat it findsCost
1. Record counts per scopeNumber of active items per legal entity, item type or familyMissing records, orphans, scope errorsVery low
2. Record hashOne hash over all ERP-owned fields of each recordWhich records differLow
3. Field-group hashOne hash per group of fields, such as identity, units, logistics, tax, lifecycleWhich data differs within a recordModerate

Level 1: counts

Start with counts per scope. For example, say the ERP holds 48,210 active items in one legal entity and the PIM holds 48,190 for the same scope. At least twenty records are missing from the PIM, more if the PIM also holds orphans, and a key-level comparison finds them. Counts also reveal scope errors, such as items released to a new sales organization that never got a PIM channel mapping.

Level 2: record hashes

For every record present on both sides, compute a single hash over the ERP-owned fields. Matching hashes mean the record agrees and needs no further work. In a healthy integration, most records match, so this level removes the bulk of the work.

Level 3: field-group hashes

For records with differing hashes, compare hashes per field group. A group might be identity (SKU, GTIN, item type), units (base unit, conversion ratios), logistics (weights, dimensions, volume), trade (tariff code, country of origin) or lifecycle (status and effective date). Field-group hashes tell the steward which part of the record drifted, and they let you route the task to the right owner.

How to hash reliably

Hashing turns a set of field values into a short fingerprint. If two fingerprints match, the values match for all practical purposes. SHA-256, specified in the NIST Secure Hash Standard (FIPS 180-4), is a common choice. The algorithm is the easy part. Making both sides produce the same input is where reconciliation succeeds or fails.

Normalize before you hash

Build a canonical representation of each field group on both sides, using identical rules. Without normalization, formatting differences make every record look changed.

  • Units of measure. Convert to one code list, such as UN/ECE Recommendation 20, and to the same base unit for each measurement.
  • Decimals. Round to a fixed number of decimal places per field and use a consistent decimal separator.
  • Text. Trim whitespace, normalize line breaks and use one character encoding.
  • Empty values. Treat null, empty string and missing field as one state, or define clearly which one each system uses.
  • Lists. Sort multi-value fields, such as packaging levels or scopes, before hashing.
  • Dates and times. Convert to UTC and a single format.
  • Field order. Serialize fields in a fixed order with fixed names.

Hash only ERP-owned fields

Include only the fields the ERP owns in the hash. PIM-owned content, such as titles and descriptions, does not exist in the ERP and would make every record differ. The field ownership matrix tells you which fields belong in each group. The sibling article on field ownership between ERP and PIM explains how to build it.

Extracting snapshots without overloading the ERP

Reconciliation needs a full read of the relevant ERP data, which competes with transactional users and other integrations for API capacity. Plan the extraction as carefully as the comparison.

Use bulk and read-optimized paths

Every major ERP offers a way to read many records efficiently. SAP S/4HANA offers CDS views enabled for extraction through Operational Data Provisioning, alongside replication tooling. Business Central supports paged API reads, and Microsoft documents a Data-Access-Intent: ReadOnly header that can route GET requests to a read-only replica. Finance & Operations supports full exports of data entities through the data management framework. NetSuite supports paged SuiteQL queries through REST, with a maximum of 100,000 results per query, so larger catalogs need partitioned queries or SuiteAnalytics Connect. Pick the path your ERP team already supports and confirm it with them.

Schedule and size the run

Run the extraction outside peak hours and spread it over time if the catalog is large. Size it against your ERP's published API limits, and leave headroom for event traffic and replays that continue during the run.

Take a consistent PIM snapshot

Read the PIM side at a known point in time and record that time. Changes that arrive during the run can show up as false drift. Re-check flagged records against the latest data before you create tasks, and suppress differences on records that changed after the snapshot started.

What to do with drift

Reconciliation reports each difference and routes it to a fix. The right action depends on which system owns the field and what caused the difference.

Drift typeLikely causeAction
ERP-owned field differs, ERP value is newerLost event or unreplayed failureRe-send the record through the normal integration pipeline
ERP-owned field differs, PIM value is newerManual edit in the PIMSteward task: revert in the PIM, or raise the correction in the ERP if the PIM value is right
Record exists in ERP onlyMissed create event or quarantined recordCheck quarantine, then replay the create
Record exists in PIM onlyDeleted or blocked in ERP, missed eventSteward task: confirm and set lifecycle status
Systematic difference across a familyMapping change or normalization errorFix the mapping or the normalization rule, then re-run
Write-back field differsERP rejected or changed an approved write-backSteward task with the ERP response attached

Re-sync through the pipeline

When the ERP is right, push the record through the same gates as live traffic: validation, attribute whitelist, idempotency and ordering. A reconciliation job that writes directly to the PIM bypasses the controls that protect enriched content. The gates are described in ERP-PIM integration architecture and reliable ERP to PIM integrations.

Never overwrite PIM-owned fields automatically

Reconciliation compares field hashes and raises steward tasks, and that is its defining rule: drift raises tasks. PIM-owned fields are out of scope for automatic correction, and ERP-owned fields are corrected through the pipeline. Anything that needs judgment goes to a data steward.

Cadence, scope and reporting

Match the cadence to the cost of drift. Fields that block channels or invoices deserve daily checks. Everything else can be weekly.

Choose a cadence per field group

Run identity, lifecycle and units daily, because errors there break listings, invoices and picking within one sync cycle. Run logistics, trade and low-volatility fields weekly, or daily if your catalog and API capacity allow. Run a full comparison of every ERP-owned field after any ERP upgrade, mapping release or data migration.

Report drift as a trend

A single drift report tells you what to fix today. A trend tells you whether the integration is healthy. Track the number of drifted records per field group and per cause over time. A sudden rise after a release points to the release. A slow, steady rise points to a gap in event coverage. Report the figures alongside the other product data quality and governance measures, so drift has the same visibility as completeness.

How to set up ERP-PIM reconciliation

Use this sequence to introduce reconciliation or to audit an existing setup.

  1. Define the scope. List the ERP-owned fields from the field ownership matrix and group them into field groups with a named owner each.
  2. Write the normalization rules. Document unit, decimal, text, empty-value, list and date rules per field, and implement them identically for both sides.
  3. Build the extraction. Choose the bulk read path for your ERP, schedule it outside peak hours and size it against the API limits.
  4. Compute counts, record hashes and field-group hashes. Store them with the snapshot time so you can compare runs.
  5. Classify differences. Apply the drift table above to decide between pipeline re-sync and steward task for each difference.
  6. Create tasks with context. Each steward task includes both values, the field group, the last change timestamps on both sides and the suspected cause.
  7. Run a baseline before go-live. Establish what agreement looks like before the integration carries live traffic, then compare every run against it.
  8. Review the trend weekly. Look at drift per field group and cause, and fix root causes in the integration.

Common mistakes

  • Comparing raw values. Without normalization, differences in decimals, whitespace or unit codes make most records look changed and bury the real drift. Normalize first.
  • Including PIM-owned fields in the hash. Titles and descriptions do not exist in the ERP, so every record differs. Hash only ERP-owned fields.
  • Letting reconciliation write directly to the PIM. A direct write bypasses the whitelist and the ordering check. Re-sync through the pipeline, and send everything else to a steward.
  • Running the extraction at peak hours. A full read can consume API capacity that live event traffic needs. Schedule it and size it against the ERP's limits.
  • Fixing records one by one. Repeated drift on the same field group has a root cause in the integration. Fix the cause, then re-run.

Sources

Where to go from here

Both tools are free and independent of any vendor.

Not sure you need a PIM yet?

A short check that shows whether a dedicated PIM helps your catalog, or whether spreadsheets and ERP still do the job.

Check if a PIM fits

Ready to compare vendors?

Answer questions about your scale, sector and must-haves and get a ranked shortlist.

Build my vendor shortlist

Frequently asked questions

How do I check if my ERP and PIM data are in sync?

Run a reconciliation that reads both systems directly. Compare record counts per scope, then a hash over the ERP-owned fields of each record, then hashes per field group for records that differ. The result is a list of records and field groups where the two systems disagree.

How often should ERP and PIM data be reconciled?

Daily for fields that block channels or invoices, such as identity, lifecycle status and units of measure. Weekly for logistics, trade and low-volatility fields. Run a full comparison after every ERP upgrade, mapping release or data migration.

Should reconciliation automatically fix differences?

Only by re-sending ERP-owned data through the normal integration pipeline, so the same validation and ownership checks apply. Reconciliation should never overwrite PIM-owned fields. Differences that need judgment, such as a manual edit in the PIM, go to a data steward as a task.

What causes data drift between ERP and PIM?

Common causes are lost or expired events, failed messages that were never replayed, bulk changes in the ERP that do not raise the usual events, manual edits in the PIM, and changes to integration mappings. Deletes and blocks that reach only one system also create orphaned records.

Why use hashes to compare ERP and PIM records?

A hash turns a set of field values into one short fingerprint, so comparing millions of values becomes comparing a few strings per record. Matching hashes mean matching data. Hashes per field group show which part of a record differs, as long as both sides normalize values identically before hashing.

Diagnostic

Do you actually need a PIM?

Run the complexity index before you budget software or hire an SI.

Start assessment

Budget

Model a first-pass TCO

Translate catalog shape into a three-year cost range in under ten minutes.

Open cost calculator