Database Schema Fix: - Fixed unique constraint to allow multiple accounts per CA-3 line - Changed from (entity, ca3_line) to (entity, ca3_line, account_code) - Added migration script to update existing tables - Updated table comments to reflect new CA-3 line structure Debug Features Added: - Database operation logging in updateAccountMapping method - Table existence and structure checking in setup page - Detailed error logging for SQL operations - Form data processing visibility The issue was likely the unique constraint preventing multiple accounts per line! |
||
|---|---|---|
| .. | ||
| class | ||
| modules | ||