I don't really know much about SQL Server as a back end, but here are
some general comments.
As defined in base JDE, IMITM is already the primary key for F4101. I
would expect it to show up as the primary key in the back end database.
(It does on DB2) I would be extremely wary of messing with a table's
primary key outside of the JDE tools.
In general, we try to handle all of the table definition within Table
Design Aid (TDA) in JDE. Primarily, if you generate the table from
within TDA or generate the table indexes within JDE, it can wipe out
indexes defined outside of JDE. Also, if an index is defined outside of
the JDE tool, you can't reference it directly within JDE.
I am only a developer. Hopefully you can get more technical detail from
a DBA lurking out there.
Ellen Deak
Senior Systems Developer
Cooper Standard Automotive
JDE EnterpriseOne (OneWorld XE Update 7 SP23_M1), AS400 DB2 V5R3M0,
Citrix Clients