AM.
Back to Overview

A Missing ERP Record Is Not Always a Deletion

Mandate & Focus

Published November 27, 2026 · 6 Min Read · Enterprise Architecture

By Essay

Fictional invoice population and five authored test scenarios. Worksheet execution fields remain empty. No ERP, database, connector, recovery test or financial outcome was evaluated.

Executive Summary

Distinguish snapshot absence, incremental changes and broken continuity before removing records from a group reporting projection.

Article Details
November 27, 2026
6 Min Read
Enterprise Architecture

About the Author

AM

Anant Mishra

Global Head - Technology, AI & ICT | Technology & AI Transformation Executive

An invoice disappears from an ERP export. Should the group reporting layer remove it? The safe answer depends on what the export promises. It might be a complete snapshot of the agreed population, a filtered page, a list of changes, or an interrupted extraction. The same missing row can mean very different things in each case.

For finance teams working across ERPs, deletion semantics belong in the integration contract. Define what counts as evidence that a source record was removed, how that evidence reaches the reporting layer, and what happens when the change history is no longer usable. This essay proposes that review structure; it reports no client implementation, successful replication or measured close improvement.

Absence needs a population boundary

A complete snapshot can support a comparison with a previous population only when its scope and completeness are established. Record the source, entity, extraction boundary, filter definition and completion evidence. If a record disappears because the extraction excludes closed invoices, its absence does not by itself prove deletion from the ERP. If the final page never arrived, comparing the partial output to yesterday’s complete set can manufacture removals.

An incremental feed has another meaning. Rows absent from an incremental response may simply have no reported change. A design that replaces the target population with every delta response can therefore erase records that the source never deleted. Label the extract mode explicitly rather than leaving the consumer to guess from file size or a familiar filename.

Read the source mechanism before normalising it

Microsoft’s CHANGETABLE reference documents change-operation metadata, including D for deletion. The accompanying change-tracking guide explains synchronization versions and the need to reinitialize when a saved version is older than the minimum valid version. These are concrete database semantics, not guarantees about every ERP connector or export.

The PostgreSQL 18 publication documentation describes configurable operation types and replica identity for identifying rows affected by updates and deletes. That is a different source contract. Do not translate a SQL Server synchronization version into a PostgreSQL position or assume identical replay and retention behavior. The sources were checked on 27 November 2026; implementation decisions need the actual database and connector configuration.

Give removal evidence its own record

A proposed reporting adapter can preserve an explicit removal marker alongside the source key, source boundary and receipt identity. Often called a tombstone, this record states that the adapter observed a supported removal signal. Retain its provenance and applicable population rather than emitting only an empty payload that downstream systems cannot interpret.

A tombstone is not automatically authority to destroy historical evidence. The current reporting projection might mark a record inactive while an access-controlled audit store retains the prior representation and removal receipt under the organisation’s actual retention rules. Financial reversals, cancellation flags and physical row deletion are separate source concepts. A connector must map them deliberately; a deleted source row does not itself create an accounting reversal.

Keep continuity failures visible

Suppose a consumer last accepted a fictional source position 40, but the source now says that position is outside its supported history. An empty change response cannot prove that nothing changed during the gap. Under the proposed local policy, the consumer holds its published projection, records the gap and starts an approved reinitialization process. Those invented numbers illustrate the decision; they are not database log identifiers or a universal position format.

Reinitialization also needs a controlled boundary. Establish the replacement population and its associated continuation point using the source’s documented consistency method. Microsoft’s guide discusses snapshot isolation when obtaining a consistent change-tracking result. A generic instruction to “read everything and then save the latest version” is insufficient without that transaction context. Otherwise the new snapshot and the next incremental request can disagree about which changes are included.

Commit the projection and checkpoint together

After a valid change set is interpreted, the target changes and the checkpoint must agree. Saving the checkpoint before applying the removal can skip it after a crash. Applying the removal without a recoverable checkpoint can cause replay. The design needs a tested persistence and recovery contract, including how an identical repeated removal is recognised and how conflicting receipts are investigated.

This is not a promise of exactly-once processing. A target that makes repeated removals harmless still needs to preserve the observed receipts and handle any dependent projections. A search index, cached balance view and exported spreadsheet may not change at the same moment. Publish the boundary each output has actually reached; do not infer synchronization across all consumers from one adapter’s checkpoint.

Make finance review part of the experiment

The companion Design study provides five authored scenarios and a downloadable test-plan worksheet. They distinguish an unchanged record absent from a delta, a complete-snapshot absence, an incomplete extract, an explicit deletion and an expired continuation boundary. The worksheet is preparation material, not executed connector evidence.

Before a pilot, obtain authorized source records, a documented connector contract and accountable finance review of the desired reporting treatment. Retain configuration, extracts, receipts, checkpoints and actual target observations. Interrupt processing around the persistence boundary and replay the same changes. Evaluate whether the resulting projection matches the approved interpretation, without claiming that a successful software replay proves financial correctness.

The enterprise ERP architecture pillar provides broader integration context. The intercompany close evidence essay explains why missing source coverage needs a different investigation from an accounting exception. A deletion contract adds another precise question to that review: what evidence allowed the reporting layer to remove or deactivate this record?

Sources

  1. CHANGETABLE — change operations — Microsoft SQL Server documentation; checked 27 November 2026
  2. Work with change tracking — continuity and consistency — Microsoft SQL Server documentation; checked 27 November 2026
  3. Publication and replica identity — PostgreSQL18 documentation; checked 27 November 2026

Related reading

Read the publishing standards or suggest a correction.

Continue the conversation

Putting a design decision into practice?

If this essay raises a question for your organisation, discuss the constraints, evidence and implementation choices with Anant Mishra. This is an invitation to talk, not a claim that the examples represent delivered client work.

Article Discussion & FAQs

Does absence from an incremental feed prove deletion?
No. The row may simply have no reported change. Interpret the source and connector contract, continuity and extract mode before changing the target population.
What happens when a continuation version is too old?
Follow the source mechanism’s documented recovery contract. Microsoft change tracking requires reinitialization when the saved synchronization version is below the minimum valid version; the proposed local policy holds publication during that review.
Should a deletion marker erase historical financial evidence?
The proposed reporting contract separates deactivation from evidence retention and accounting treatment. Actual retention authority and financial reversals require approved policies; source deletion alone supplies neither.

Ready to architect operational leverage?

Available for fractional executive leadership, enterprise architecture consulting, and board-level technical advisory.

Initiate Dialogue ↗