PART A: Browsing for the File and Selecting the File Type
Step 1. Opening Stockbook
Details from Data File
In Stockbook go to File
Import Options
Details From Data File
Step 2. Selecting the CSV File
Select the CSV file you wish to import
For Step 1 of the Import click on the yellow folder
Select the CSV file and click Open
Step 3. Selecting File Type
Once the file has been opened in the Import window the type/format/layout of the file needs to be selected.
In this case it is a Standard CSV file.
Most files will be of standard CSV format and so the program will default to this option. Standard format simply means that the data is separated by commas and the header row is on the first line of the file.
If your file is in a custom format you need to select Custom File and then click on Define Custom Layout. This takes you to the next screen which allows you to select the header (green) and first line of data (blue) as shown below. The data is usually separated by a comma, so Comma is ticked below as the data separator.
You have the option to save the layout you have created to import this file; this function is useful if you intend to import files with the same layout in the future. Once you have saved a template layout it will also be listed in the drop down list where you selected the type/format/layout of the file. Name is according to the type of import you are doing.
If you are importing a file from a Tru-test indicator you will need to select <XR3000 file>
PART B: Setting Your Import Options (Understanding the Tabs)
This section allows you to customise how your data is imported
As a part of Step 3. on the import you will have to set your import options; to do this you will have to go through the tab headings that are relevant for the file you are bringing in.
Below you can see what each of the Tabs are for:
General Tab
Enter the Default Obs. Date
This tab gives you the ability to set a default Obs. Date, Obs. Code and Performance Management Group (Default Perf.Mgt.Grp) that will apply to every animal in the file. However, if in your .csv file you have a column for date or observation code, and you link them in step four then it is not necessary to use the default option.
This tab is also used to set the Date Format and Add New Tags for new animals being imported onto a user list.
It is recommended that if you are importing weight or trait data that you include an observation code (Obs.Code) so that all records will have the same codes unless otherwise specified. If the Add New Tags box is not ticked and the animal being imported is not on file then an error will be generated and the new tags will not be added to your Stockbook. You can add the animal's tag prefix if the .csv file you are bringing in doesn’t have the correct prefix by adding it to the Tag Prefix box. Life Data Tab
This tab is to be used when new animals are being added into Stockbook. Default Sex, Default Breed and Default Birth Date can be added here.
If you have sex, breed or birth date linked in the General tab and a default value is chosen as well, the default will apply only to the animals that do not already have a value assigned to them in the file that you are importing. Induction Tab
This tab allows you to select if animals were Purchased, Agisted or Bred. If new animals are bred then you will not see items such as the option to add Q.A. (Quality Assurance) details or Vendor details. However if animals are Agisted, you will see owner instead of vendor and you will not be able to add a price.
EBV Tab
This tab allows you to choose the type of EBV's you are importing as well as selecting if you are Replacing Existing or Updating Existing EBV's.
Location Tab
This tab allows you to select a Default Mob, Default Group or Default Paddock for new animals.
FEC Tab
This tab allows you to select or add a Laboratory for FEC results€
This tab allows you to add new contacts.
Joining/Preg Test Tab
This tab allows you to set defaults on data relating to pregnancy tests and joinings.
You will need to set AI Join =, Pregnant=, and Backup= to equal what they are set as in your CSV. For example if in your .CSV file you have used YES to signify that a female is pregnant, you are then required to set Pregnant = YES in this tab. Please note that these fields are case and space sensitive. For example, yes is not read the same as YES.
Traits Tab
This tab gives the option to Calculate (Calc) Frame Score on each animal if you are bringing in the Hip Height trait.
Carcase Tab
This tab allows you to select or add the abattoir from the drop down box. Tick the correct fields for Electrical Stimulation (Elec.Stim), Fat Trim, Rib Site and Prices; add a Marbling Score Method, Dentition Category and Assessor.
Carcase data can only be imported if the status is Sold or Disposed.