> For the complete documentation index, see [llms.txt](https://docs.solutioo.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.solutioo.de/entwicklerdokumentationen-business-central-dhl-connector/dhl-connector-entwicklerdokumentation/pages-page-extensions-und-reports/reports-72242951-und-72242960.md).

# Reports 72242951 und 72242960

## 72242951 SOUDHL Generate Label

**ProcessingOnly:** true · **DataItem:** Sales Header

### Zweck

Massenverarbeitung aus der Sales Order List: Paket anlegen, Positionen übernehmen, Gewicht berechnen und DHL-Label erzeugen.

### Request Page

* Box Code, Pflicht
* Weight UOM, Default `g`
* optional Item No.
* Override Weight
* Override Weight for Order
* Weight

`OnPreReport` validiert Box, Einheit und Gewicht.

### Ablauf je Auftrag

`GenerateAutoLabel` sucht vorhandene passende Paketheader oder legt einen neuen an, erzeugt Package Lines, berechnet Gewicht oder nutzt den Override und ruft `SOUDHL API Management.GenerateLabel` auf. Fehler werden je Auftrag gesammelt; erfolgreiche Verarbeitung wird committet.

Lokale Helper:

* `GenerateAutoLabel`
* `InsertPackageLine`
* `WeightInputKg`

### Einsatzgrenze

Der Report ist für eine vereinfachte automatische Paketbildung mit gewählter Box gedacht. Für komplexe Verteilung ist `SOUDHL Packing Mgt` die präzisere API.

## 72242960 SOUDHL Labels Report

**RDLC:** `DHL_Labels.rdlc` · **DataItem:** SOUDHL Package Header

### Zweck

Druckt gespeicherte Labels anhand des `Label Image`-Mediafelds.

### Verhalten

* nicht hochgeladene Pakete werden übersprungen,
* fehlt das Bild, wird `ConvertPdfLabelToJpgAndStore` versucht,
* bei Konvertierungsfehler wird der Datensatz übersprungen und eine Meldung gesammelt,
* ausgegeben werden Order No. und Label Image.

### Aufrufer

Package Headers SubPage, Sales Order List und Posted Sales Invoices.

## Warum zwei Reports?

Generate Label ist eine Processing-Orchestrierung und erzeugt externe DHL-Sendungen. Labels Report arbeitet ausschließlich mit bereits gespeicherten Paketdaten und rendert eine druckbare Ausgabe. Diese Trennung verhindert unbeabsichtigte neue DHL-Sendungen beim Nachdruck.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.solutioo.de/entwicklerdokumentationen-business-central-dhl-connector/dhl-connector-entwicklerdokumentation/pages-page-extensions-und-reports/reports-72242951-und-72242960.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
