Duplicate Transaction Numbers After a Crash: Causes and Clean-Up
Two copies of one sale in the Transaction Register is a posting-integrity problem, not a numbering curiosity. The crash is the event staff remember, but timing is not a mechanism. One mechanism is documented in the LS Central hotfix record: a failed serial coupon synchronization to Head Office during POS posting. Start there. Prove which copy is the real sale. Settle that decision before any statement work uses either copy.
The decision: which copy of this sale is real?
Neither copy earns trust from its position. First in the register is not proof. Second is not proof either. Order is ordering, nothing more.
Keep both copies intact until the decision is recorded. A duplicate pair is evidence about a posting failure, and deleting evidence early turns a solvable question into an argument. Any change to posted data, removal, reversal, or correction of either copy, is a partner or support decision, not a local procedure. This guide covers identification and ordering. It does not give deletion steps, because the documented sources behind it describe causes and a preventive fix, not a clean-up procedure for posted duplicates.
Mechanism 1: serial coupon sync failure during posting
Hotfix 84633, in the LS Central 27.1 hotfix list, describes a deadlock on LSCSendSerialCoupon that could cause double transactions in the database. In that pattern, a serial coupon synchronization to Head Office failed during POS posting, and the same receipt was posted twice, creating duplicate transactions in the Transaction Register.
The documented fix changes the failure behaviour: posting now rolls back cleanly on a synchronization failure, so a retry no longer creates a duplicate.
That gives the first diagnostic question its shape. Did this sale carry serial coupons, and did its posting coincide with a synchronization failure to Head Office? A yes puts the pair inside a documented mechanism. A no does not clear the pair, it means the mechanism is still unproven, and the timeline work below matters more, not less.
Reconstruct the timeline before naming another mechanism
A crash, a suspend, and a posting retry can all sit in the same busy hour. Separate them. Answer three questions, in writing, before anyone proposes a clean-up:
- Was serial coupon synchronization involved? Establish whether the sale carried serial coupons and whether synchronization to Head Office failed during its posting. That is the documented duplication pattern above.
- Was the transaction suspended and resumed? Record whether the sale was suspended and picked up again, and whether a log-out and log-in happened in between. Record the answer either way. A suspended-and-resumed sale is a different timeline from a posting retry, and merging the two into one vague crash explanation destroys the evidence needed to tell them apart.
- Did the terminal actually crash? Separate a terminal that stopped and restarted from a posting that failed while the terminal kept running. The two events leave different timelines, and only one of them involves a restart at all.
Do not assign a numbering explanation to the crash itself. Timing shows sequence. It does not show cause. A pair that matches no documented pattern, on a timeline nobody can reconstruct, is an escalation case, preserved whole, with the unanswered questions attached.
Prove the real copy: a comparison procedure
Work the pair side by side. Change nothing during the comparison.
- Freeze the pair. Note the identifying details visible for both copies in the Transaction Register, plus the terminal, the time window, and the timeline answers from the previous section. Screenshot or export what is on screen before anyone touches either copy.
- Compare the entries. Put the two copies next to each other and compare entry by entry. Note every line that matches and every line that differs. Do not summarise from memory later.
- Compare the tender. Check how each copy records the payment. A tender record that appears in one copy and not the other, or that differs between copies, is evidence, record it exactly as shown.
- Compare the serial data. Serial coupon data sits at the centre of the documented duplication mechanism, so compare what each copy carries for it. Consistent serial data in one copy and missing or conflicting serial data in the other is a finding to escalate with, not a licence to delete the weaker copy.
- Record the decision and the reason. Write down which copy is treated as the real sale, and which compared details support that call. A decision without its reasons cannot be checked later.
What success looks like: one copy is identified as the real sale, with the comparison recorded in enough detail that another person could repeat it and reach the same answer. The other copy is clearly marked as the duplicate awaiting a clean-up decision. No statement step has used either copy yet.
Clean-up order: register first, statement second
The order is a decision rule, and it is strict. First, the pair is identified in the Transaction Register and the real copy is proven by the comparison above. Second, and only second, statement work proceeds, using the proven copy.
Running statement work first inverts the problem. The question stops being “which copy is real?” and becomes “which copy did the statement already use?”, a harder question, with the original one still unanswered underneath it.
The clean-up itself stays where it belongs. Changing posted data is a partner or support decision: hand over the frozen pair, the timeline answers, and the recorded comparison, and let that decision be made with the full evidence in front of it. Prevention is the other half of the same conversation: because the documented fix makes posting roll back cleanly on a synchronization failure, whether the affected system carries that fix is a question to settle with the partner as part of closing the case.
Decision table
| Evidence in front of you | Decision | Next step |
|---|---|---|
| Serial coupons on the sale, and a synchronization failure during posting | The documented duplication mechanism fits | Prove the real copy by comparison, then escalate the duplicate for a partner or support clean-up decision |
| No serial coupons, and no synchronization failure | Mechanism unproven | Preserve both copies, complete the timeline reconstruction, escalate with the unanswered questions attached |
| The copies differ in entries, tender, or serial data | The real copy is not yet proven | Do not clean up locally; record the differences exactly and escalate |
| The copies match on every compared detail | Identification by comparison is exhausted | The choice between the copies is a partner or support decision, made on the timeline evidence |
A duplicate case is closed when the real copy is proven, the duplicate is with the people authorised to change posted data, and the timeline answers are on record. Until all three hold, the pair stays frozen.
, Dex Carter, Tech Writer
IndexBack to all guides →