Import, export and update information (2024)

To help you set up and create your records, you can:

  • Use an import file to create or update account records and transactions Sage 200.
  • Export accounts to a file, so you can update them in an external tool such as Excel, and then reimport back to Sage 200.

Using an import file is useful when you want to create or update a large number of records in one go, as it's much quicker than entering the records manually in Sage 200.

What can I import, export and update?

Area

Import

Export

Update

More information

Nominal

Nominal accounts

Yes

Yes

Yes

Import and export nominal account information

Nominal transactions

Yes

No

No

Import and export nominal account information

Nominal budget values

Yes

No

No

Import and export nominal account information

Cost centres (funds)

Yes

No

No

Import cost centres

Departments

Yes

No

No

Import departments

Nominal report categories

Yes

No

No

Import nominal report categories

Fixed assets

Yes

No

No

Import fixed asset records

Customers

Customer accounts

Yes

Yes

Yes

Import and export customer accounts

Customer transactions

Yes

No

No

Import customer transactions

Customer delivery addresses

Yes

No

No

Import customer delivery addresses

Suppliers

Supplier accounts

Yes

Yes

Yes

Import and export supplier accounts

Supplier transactions

Yes

No

No

Import supplier transactions

Stock and Prices

Stock items

Yes

Yes

Yes

Import and export stock items

Product groups

Yes

No

No

Import product groups

Stock opening balances

Yes

No

No

Import stock opening balances

Stock item locations

Yes

Yes

Yes

Import stock item locations (warehouses)

Add locations (warehouses) to stock items

Delete stock item locations (warehouses)

Export stock item locations (warehouses)

Cross-selling stock items

Yes

No

No

Import cross-selling stock items

Alternative stock items

Yes

No

No

Import alternative stock items

Stock item selling prices

Yes

Yes

Yes

Import and export selling prices

Stock item supplier prices

Yes

No

No

Import supplier price lists

Bill of Materials

Bill of Materials components

Yes

No

No

Import Bill of Materials

Importing information

All information is imported using either CSV or XML files. Example import files are provided for each type of import.

  • CSV files can be used to import most information, and these files can easily be created and edited in a text editor or Microsoft Excel.
  • XML files can be used to import some types of information, as an alternative to using CSV.
  • An import format spreadsheet (XLS/XSLX file) is provided with details about each import format. Read this before you create your import file, to help you create the file in the correct format.

CSV import file examples

You can open and amend CSV files in a text editor or Microsoft Excel.

Note - warning

We recommend that you open CSV files using Excel's Text Import Wizard, and do not open a CSV file directly in Excel. If you open a CSV file directly in Excel, it will automatically format and convert your data, which may result in data corruption. For more information, see How to edit CSV import files in Excel.

This is an example CSV file opened in Microsoft Excel.

The first line (or row) of the CSV must include the file header, which specifies the fields (identifiers) in the import file. This will be included in the example CSV files.

For example, the first line of the import file should be the same as the example CSV:

Stock item code,Stock item name,Product group,Tax code,Stock item description,Manufacturer's name,Manufacturer's part number, ...

Then each new record must start on a new line and each value must be separated from the next by a comma.

Whilst not all fields in the import file are mandatory, you must not change the order of the fields. If a fields contains no data then it can be left blank, but do not remove the comma too as that will affect the order of the fields.

For example, this record has some fields with information, and some fields that are blank (where there is nothing between the commas):

AA01,Beech Base Single Cabinet H58cm,CABINETS,1,,,,94034010, ...

XML import file examples

You can view the XML files in a web browser, and open and amend the XML files in a text editor.

This is an example XML file displayed in a web browser.

Each value must be separated from the next using tags <FIELD NAME> to define and start the identifier and </FIELD> to define and close the identifier, with the import entry defined between.

For example:

<FIELD NAME="AccountNumber"></FIELD>

or

<FIELD NAME="STOCK ITEM CODE">1</FIELD>

or

<row><field name="WorksNumber">001</field>...</row>

Each record must be allocated its own line using <row> to start the record and </row> to close the record.

Import format instructions (XLS/XLSX)

The details for each import file are provided in an Excel spreadsheet (XLS/XLSX).

Use this to find the expected format or values for a field, and which fields are mandatory.

Note - information

To download import files, see What can I import, export and update?

When to import

You can import data at any time.

  • If you're just starting with Sage 200, then you can import nominal accounts data as part of the initial configuration.
  • If you're migrating data from another product, you can use the Import wizard to help you through the import process.

    You can find the import wizard from the menu: Import records > Import wizard.

  • If you're importing other records, you can use the appropriate import screen located in the Import Records section of the menu.

Import rules

  • Data can only be imported once. If you try to import the same records again, the records will show as Invalid on the report.
  • The data must be in the correct format as outlined in the file structure.
  • Some imports have mandatory fields. These fields must be complete for all records.
  • Some imports rely on other records already existing in Sage 200. For example, if you're using cost centres and departments, these must be set up in Sage 200 before you can import nominal accounts. In the same way, product groups must exist before you can import stock records.
  • Valid records are imported even if the a file contains some invalid records.
  • Invalid records are shown on the invalid import report. You can then make the required changes and import again.

Do I need to include all the fields?

Not all fields need to be included in the import file. You only need to include the mandatory fields.

  • If you do not want to include a field for a particular record, just leave that field blank.
  • If you do not want to include a field for any of the records in your import file, then you can remove the field altogether (including the heading).

Restricted characters

  • You should not use a percent % character in an import file. The % character is used as a wildcard, so it may cause unexpected results.

The correct order to import records

When importing records you need to make sure that you import in a specific order due to the dependencies between some of the records. You must import account and records before importing transactions, for example.

Import order for nominal accounts

For example, say you are importing nominal accounts and departments. You must import your departments first. If not, when you import your nominal accounts there will be references within those nominal account records to departments that do not exist. Sage 200 will not validate or import nominal account records with invalid departments.

The import order is:

  1. Departments, Cost Centres and Report Categories.
  2. Nominal Accounts.
  3. Nominal transactions and Budgets.

Import order for stock

  1. Product groups
  2. Stock Items
  3. Opening balances
  4. Supplier price lists

Validation reports

It's good idea when importing records to make sure all the records in your import file meet the rules. To do this you can choose to Validate your records before importing them. This checks the records in the files and produces two reports:

  • The Update Report details the records successfully validated or imported.
  • The Update Report (Invalid) details the records that failed and were not imported. For each failure a single failure reason is displayed.

Use them to identify and correct any records that were not imported.

Example failure report

Exporting and updating information

Some information can be exported to a CSV file, which can make updating the information easier if you need to make a lot of changes.

The information is exported to a CSV file in the same format used for an import. This means you can export information and make changes to it using an external tool (such as Excel), and then import your updated information back into Sage 200.

For details of which records you can export and update, see What can I import, export and update?

Updating information

  • An import file can include information for both new records and existing records that you want to update. You can choose whether or not to update existing records when you import.

  • Check the import format spreadsheet (XLS/XSLX file) for details about each import format.

  • Not all fields need to be included in the import file. You only need to include the mandatory fields.

    • If you do not want to include a field for a particular record, just leave that field blank.
    • If you do not want to include a field for any of the records in your import file, then you can remove the field altogether (including the heading).

See also

Related information

Selling to customers

Customer accounts

Introduction to purchases and suppliers

Supplier accounts

Report categories

Cost centres

Departments

Creating your chart of accounts

Nominal accounts and transactions settings

How to set up and enter budgets

Fixed Assets

Import, export and update information (2024)

References

Top Articles
Latest Posts
Article information

Author: Greg Kuvalis

Last Updated:

Views: 6000

Rating: 4.4 / 5 (75 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Greg Kuvalis

Birthday: 1996-12-20

Address: 53157 Trantow Inlet, Townemouth, FL 92564-0267

Phone: +68218650356656

Job: IT Representative

Hobby: Knitting, Amateur radio, Skiing, Running, Mountain biking, Slacklining, Electronics

Introduction: My name is Greg Kuvalis, I am a witty, spotless, beautiful, charming, delightful, thankful, beautiful person who loves writing and wants to share my knowledge and understanding with you.