louispaulb
|
22377bb381
|
feat: fix all data relationships + PPA reference numbers
- fix_issue_owners.py: 53K Issues linked to creator (owner) + 55K to assignee (_assign)
- fix_issue_cust2.py: 47K Issues linked to Customer via legacy_account_id
- fix_sub_address.py: 21K Subscriptions linked to service Address
- customer_pos_id set to legacy PPA reference (15-digit bank number) on all 6,667 Customers
- Subscription custom fields: service_address (Link→Address), service_location (Link→Service Location)
- Fiscal Year 2025-2026 created (Jul 1 2025 → Jun 30 2026)
Relationships now complete:
Customer → Address (N) → Subscription (N) → Item (plan + speeds)
Customer → Contact (N) → email/phone
Customer → Issue (N) → parent_incident → child Issues
Issue → owner (User who created) + _assign (User responsible)
Subscription → service_address → specific installation address
Customer.customer_pos_id = PPA bank reference number
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-03-28 15:45:51 -04:00 |
|