Import Stock

Back Top Previous Next

This is an example of the ready-made spreadsheet template that will help import stock data. Paste data into this table (matching the legacy database with the Jim2 stock fields).

 

warning1

Always test importing data in the Training database first!

 

Importstocktemplate

Not all fields are showing in this image

 

See Preparing Stock first.

 

warning1

All yellow highlighted fields must be populated.

 

Save the template as a spreadsheet file (XLSX) and close it.

 

It is best when doing the import (for speed and good database practice) to choose a reasonably quick machine/server and not have users actually logged on to the database. It is not necessary to log all users out, however.

 

importdata

 
On the ribbon, go to Tools > Import Data.

 

stockimp1

 

Select the following:

 

Import destination: Stock.

 

Import data from: the spreadsheet file saved earlier.

 

stockimp2

 

Source File Name: Where the saved spreadsheet stock template is.

 

Click Open Source File for Jim2 to test opening this file and count the number of records to import.

 

Select the correct sheet from the spreadsheet to use.

 

Click Next.

 

Info

If you receive a warning stating Too many columns, copy only populated cells into a new spreadsheet and try again.

 

stockimp3

 

If the template has been followed correctly, the fields should match already. The Map Fields function is very simple to use. The Source Field reads from the spreadsheet field headers, then loads a sample of data from the first record row.

 

If there is not a lot of data in the first record, use the arrows at the bottom of the screen to get Jim2 to read from any subsequent record to see a sampling of the data, and be sure the fields are matching up correctly.

 

blackarrowhighlighted

 

From the drop down list in the Destination Field Name column, select the corresponding field in Jim2:

 

stockimp3a

 

Previous mapping can be loaded up (think of them as pointer files for Jim2), or the mapping file can be saved for future import. This is useful if an earlier import attempt of this file failed, and changes were made to Jim2 setups (not stock data). Use existing data for subsequent import attempts can then be utilised.

 

useexistingdata

 

Info

The mapping file only saves the mapping from one field to another – not the actual data being mapped itself. The mapping file saves having to choose from all the drop down lists again, however spreadsheet data files will still be needed for import.

 

After the fields have been mapped, click Next.

 

Click Load data from file for Jim2 to load the data from the spreadsheet and test it.

 

loadgridstock

 

Jim2 will colour code anything that is erroneous – see Error descriptions (top right in image below).

 

stockimp4

 

Info

When importing stock, current and new report level groups can be included. If the cell background is coloured grey, this means these new report levels will be added to Jim2. It can also highlight spelling/typographical errors in the group name if the group already exists.

 

stockimp4A

 

Use the drop down list to select the values required to fix the record. After fixing any erroneous records, click Test Data for Jim2 to check the records again.

 

Info

If corrections are made within the following screen, there is no point saving the mapping file. Therefore, if it is necessary to save a mapping file, it is best to amend the spreadsheet instead.

 

stockimp4B

 

The data test is successful, so click Synchronise, to fills in any missing data that a default is set for will be filled in, then click Next to continue.

 

stockimp5

 

Up to now the data has only been tested, not actually imported. From this screen, Jim2 will confirm once again what database and section to import to, as well as the number of records being imported. Choose whether to update existing records (overwrite) or not by ticking/unticking Don't update existing records.

 

When ready, click Import data.

 

stockimp5A

 

Jim2 will confirm how many records were added/updated, etc.

 

Click Close to exit the Import Wizard.

 

Further information

Preparing CardFiles

Import CardFiles

Preparing Stock

Import Contacts

Import Items

Import Non Report Groups

Import Opening Balances