Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update
  • Toc
  • feedback
Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update

Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update

By : Agarwal, Aggarwal, Elangovan
4.4 (7)
close
Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update

Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update

4.4 (7)
By: Agarwal, Aggarwal, Elangovan

Overview of this book

Microsoft Dynamics AX 2012 R3 Reporting Cookbook is recommended for Dynamics AX developers and .NET-based SSRS developers looking to familiarize themselves with the new AX reporting framework.
Table of Contents (12 chapters)
close
11
Index

Generating and displaying barcodes in reports


Shop floor and warehouse reports require barcodes to be printed to handle goods. Many other reports also demand barcode strings to be printed in the report. This recipe is focused on building barcodes in SSRS. Here, we will attempt to print the barcode of the inventory batch table.

How to do it…

  1. Create a simple query. Add the InventBatch table as the data source. Keep the fields selective only with InventBatch and ItemId.

  2. This will be an RDP-based report, so create a temporary table with the fields shown in the screenshot. The fields Barcode and BarcodeHR will store encoded values and so must extend the EDT BarcodeString.

  3. Create a contract class where the barcode setup field in the contract is used to choose the format of the barcode, such as Code39/EAN and so on:

     [
        DataContractAttribute,
        SysOperationGroupAttribute('BatchGroup', "Batch", '1')
    ]
    class PktInventBatchBarCodeContract
    {
        InventBatchId           batchId;
        BarcodeSetupId ...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete