Appendix: Example spreadsheet import

Supplier import

This example demonstrates how to import supplier data on a spreadsheet into Sage X3.

Export an associated Sage X3 import template to a spreadsheet application

Open: Setup > Usage > Imports / Exports > Import/export templates | Fields

  1. Open the BPS - Suppliers template.
  2. Click Excel export from the Actions icon to export the associated fields.
  3. Click Export.
  4. An icon for your default spreadsheet application is displayed. For this example we are using Microsoft Excel.

  5. Click the Microsoft Excel icon.

Prepare a new spreadsheet

Open: Microsoft Excel

  1. Open your spreadsheet.

  2. Select the cells to be copied.
  3. For our example, we only want the records in the first four columns (Indicator, Table, Field and Description).

  4. Copy the selected cells to the clipboard.
  5. Open a new blank spreadsheet. Select Paste Special. Select the Transpose check box.
  6. Leave the default Paste All and Operation None check boxes selected.

  7. You will notice that the pasted columns now run horizontally.
  8. Highlight the cells where the first line (the Indicator row) contains the letter B. Apply a Background Color.
  9. Repeat step 6 for all cells where the first line (the Indicator row) contains the letter A.
  10. Highlight column A and Insert a new column.
  11. In cell A1, type H.
  12. Reminder: Header lineH is mandatory in the first cell (the first line of the first column).

  13. In cell A2, and in all subsequent rows in column A, type C.
  14. Reminder: Comment linesC lines are ignored by the Single line files conversion function (AIFIMPGENFIC).

  15. Apply the column B formatting to the cells in column A.
  16. Delete column B.
  17. Leave the new cell B1 set to the letter B. Delete the letter B from all other cells in the first row.
  18. Leave the first occurrence of the letter A in the first row. Delete the letter A from all other cells in the first row.
  19. Repeat for the letter R in the first row.
  20. Duplicate all cells in all rows of section A from one to N times, inserting each duplicated block before the first column of section R.
  21. Duplicate all cells in all rows of section R from one to N times.
  22. There are no restrictions on the number of duplicated sections (section A or section R).
  23. In the final cell of the first row, type END.
  24. This will be the last cell in the first row of the last section R.

    Reminder: ENDThe last column must contain the value END.

    Sage advises that you set a background color for the final cell (END).

Populate the new spreadsheet

Open: Microsoft Excel

Open: Usage > Imports / exports > Exports

  1. Using the Exports function (GEXPOBJ), select the BPS template (Suppliers) as the Template to use.
  2. Range block, Supplier field. Set the Start and End fields to the same supplier code.
  3. You only need to export a single supplier.
  4. Open Microsoft Excel and use the Text Import Wizard to open the export file.
  5. Copy the lines of type B, A and R as required.
  6. Our example has only one supplier.
  7. Populate the lines for each supplier.
  8. H B      
    C BPSUPPLIER BPSUPPLIER BPSUPPLIER BPARTNER
    C / BSGCOD BPSNUM BPRNAM
    C   Category Supplier Company name
      B NEG FR001 DISTRIBUTION SUPPLIER
      B NEG TST001