Hello,
The issue you're experiencing is likely due to differences between the expected table structure by Visual PlanIt components and the manually created tables. When you create tables manually, it's crucial to ensure that all fields, constraints, indexes, and triggers match exactly what the components expect.
Here are some steps to troubleshoot:
1. **Compare Table Structure**: Check if the table structure (field names, types, sizes, constraints) matches what Visual PlanIt expects. Often, components have specific requirements for field names and types.
2. **Check Primary Keys and Indexes**: Ensure all required primary keys and indexes are properly defined. Missing indexes can cause insertion problems.
3. **Auto-Increment Fields**: If there are ID fields that should auto-increment, make sure the sequence or auto-increment property is correctly set up in PostgreSQL.
4. **Triggers and Constraints**: Some components rely on database triggers or specific constraints to work properly. Check if these were created.
5. **ZEOS Component Configuration**: Verify that your ZConnection and VPZEOSDataStore components are properly configured with correct connection parameters and that they're compatible with PostgreSQL version you're using.
6. **Debug the SQL Error**: Enable detailed logging in your application to see the exact SQL statement that's causing the error. This will give you a precise idea of what's going wrong.
Could you share the SQL error message you're getting? That would help pinpoint the exact issue.
Also, the SQL script you used to create the tables would be helpful to compare against the expected structure.
Att.