Delete invoice SALE-MECCA01-202608-0002 (id 2)
Store 1 · 2026-08-28 11:04:10 · status refunded · total 47.1000 JOD · returns linked: 1
Rows that will be deleted
| Table | Rows |
|---|---|
| sale_return_items | 1 |
| sale_payment_method_changes | 0 |
| sale_payments | 1 |
| sale_discounts | 0 |
| sale_claim_links | 0 |
| loyalty_reward_redemptions | 0 |
| loyalty_gifts (issued by this sale) | 0 |
| loyalty_point_lots | 0 |
| customer_credit_transactions | 0 |
| journal_lines | 8 |
| journal_entries | 2 |
| stock_movements | 2 |
| cashier_activity_logs | 0 |
| print_logs | 2 |
| receipt_public_links | 1 |
| whatsapp_logs | 0 |
| audit_logs | 0 |
| admin_audit_logs | 0 |
| attachments | 0 |
| camera_clip_requests | 0 |
| sync_logs | 1 |
| pos_payment_sessions | 0 |
| notifications | 5 |
| sale_returns | 1 |
| sale_items | 1 |
| sales | 1 |
| Total | 26 |
Also: stock quantities restored, customer loyalty points reversed, shift sales/refund totals adjusted, references from other rows (gifts used, exchange links, journal reversals) cleared.
Renumbering (797 invoice(s) shift down)
| id | Old number | New number |
|---|---|---|
| 3 | SALE-MECCA01-202608-0003 | SALE-MECCA01-202608-0002 |
| 4 | SALE-MECCA01-202608-0004 | SALE-MECCA01-202608-0003 |
| 5 | SALE-MECCA01-202608-0005 | SALE-MECCA01-202608-0004 |
| 6 | SALE-MECCA01-202608-0006 | SALE-MECCA01-202608-0005 |
| 7 | SALE-MECCA01-202608-0007 | SALE-MECCA01-202608-0006 |
| 8 | SALE-MECCA01-202608-0008 | SALE-MECCA01-202608-0007 |
| 9 | SALE-MECCA01-202608-0009 | SALE-MECCA01-202608-0008 |
| 10 | SALE-MECCA01-202608-0010 | SALE-MECCA01-202608-0009 |
| 11 | SALE-MECCA01-202608-0011 | SALE-MECCA01-202608-0010 |
| 12 | SALE-MECCA01-202608-0012 | SALE-MECCA01-202608-0011 |
| 13 | SALE-MECCA01-202608-0013 | SALE-MECCA01-202608-0012 |
| 14 | SALE-MECCA01-202608-0014 | SALE-MECCA01-202608-0013 |
| 15 | SALE-MECCA01-202608-0015 | SALE-MECCA01-202608-0014 |
| 16 | SALE-MECCA01-202608-0016 | SALE-MECCA01-202608-0015 |
| 17 | SALE-MECCA01-202608-0017 | SALE-MECCA01-202608-0016 |
| … 781 more … | ||
| 805 | SALE-MECCA01-202608-0799 | SALE-MECCA01-202608-0798 |