Import and export Bill of Materials

Find this screen

Open: Bill of Materials > Utilities > Import/Export > Import Bill of Materials.

Open: Bill of Materials > Utilities > Import/Export > Export Bill of Materials.

How to

Create an import file for Bill of Materials

Data is exported to and imported from an XML Extensible Markup Language (XML) file format. Sage 200 can import and export data in the XML file format. file.

Note: You can use the BOM / CSV File Converter utility to convert CSV Comma Separated Value (CSV) file format. Sage 200 can import and export data in the CSV file format. files into the required XML format. The conversion does not support the full range of values you can import in XML, but allows you to process key pieces of data. For details on how to download and use the converter, see the article Sage 200 Professional - BOM CSV File Converter (opens in a new tab).

Note: You cannot import data directly from Sage 50 Manufacturing. Sage 50 BOM data must be migrated using the Sage 50 to Sage 200 Data Migration Tool.

  1. Download the example file:

  2. Create your import file in the format of the XML example file.

    For details of the file structure, see BOM file structure.

  3. Read the information in the import format file (XLS), and make sure your information is correct and all mandatory fields are included.

    Note: Each BOM must include an Item (code of the built stock item), Component (the code of each component) and the Quantity.

  4. Save your import file.

Import Bill of Materials

Open: Bill of Materials > Utilities > Import/Export > Import Bill of Materials.

  1. Click Import. The Open window appears.
  2. Browse to the file and click Open.

    The import process uses the criteria you entered under Import Options.

    When the import process finishes, an Import Complete window identifies:

    • The number of records successfully imported.
    • The number of invalid records.

    Note: If you get a message "Unable to process the specified file", make sure your import file is closed and isn't open in any applications.

  3. You can choose to view import errors and warnings.

    • Click Yes to view these. The Import Errors window appears.
    • Click Print to print the report of import errors.

Export Bill of Materials

You can export data from Bill of Materials to an XML Extensible Markup Language (XML) file format. Sage 200 can import and export data in the XML file format. file format.

Open: Bill of Materials > Utilities > Import/Export > Export Bill of Materials.

  1. Select the BOM records that you want to export.
  2. Click Export.

    The Save As window appears.

  3. Select the location and enter the name of the export file.

    Note: For information on the file format and the information that is exported, see File formats. There are no mandatory fields during export. The XML file will contain a list of all the fields, but fields will only be populated in the XML file if they are populated in Sage 200 at the time of export.

  4. Click Save.

    When the export process finishes, an Export Complete window identifies:

    • The number of records that were successfully exported.
  5. Click OK.

Useful info

What is imported and exported?

Bill of Materials:

  • Header.

  • Components.

  • Drawings.

  • Operations.

  • Comments.

  • Documents.

Mandatory fields

When importing, certain fields are mandatory.

Note: There are no mandatory fields during export. Exporting a BOM record will output all the values you hold for your BOM records into an XML file which lists all the fields you can import. Fields will not contain values in the XML file if they do not contain information in Sage 200 prior to export.

While the following information has been broken down into discrete parts here for easy reference, it is all included in the same XML file for import.

StockCode, BuildPackageType, StockItemCode, LineType, component Reference, drawing Reference, operation Reference, operation Phase, operation ResourceType, operation Group, subcontract Supplier, IsDefaultSupplier, CostHeading, operation subcontract Supplier, QuantityFrom, QuantityTo, Rate, operation component StockItem, component and operation Comment, and component and operation DocumentFile are all mandatory.

Within the BOM operation, Resource Group is mandatory if ResourceType is Group. Otherwise, Resource is mandatory.

BOM file structure