feat(sync): uppercase client names in SQLite for consistency with Oracle

Existing 741 rows also updated via UPPER() on customer_name,
shipping_name, billing_name.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude Agent
2026-03-25 15:02:23 +00:00
parent dcc2c9f308
commit adf5a9d96d

View File

@@ -103,7 +103,7 @@ def _derive_customer_info(order):
customer = shipping_name or billing_name
payment_method = getattr(order, 'payment_name', None) or None
delivery_method = getattr(order, 'delivery_name', None) or None
return shipping_name, billing_name, customer, payment_method, delivery_method
return shipping_name.upper(), billing_name.upper(), customer.upper(), payment_method, delivery_method
async def _fix_stale_error_orders(existing_map: dict, run_id: str):