Error: "Primary key column was not found in the excel sheet" when trying to re-import items from Excel

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
  1. SIMS
SOLUTION
Follow the procedure below:
  1. Re-export the needed data (example will be showing Stock Items):






  1. 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.
  2. 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
  3. Below is an example of an excel without indexes



  1. And here is an example with indexes. The below is the correct export.



  1. When you have amended your work you can re-import excel from

    • Recent Articles

    • Attaching Images to Stock Cards in SIMS

      SIMS (Shireburn Inventory Management System) allows you to attach images and other documents directly to a stock card. This feature provides a convenient way to view item-related files, such as product images, specifications, manuals, or ...
    • SFM: How to Issue a Credit Note

      A Credit Note can be used to reverse an invoice that has been posted incorrectly in SFM. This allows you to adjust or cancel the original transaction while maintaining a complete audit trail. Creating a Credit Note To create a Credit Note, navigate ...
    • How to generate a Report by Transaction Type and Analysis Code

      Generating a Report by Transaction Type in SIMS Navigate to SIMS > Reports > Miscellaneous > Analysis Code. From this screen, select the desired Transaction Type to apply as a filter. If a summarized version of the report is required, tick the ...
    • How to Set Off a Client / Supplier

      The Set Off functionality in SFM allows you to offset outstanding balances between a client and a supplier when the same entity exists in both roles. This feature is particularly useful when a company has pending sales invoices due from a client, ...
    • Exporting or Importing Documents in Windows App

      Using the Correct Redirected Path When connected through the AVD Windows app, you must export or import files using the redirected drives. Internal AVD paths (such as C:\Users or Desktop inside the session) do not allow saving and will cause ...
    • Popular Articles

    • How do I process an End Of Year in SFM?

      Overview SFM allows posting into two financial years simultaneously. This means that users do not need to finalise 2025 before starting to post entries into 2026. The end of year procedure will move the “Current Year” data into the "Previous Year". ...
    • Do I need to Process an End-of-Year in SIMS?

      SIMS does not require an end of year procedures to be run. However, SIMS controls users to only allow posting of transactions, such as sales invoices, cash sales, adjustments and purchases, within a range of dates referred to as the Posting Period. ...
    • How to reset your Shireburn remote desktop service (RDS) account password

      The password for the Shireburn RDS Account used to connect to RDS server is set to expire after 90 days. A notification is provided to the user daily starting 5 days prior to the expiry date. In order to change password, the following steps need to ...
    • How to setup a System Control Account in SFM? (Bank Account, Cash Account, Stock Control, etc...)

      Create the Account in your Chart of Accounts as seen below. Please make sure you use the code depending on your Heading and Sub-Heading digits. After creating the account, you need to specify the account as a System Control Account. Go to Support > ...
    • SIMS - User Manual

      The attached PDF includes the necessary functions and features of SIMS to get you started. SIMS User Manual.pdf