Look at the properties of the IMITMIDX_SQL table in SQL (EM or SMS). The indexes should be listed there.
For Macola ES the very first index is 'Iimitmidx_sql0' and it uses the item_no field only. It's clustered and it's unique. For you to have multiple records in the IMITMIDX_SQL table with the same item number, someone must have deleted or changed this index. There are additional indexes on things like upc code and the search description but those wont prevent duplicate item numbers.
No software will override the rules that are built into the SQL indexes i.e. if the index is marked as unique then values in that field, in that table have to be unique.
An easy way to see how the indexes for each table should be configured is to use ES's built-in ability to create a demo company. Create a new demo company (to rule out anyone messing with the indexes in an existing demo company) and then compare the indexes with those in your live company.
You should also realize that you wont be able to reinstate the missing 'Iimitmidx_sql0' index until you take care of the duplicates. If you try to manually recreate this index while the duplicates exist, it will fail. I'm suprised the duplicates aren't already giving you issues in other parts of Macola.
Once you do get the duplicates removed and the unique index recreated, don't be suprised if you get errors when trying to add new inventory items. For whatever reason, your Macola ES install is adding duplicates - when you reinstate the unique index, you'll interrupt the logic your application is trying to use.
Data integrity is everything and at this stage I'd be working with my reseller or Exact to understand this problem A.S.A.P.
Peter Shirley
Macola Consultant, PA and surrounding states.