Delivery manager and shipping agent IDs
The desk never talks to a broker directly. It hands every waybill to a connector: one connection to a broker or a freight forwarder. Under the connector sit the identifiers the other side expects – for your shipping agents and for your packaging types.
Before you start
The shipping agents you use must exist as standard Business Central shipping agents, and the flow that talks to the broker must be running.
Create a connector
- Choose the Search icon, enter Connectors, and choose the related link.
- Choose New and fill ID, Description and Type (Broker, Freight Forwarder or Custom Connector).
- Open the connector card and fill URL Send Waybill and URL Dispatcher with the addresses of your flow, and User Name and Password with the credentials the broker gave you.
- Fill Length UoM, Weight UoM and Volume UoM with the units the other side expects, and choose the Default Package Type with its default gross and net weight.
- Switch Auto Send Waybill on to send a waybill as soon as it is created, Auto Create Waybill to create one from a document, and Sync Waybills to let the flow write pickup and delivery status back to the waybill.
Map your shipping agents to the connector
- Select the connector and choose Agent Mapping.
- For each shipping agent and service, fill External Shipping Agent ID, External Shipping Agent Code and External Shipping Agent Service Code.
- Choose Paperless Specification (Item or Tariff) for the way the documents are exchanged.
Sending a waybill whose shipping agent has no mapping is refused with Connector %1 has no external ID for shipping agent %2.
Give each shipping agent the IDs your broker uses
- Choose Agent Mapping on the connector and open the Agents list of the agents the connector carries.
- For each line, read Shipping Agent Code and Shipping Agent Service Code: they are the agent and the service the waybill names.
- Fill External Shipping Agent ID and External Shipping Agent Service Code with the IDs the broker knows the agent and the service by.
- Send a waybill of that agent: the app sends the external IDs instead of your own codes.
Give a shipping agent the code your broker uses
- Choose the Search icon, enter Shipping Agents, and choose the related link.
- Select the agent and open its card – in the story the agent DHL.
- In the Shipping Desk group, fill Send Waybill Code with the code the broker uses for the agent.
- Fill Free Text 1 to Free Text 5 with the references the broker reads on every waybill of the agent, such as your customer number or the booking reference.
- Send a waybill of the agent: the code and the free texts travel with it.

Set the tracking address of a shipping agent
- Open the card of the shipping agent – in the story DHL.
- Read Code and Name: the code is what a waybill and a connector refer to.
- Fill Internet Address with the tracking page of the agent, and write
%1where the tracking number belongs, for examplewww.dhl.com/en/express/tracking.html?AWB=%1&brand=DHL. - Open a waybill of that agent and choose Track Package: the app opens that address with the tracking number of
the waybill in place of
%1.

Tip: One card per agent is enough: every waybill of the agent uses the same tracking address, the same code and the same free texts.
Example
The desk ships through the connector BRK-01, described as Customs Broker North, of the type Broker. The connector FFW-01, described as Nordic Freight Forwarder, is a Freight Forwarder and carries the waybills of the forwarder the company uses for its exports. The agent DHL is mapped to the external ID the broker expects, and the packaging type CARTON-40 carries its external key.
What happens
- A waybill takes its connector from the customer or from the setup; the shipping agent comes from the same place.
- The external IDs of the agent and the service are what the broker reads; the app sends them instead of your own codes.
- The code and the free texts on the shipping agent card are sent with every waybill of that agent, and its tracking address is the one Track Package opens.
- A connector without a mapping for the agent on the waybill stops the send before anything leaves the company.
If something goes wrong
| You see | Why | What to do |
|---|---|---|
| Connector %1 has no external ID for shipping agent %2. | The agent is not mapped. | Add the agent in Agent Mapping. |
| Connector %1 is used by waybill %2 and cannot be deleted. | A waybill still refers to the connector. | Move those waybills to another connector. |
