One of my table had a primary key of small int. scriptcase will not accept this as primary key.
I changed the table to a primary key of type int, updated the data dictionary, checked configuration within the application. The application has erverything properly set and scriptcase still reports: Application cannot be generated: Primary Key field undefined.
Configure the primary key in: Application->Form Settings->SQL Settings.
The conclusion: This can only be corrected by deleting and recreating the application. There are many processes in scriptcase that cannot be undone and produce unexpected und unexplicable behaviour. I have had to restart a complete software project with scriptcase because of this, loosing an enormous amount of time!
I am fully aware, that many complex software systems have this behaviour. Therefore my criticism points to the lack of information. Scriptcase would help the users enormously by publishing this effect. In the end they will have customer satifaction and increased sales!
I scriptcase reports illogical errors, just delete and start afresh!