Delete invoice SALE-MECCA01-202609-0398 (id 1222)
Store 1 · 2026-09-03 17:37:45 · status partially_refunded · total 77.1400 JOD · returns linked: 1
Rows that will be deleted
| Table | Rows |
|---|---|
| sale_return_items | 12 |
| 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 | 25 |
| cashier_activity_logs | 0 |
| print_logs | 3 |
| 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 | 6 |
| sale_returns | 1 |
| sale_items | 13 |
| sales | 1 |
| Total | 74 |
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 (3291 invoice(s) shift down)
| id | Old number | New number |
|---|---|---|
| 1223 | SALE-MECCA01-202609-0399 | SALE-MECCA01-202609-0398 |
| 1224 | SALE-MECCA01-202609-0400 | SALE-MECCA01-202609-0399 |
| 1225 | SALE-MECCA01-202609-0401 | SALE-MECCA01-202609-0400 |
| 1226 | SALE-MECCA01-202609-0402 | SALE-MECCA01-202609-0401 |
| 1227 | SALE-MECCA01-202609-0403 | SALE-MECCA01-202609-0402 |
| 1228 | SALE-MECCA01-202609-0404 | SALE-MECCA01-202609-0403 |
| 1229 | SALE-MECCA01-202609-0405 | SALE-MECCA01-202609-0404 |
| 1230 | SALE-MECCA01-202609-0406 | SALE-MECCA01-202609-0405 |
| 1231 | SALE-MECCA01-202609-0407 | SALE-MECCA01-202609-0406 |
| 1232 | SALE-MECCA01-202609-0408 | SALE-MECCA01-202609-0407 |
| 1233 | SALE-MECCA01-202609-0409 | SALE-MECCA01-202609-0408 |
| 1234 | SALE-MECCA01-202609-0410 | SALE-MECCA01-202609-0409 |
| 1235 | SALE-MECCA01-202609-0411 | SALE-MECCA01-202609-0410 |
| 1236 | SALE-MECCA01-202609-0412 | SALE-MECCA01-202609-0411 |
| 1237 | SALE-MECCA01-202609-0413 | SALE-MECCA01-202609-0412 |
| … 3275 more … | ||
| 5600 | SALE-MECCA01-202609-3689 | SALE-MECCA01-202609-3688 |