Error: "Primary key column was not found in the excel sheet" when trying to re-import items from Excel
ERROR
Error: "Primary key column was not found in the excel sheet" when trying to re-import items from Excel when you are trying to re-import items that you have amended from Excel.
ENVIRONMENT
- SIMS
SOLUTION
Follow the procedure below:
- Re-export the needed data (example will be showing Stock Items):
- It will open the Excel with the fields selected. If you close Excel as soon after the export has been done and you click on "Do Not Save" it will delete what we call the indexes. These are used by SIMS to determine where the amended fields need to be re-imported.
- Reopen the excel and click on the A1 in excel and do not see the index like STK_CODE or STK_DESC you need to regenerate the excel, do your work, and make sure to save before closing. This will keep the indexes
- Below is an example of an excel without indexes
- And here is an example with indexes. The below is the correct export.
- When you have amended your work you can re-import excel from