How-to Customize Item Label (Report Print)
Minimum Requirements
- Extension version MOB5.46
- Business Central 20.0
Description
Modify an existing Report Print standard report, to include more information in the layout and barcode.
Available reports: Standard Label Reports (Report Print)
See also: Microsoft Learn Reports overview
Use case
In this example, we extend the "Mobile WMS - Item Label Report" with two new fields in the dataset.
The new fields will then be used in both the updated layout and the encoded GS1 DataMatrix barcode.
Standard layout (before):
Customized layout (after):
How to customize the report
Step 1: Create a new Report Extension Object
- Add new dataitems to the dataset
- Add code to encode additional values into the GS1 datamatrix barcode (optional)
Step 2: Modify RDLC layout
- Modify the existing layout or create a new layout
Step 1: Create a new Report Extension object
Using the Report Extension object you can add additional fields to the dataset and request page etc.
Encode custom value to GS1 Datamatrix barcode (optional)
The barcode is encoded with several standard values from the Item Label report object.
You can add custom values to be encoded using the procedure as shown in the code from step 1.
Step 2: Modify RDLC layout
Create a new RDLC layout and add the new custom fields from the dataset to the layout.
- See more on Microsoft Learn Creating an RDL layout report