Hi,
I have a table with an auto-number column defined as an alternate key to guarantee uniqueness. So far so good...
The problem I am hitting is when trying to import data. The data I am importing from a CSV doesn't have a field representing the auto-number column. I wouldn't want this to every be included in an import as it needs to be generated by the system.
If I disable duplicate detection when an import runs then everything woks as expected, the records are imported and the auto-number field gets populated.
For a production system though we need to be trapping duplicates during the import so turning off duplicate detection isn't possible. When I turn it on though the imports fail, complaining about the auto-number not being unique...
A record that has the attribute values "<auto-number field name>" already exists. The entity key "<auto-number filed key>" requires that this set of attributes contains unique values. Select unique values and try again.
Is there a way around this issue?
Thanks
Alan