In the **FFN Dealer Directory** (*FFN Händler Übersicht*) you assign each merchant of the JTL Fulfillment Network (FFN) and its FFN warehouse to one of your clients in X-Sitter. Only for assigned merchants does X-Sitter import outbound orders, products and inbound deliveries, and report shipments and goods receipts back to FFN.

![Screenshot: FFN Dealer Directory with several assigned clients, their FFN ID, FFN name, warehouse ID and warehouse](/jtl/images/ffn-merchants-overview.png)

## Before you start

- The FFN connection must exist, because merchants and warehouses are read live from FFN. See [Connect JTL Fulfillment Network (FFN)](/jtl/ffn-connection.md).
- The merchant's company must be set up as your client in X-Sitter. See [Clients](/company/clients.md).
- Your user needs the permission **JTL › FFN Dealer Directory** – ask your administrator.

## Step by step

1. In the sidebar open **ERP Systems › JTL › FFN Dealer Directory** (*ERP-Systeme › JTL › FFN Händler Übersicht*).
2. Click **Add a new dealer** (*Neuen Händler mappen*). The page **FFN Dealer Mapping** (*FFN Händler Mapping*) opens.
3. Choose the **Company** (*Firma*) – the client the merchant belongs to.
4. Choose the **FFN Dealer** (*FFN Händler*) from the list of merchants connected to you in FFN.
5. Choose the **FFN Warehouse** – your fulfiller warehouse in FFN for this merchant.
6. Click **Save** (*Speichern*). You see **The mapping has been saved** (*Das Mapping wurde gespeichert*).
7. **To overview** (*Zur Übersicht*) takes you back to the list.

To change an assignment, click the edit button in the **Actions** (*Aktionen*) column of the row.

## Fields and options

### Overview

| Column | Meaning |
|---|---|
| # | Number of the client in X-Sitter |
| **Client** | Name of your client |
| **FFN-Id** | Merchant ID in FFN |
| **FFN-Name** | Merchant name in FFN |
| **warehouseId** | ID of the FFN warehouse |
| **Warehouse** | Name of the FFN warehouse |
| **Actions** (*Aktionen*) | Edit the assignment |

### Mapping form

| Field | Meaning | Required |
|---|---|---|
| **Company** (*Firma*) | Your client in X-Sitter (or your own company) | yes |
| **FFN Dealer** (*FFN Händler*) | Merchant in FFN | yes |
| **FFN Warehouse** | Your FFN warehouse. X-Sitter reports goods receipts for this merchant into this warehouse | yes |

## Good to know / Troubleshooting

- Each client can be assigned to only one merchant. If you save a mapping for a client that already has one, the existing assignment is replaced.
- The assignment alone does not import any orders. You also need the active FFN order job with a cut-off date, see [FFN order processing](/jtl/ffn-order-processing.md).
- The advance notice import uses the assignment too, together with the date **Import ASNs from** on the [FFN connection page](/jtl/ffn-connection.md).

| Message | Cause | Solution |
|---|---|---|
| **company_id und merchant_id sind erforderlich** | Company or merchant not chosen | Fill in both fields |
| The merchant or warehouse list is empty | The FFN connection is missing or expired | Check the [FFN connection](/jtl/ffn-connection.md) |
