gigafibre-fsm/scripts/migration
louispaulb c6b5aa8f61 feat: 99K payments imported with invoice references
- 99,839 Payment Entries (24 months, excl credits)
- 120,130 Payment-Invoice references (payment_item → Sales Invoice)
- Modes: Bank Draft (PPA/direct), Credit Card, Cheque, Cash
- legacy_payment_id custom field for traceability
- Creation dates set from legacy timestamps
- 0 errors

Full financial chain: Customer → Subscription → Invoice → Payment → Bank ref (PPA)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 16:33:35 -04:00
..
fix_and_invoices.py feat: complete data mirror — all customers + 115K invoices 2026-03-28 16:09:16 -04:00
fix_dates.py fix: correct creation/modified dates from unix timestamps 2026-03-28 16:20:47 -04:00
fix_issue_cust2.py feat: fix all data relationships + PPA reference numbers 2026-03-28 15:45:51 -04:00
fix_issue_owners.py feat: fix all data relationships + PPA reference numbers 2026-03-28 15:45:51 -04:00
fix_sub_address.py feat: fix all data relationships + PPA reference numbers 2026-03-28 15:45:51 -04:00
import_invoices.py feat: complete data mirror — all customers + 115K invoices 2026-03-28 16:09:16 -04:00
import_items.py feat: migration legacy → ERPNext phases 1-4 complete 2026-03-28 14:35:02 -04:00
import_payments.py feat: 99K payments imported with invoice references 2026-03-28 16:33:35 -04:00
import_terminated.py feat: complete data mirror — all customers + 115K invoices 2026-03-28 16:09:16 -04:00
migrate_direct.py feat: migration legacy → ERPNext phases 1-4 complete 2026-03-28 14:35:02 -04:00
migrate_phase3.py feat: migration legacy → ERPNext phases 1-4 complete 2026-03-28 14:35:02 -04:00
migrate_phase5.py feat: Phase 5 opening balance + AR analysis 2026-03-28 14:47:18 -04:00
migrate_tickets.py feat: Phase 6 — 242K tickets migrated as Issues with parent/child 2026-03-28 15:06:58 -04:00
migrate_users.py feat: Phase 7 — 45 ERPNext Users from legacy staff 2026-03-28 15:13:31 -04:00