Preparing single-line files for import

Process

To convert a single-line file for importing into Sage X3 you must follow a simple 2-step process.

Step 1: Save the source file as a CSV file

The source file for this example is a spreadsheet file - example.xlsx.
  1. Load the source data file for conversion in its associated application.
  2. From the application running the source data file, click File > Save as.
  3. Select the CSV (Comma delimited) (*.csv) file format.

  4. Click Save.

Step 2: Convert the source CSV file to a multi-line CSV file

Open: Usage > Imports / exports > Single line files conversion

Enter the following data:

  • Structure block:
  • These fields indicate that the file to be read is a CSV format file.

    Field separator. Leave as a semi-colon (;).

    Record separator. The default values for a Windows system.

    File format. Leave as ascii.

    We do not need to change the values in this block for our example.
  • Source block:
  • You use this block to load the source file.

    Client (default). Leave as Client if the source file is on the client workstation.

    1. Click OK.
    2. Select the source .csv file for import. Alternatively, drag and drop the file into the File upload window.
    3. Make sure you select the file with the .csv extension, and not the original source data file.
    4. When the file has loaded, click OK.
    5. A successful import generates a log file upon completion, detailing the name of the import file.
    6. Our example import file now has the file name example.csv.out.

    Server. Select the Server radio button if the source file is on the Sage X3 server.

    1. Data file. Type in or select from the List of volumes, the source .csv file for import.
    2. Make sure you select the file with the .csv extension, and not the original source data file.
    3. Click OK.
    4. The Data file field in the Destination block is populated automatically. It is not available for amendment.
    5. The location of the new destination file will be the same as the source file. The file name of the new import file will have a .out extension.

      Our example import file now has the file name example.csv.out. It will be saved in the same folder as the original source file on the Sage X3 server.

    6. Click OK.

Locate the new .csv.out file. This will be in your Downloads folder if the source file is on the client workstation or in the same folder as the original source file if the source file is on the Sage X3 server.

The .csv.out file is in the application format in CSV format. It is this file that will be used for importing into the application.