ERPTEAM,
A) Just a little confused by your ... '3 Primary keys' terms, allow me to cite some of JDE's Help Online:
"A table can have multiple indices; however, every table must have only one primary, unique index. The primary, unique index is the one unique identifier for each record in the table."
This being expressed, I'll be assuming you added a new index to your table(s). You don't need to generate the tables for that; index generation would have been sufficient
B) Now, I know it's discouraging, but do:
1. Replace old Form Interconnect with a brand new one; unfortunately, it is only its wizard that will allow you to select the (new) index.
That worked fine for my B7321 (and I'll make the dangerous assumption you are riding B7321, too; BTW, where is your system configuration? Please show it ASAP!).
If it doesn't, for you, a more drastic measure is to be taken:
2. Re-assign the Business Views to your forms and apply hint #1.
Evidently, you'll have to validate your APPL. DataStructure errors are very good indicators for the code to be 'refreshed', OR, UBE/Form Interconnect being the case, to be replaced.
Glossary: 'Refreshed code' means the Expression Manager (statement), or the System/Business Function call, or the If/While statement ... was open (dbl-clicked) & OK-ed.
Good luck and keep us informed about your success/or not
LIVE: B732.1 SP12.2, Oracle 806
SANDBOX: Xe SP15 & Update1, Oracle 8i
RS/6000, Citrix