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
- Open the BPS - Suppliers template.
- Click Excel export from the Actions icon to export the associated fields.
- Click Export.
- Click the Microsoft Excel icon.
An icon for your default spreadsheet application is displayed. For this example we are using Microsoft Excel.
Prepare a new spreadsheet
Open: Microsoft Excel
- Open your spreadsheet.
- Select the cells to be copied.
- Copy the selected cells to the clipboard.
- Open a new blank spreadsheet. Select Paste Special. Select the Transpose check box.
- You will notice that the pasted columns now run horizontally.
- Highlight the cells where the first line (the Indicator row) contains the letter B. Apply a Background Color.
- Repeat step 6 for all cells where the first line (the Indicator row) contains the letter A.
- Highlight column A and Insert a new column.
- In cell A1, type H.
- In cell A2, and in all subsequent rows in column A, type C.
- Apply the column B formatting to the cells in column A.
- Delete column B.
- Leave the new cell B1 set to the letter B. Delete the letter B from all other cells in the first row.
- Leave the first occurrence of the letter A in the first row. Delete the letter A from all other cells in the first row.
- Repeat for the letter R in the first row.
- 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.
- Duplicate all cells in all rows of section R from one to N times.
- In the final cell of the first row, type END.
For our example, we only want the records in the first four columns (Indicator, Table, Field and Description).
Leave the default Paste All and Operation None check boxes selected.
This will be the last cell in the first row of the last section R.
Populate the new spreadsheet
Open: Microsoft Excel
Open: Usage > Imports / exports > Exports
- Using the Exports function (GEXPOBJ), select the BPS template (Suppliers) as the Template to use.
- Range block, Supplier field. Set the Start and End fields to the same supplier code.
- Open Microsoft Excel and use the Text Import Wizard to open the export file.
- Copy the lines of type B, A and R as required.
- Populate the lines for each supplier.
H | B | |||
C | BPSUPPLIER | BPSUPPLIER | BPSUPPLIER | BPARTNER |
C | / | BSGCOD | BPSNUM | BPRNAM |
C | Category | Supplier | Company name | |
B | NEG | FR001 | DISTRIBUTION SUPPLIER | |
B | NEG | TST001 |