CargoLine
Purpose
This page describes the CargoLine-specific setup in Shipping Labels. It builds on the shared setup and walks through products and package types, the shipping agent and service mapping, credentials and URLs, as well as pickup windows, label output, and fallback package data.
Prerequisites
- You can access and edit the shared Shipping Labels setup in Business Central.
- CargoLine onboarding data for product codes, package types, test or productive endpoints, and authorization tokens is available.
- The source document types used and the package data they provide are known.
Recommended sequence
- Create the shipping agent and required shipping agent services in Business Central if needed, then create or verify their CargoLine combination in the shared setup.
- Maintain the CargoLine product list and package-type list.
- Assign the CargoLine test or productive URL and the authorization token.
- Maintain pickup window, label size, and fallback package properties.
- Test one realistic label request with complete package data.
Setup components
Maintain products and package types first
CargoLine depends on two reference catalogs before the final setup line is usable: the available CargoLine products and the allowed package types. These lists define which business combinations can be selected later in the actual setup.
For the public documentation, the critical rule is simple: do not improvise product or package codes. Use the carrier-provided values and keep code, name, and description aligned with the information from CargoLine.
Regardless of the package data, configure the package-type code, pickup window, and label size for the scenario. For label size, A4 typically means printing on standard paper, while A6 points to a classic label-printer scenario.
Complete credentials and endpoint assignment
CargoLine requires the authorization token as well as the correct test or productive endpoint. These technical values should be maintained before business users start selecting the service in documents.
Separate the environments clearly:
- test URL for validation and onboarding
- productive URL for live requests
- authorization token for the corresponding environment
Maintain pickup and output properties carefully
The setup includes operational properties that directly influence the request:
- pickup-from time
- pickup-until time
- label size, typically
A4orA6 - package type code
- fallback length, width, height, and weight
These values are not only cosmetic. CargoLine expects package-size information even when it is not printed in the final label output.
Provide package data by source type
The shipping data provided by Business Central depends on the source document. Shipping Labels does not automatically read general item attributes for dimensions and weight. Review Setup and maintain any required fallback dimensions and weight in the CargoLine setup. A request can fail if package data required by the selected service is missing.
Process Important CargoLine notes These points prevent avoidable setup and request errors.
- Maintain product and package-type lists before the final setup line is used in documents.
- Keep test and productive URL assignments separate and verify the token against the correct environment.
- Check package data for the source type and maintain any required values in the CargoLine fallback fields.
- Use the carrier-provided units and product codes unchanged.
- Re-test the setup whenever label size or pickup windows are changed.
Links