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).
Not all fields are showing in this image
See Preparing Stock first.
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.
Select the following:
Import destination: Stock.
Import data from: the spreadsheet file saved earlier.
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.
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.
From the drop down list in the Destination Field Name column, select the corresponding field in Jim2:
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.
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.
Jim2 will colour code anything that is erroneous – see Error descriptions (top right in image below).
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.
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.
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.
Jim2 will confirm how many records were added/updated, etc.
Click Close to exit the Import Wizard.
Further information |