Setup
Purpose and prerequisites
First set up the Business Central shipping model, then assign each shipping agent service used in your process to a Shipping Labels setup. Credentials, URLs, and provider-specific requirements are maintained on the relevant carrier setup page.
Before you start, obtain the approved products and services as well as the carrier’s test or production credentials. Also identify the document types used in your shipping process.
Recommended sequence
- Create the shipping agent and its services in Business Central.
- Open Shipping Label Setup.
- Review the supported document types under Assigned Source Types.
- If required, map shipment methods to the Incoterms expected by the carrier.
- Set up the shipping agent services used by your process under Shipping Agent Service Setups.
- Maintain credentials and carrier options on the relevant carrier setup page.
- Test each combination with a document type used in day-to-day operations.
Shipping agents and services
Use Tell Me to open the standard Shipping Agents and Shipping Agent Services pages. Create a code for each carrier that users must be able to select. Create a separate shipping-agent service code for each product or service variant used in your process. Use the same codes on the relevant sales, purchase, transfer, or shipment documents.
The shipping-agent card and its services define the choices available on a document. Credentials and the technical Shipping Labels integration are maintained separately in the Shipping Labels setup.
Global Shipping Label Setup fields
Open Shipping Label Setup. The following fields are visible on the page:
| Field | What it does |
|---|---|
| Test Mode | When changed, the value is copied to existing carrier setup records. Use it for a coordinated test phase and check the test or production credentials after switching. |
| Default Phone No. | Fallback phone number when one cannot be obtained from the underlying sender, recipient, or location records. It does not replace a phone number already present on the source document. |
Shipper country (Default Country) |
Fallback when the location used as sender has no country maintained. The source type or carrier can apply additional rules. |
| Default Recipient Country | Used only by source types that implement this fallback, including sales orders, purchase returns, and shipment orders. A country on the source document takes precedence. |
| Convert Special Characters | Converts characters such as umlauts in the address and name data prepared for a request. It does not change the stored customer, vendor, or location records. |
| Use New Service Agents Setup | Switches the matrix to the new model with one Setup Code field. The default on a new installation is false. Once enabled, you cannot switch back to the old model. |
When Use New Service Agents Setup is enabled, the existing setup codes maintained for each carrier type are copied into the new Setup Code field. Agree on the change with your administrator and back up the current setup first. Do not enable it just to try it out.
The former Log Deletion Date Formula is no longer displayed on this page. Configure request-log retention through Retention Policy Setup Wizard or Request Log Retention Policy instead.
Assigned Source Types
On Shipping Label Setup, choose Assigned Source Types. A standard installation provides the following assignments. Table Caption is populated automatically from Table ID; it is not a separate master-data record.
| Business Central table | Source type | Where the recipient city comes from |
|---|---|---|
Sales Header |
Sales order or sales return order | Ship-to address maintained on the document. A sales return order is processed as a pickup. |
Purchase Header |
Purchase return order | Buy-from address on the purchase document. The required weight comes from the visible BET SAL Weight field in the Shipping section of the purchase return order. |
Transfer Header |
Transfer order | Address maintained for the transfer-to location on the document; sender is the transfer-from location. The recipient country comes from the location card. |
Transfer Shipment Header |
Transfer shipment | Recipient address on the posted transfer-shipment document; sender is the transfer-from location. The recipient country comes from the transfer-to location card. |
Warehouse Shipment Header |
Warehouse shipment | Source document on the first warehouse-shipment line with a source number: sales order, purchase return, or transfer. Sender comes from the warehouse shipment’s location. |
Posted Whse. Shipment Header |
Posted warehouse shipment | Underlying posted sales, return, or transfer shipment. Sender comes from the source document’s location. |
BET SAL Shipment Order |
Shipment order | Sender and recipient are entered on the dedicated shipment order. From City and To City are visible fields there. |
For a warehouse shipment, the recipient is determined from the first matching line. Use a warehouse shipment only when its lines have the same recipient address.
Table ID, Source Type, and Table Caption define the assignment. Change or add assignments only when a required document type is missing and its Shipping Labels support has been confirmed. Adding a table by itself does not make an unsupported document type usable for shipping labels.
Package weight and dimensions by source type
Shipping data is obtained differently for each source type. The standard source-type handlers do not use a general set of Business Central Item Attributes for height, width, length, and weight.
- Sales order: total gross weight is calculated from the sales-line Gross Weight multiplied by the quantity.
- Purchase return order: enter the required weight in the visible BET SAL Weight field on the purchase return order.
- Shipment order: the Package Data section provides weight, height, length, and width for each package. Dimensions are in cm and weight is in kg.
- Warehouse shipment, posted warehouse shipment, and transfers: the common source handler derives the sender and recipient from the document. Check the relevant carrier setup for any additional package requirements.
Assigned Incoterms
On Shipping Label Setup, choose Assigned Incoterms. Map the Business Central Shipment Method Code to the Incoterm expected by the carrier. Description describes the mapping. Create entries only for cross-border processes that require them.
Shipping Agent Service Setups
On Shipping Label Setup, choose Shipping Agent Service Setups. Create one row for each shipping agent and service combination used on a document:
| Field | Value |
|---|---|
| Shipping Agent Code | The shipping agent created earlier. |
| Shipping Agent Service Code | The shipping agent service created earlier. |
| Description | Taken from the shipping agent service. |
| Shipping Label Type | The carrier whose Shipping Labels integration will be used. |
The setup-code fields shown depend on Use New Service Agents Setup:
- With
false, a separate field is shown for each carrier type, such as DHL Shipping Setup Code or DPD Setup Code. Select the matching record from that carrier’s setup. - With
true, those fields are replaced by Setup Code. Select a record for the chosen Shipping Label Type.
Changing the switch changes which fields appear in the matrix; it does not create the carrier setup record. Create that setup on the carrier page first. Example:
Final check
- Open a supported document and verify that the shipping agent and service are available.
- Verify that the combination exists in Shipping Agent Service Setups.
- Check the sender, recipient, shipment date, and package data available for that source type.
- Configure test access and carrier options on the relevant carrier page.
- Create a shipping label and inspect the request in Request Log.
Links