AM.
Back to Overview

Designing a Deletion Contract for a Multi-ERP Feed

Mandate & Focus

Design study · Fictional invoice feed · Independent Design study

By Design study

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

Design feature 01

5 planned scenarios

Design feature 02

0 connector runs

Design feature 03

Evidence fields empty

Executive Summary

Five authored scenarios specify review decisions for deltas, complete and partial snapshots, explicit removals and expired continuity.

Architectural Deep Dive

Design study — fictional scenarios, execution pending. A fictional group reporting layer receives invoice records from an ERP adapter. This study specifies how reviewers would decide whether a missing record supports a removal from the current projection. It is a preparation worksheet, not an implemented connector, database experiment or client close. The author is Anant Mishra.

The boundary being designed

The proposed consumer maintains a current reporting projection and a separate evidence history. Its local policy permits a supported removal signal to deactivate a record in the projection, while retaining the prior representation and receipt under applicable access and retention rules. It does not delete audit evidence or post a financial reversal. Actual accounting treatment and retention authority remain outside the fictional policy.

Source review checked Microsoft’s CHANGETABLE reference, its change-tracking workflow guide and the PostgreSQL 18 publication documentation on 27 November 2026. These establish that operation, continuity and row-identification behavior depend on the source mechanism. They do not establish that the fictional adapter correctly implements either database protocol.

Declare the population before comparing records

The worksheet uses a fictional invoice key DEMO-INV-A and an authored population named DEMO-ENTITY-OPEN-INVOICES. The name has no connection to a real business. A production manifest would need an approved source namespace, extraction filters, relevant entity scope, consistency boundary and actual completion evidence. A filename containing “full” would not satisfy that contract by itself.

Two input modes are declared: complete snapshot and incremental changes. Completion is a separate observation, not inferred from the mode label. A continuation marker is usable only when the source mechanism and connector establish that it remains valid. The worksheet’s example positions are abstract integers for discussing continuity, not values captured from a database.

Five authored scenarios

Scenario one supplies an incremental response with no change for DEMO-INV-A. The expected decision retains the current record. Its absence from that response does not imply absence from the declared source population. The evidence review should ask whether the connector actually promises all relevant changes and whether the continuation boundary is valid.

Scenario two supplies an explicitly complete snapshot of the same approved population, with DEMO-INV-A absent. The proposed decision is a removal candidate for review under the local policy. A reviewer must still establish identical population scope and approved downstream treatment. Snapshot absence alone does not prove a physical database delete, a contract cancellation or a valid accounting reversal.

Scenario three supplies a snapshot whose final page is missing. The expected decision is to hold population replacement and expose incomplete extraction. Existing records stay visible in the published projection under this proposal. The unfinished snapshot is preserved as evidence; its missing rows are not converted into a list of deletions.

Scenario four supplies an explicit removal event for DEMO-INV-A, within a valid supported change boundary. The proposed decision deactivates the current projection record and retains the event plus prior state. Its approval depends on verified source semantics and reporting policy. A second identical receipt should not become a second business adjustment, although receipt history remains relevant.

Scenario five declares that the consumer’s saved continuation marker is older than the source’s supported minimum. The expected decision is reinitialization required, with the published projection held under the stated policy. An empty returned set is not used to certify that no changes occurred during the gap. Reinitialization must establish a consistent replacement population and continuation boundary.

Downloadable preparation material

The five-scenario worksheet retains inputs, expected review decisions and deliberately empty execution-evidence fields. The source-review and experiment guide states the assumptions, source differences and evidence to capture. The JSON was checked for structure and five distinct scenario identifiers. That file check is not execution of the proposed acceptance decisions.

No actual review flags, database positions, raw extracts or target observations are supplied. Those fields remain null rather than being filled with plausible-looking receipts. This preserves the distinction between preparing an experiment and conducting one. The companion material can be used to agree a test before access to authorized source systems is available.

Persistence and failure preparation

A later implementation needs a durable relationship between target changes and its saved checkpoint. Planned interruption points include failure before target mutation, between mutation and checkpoint persistence, and after committing both but before acknowledging receipt. The test should inspect the actual stored state and replay outcome after each interruption. It should also test a conflicting receipt and a source recovery or reset under documented connector semantics.

Additional dependencies include permission to read source records, verified row identity, connector configuration, the snapshot-consistency method, an approved retention policy and finance-owned reporting interpretation. Neither source documentation nor a successful connector test can authorize destruction of historical evidence. No database, ERP, persistent adapter, concurrency test or recovery rehearsal ran here.

The companion essay explains the broader architecture decisions. The ERP architecture pillar connects this proposed contract to the wider platform. The useful deliverable is a reviewable test plan with missing evidence visible; no operational reliability, customer result, scholarly release or peer review is claimed.

Proposed approach

Scope
Removal evidence and continuity boundaries
Evidence
Authored worksheet and primary-source review; execution pending

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.

Technical FAQ

What actually ran?
Only a structural check of the JSON worksheet and its five distinct identifiers. The proposed decisions, connector behavior, persistence and recovery have not been executed.
Does complete-snapshot absence prove physical deletion?
No. It may support a removal candidate from the same approved reporting population under a local policy. It does not prove source-row deletion, cancellation or accounting reversal.
What evidence is still needed?
Authorized source records, connector and identity semantics, consistent extraction, actual receipts/checkpoints, approved retention and finance-owned reporting interpretation remain dependencies.

Ready to architect operational leverage?

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

Initiate Dialogue ↗