Bar Code in SSRS Report D365FO


Bar Code in SSRS Report D365FO


Following are the simple steps to generate Bar-Code in SSRS report.

In SSRS temporary table, Bar-Code filed should be extended with BarCodeString EDT.

Use font >BC C128 Narrow

Field in SSRS should be well space otherwise bar-code scan will not work

Using following code you can generate bar-code of any value...

Example: xyzTableBuffer.BarCodeField= this.getBarcode("123456789")


    public str getBarcode(str _barCodeText)
    {
        BarcodeCode128 barcode;

        barcode = Barcode::construct(BarcodeType::Code128);
        barcode.string(true, _barCodeText);
        barcode.encode();

        return barcode.barcodeStr();
    }



Please feel free to contact me if you are facing any issue during implementation of the blog

Support Faryal's Cusine


14 comments:

  1. Hi,

    how can i achieve that on production environment..when printing to printer barcode is not showing correct - need to install the barcode on the enviroment - this cant be done on production...

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. where do we need to write this code?

    xyzTableBuffer.BarCodeField= this.getBarcode("123456789")

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Cloud storage server
    Get Storage Server with high data capacity to store all your data. Customize data storage server at best price with 24/7 Server Support.

    ReplyDelete
  6. Explore top-notch Docker consulting services to optimize containerization strategies. Unlock efficiency and seamless deployment for your business success.

    ReplyDelete
  7. Our Nursing Recruitment Agency connects qualified registered nurses with exemplary healthcare facilities across the USA, including hospitals, clinics, and long-term care centers. We provide comprehensive services such as career guidance, licensing facilitation, and visa support for international recruits. Our extensive network of both urban and rural settings ensures diverse job opportunities tailored to individual goals. We prioritize quality matches that enhance patient care and foster professional growth. Committed to excellence, we deliver satisfaction to both employers and nursing professionals through reliable and innovative recruitment strategies aimed at building superior healthcare teams.
    https://www.dynamichealthstaff.com/nursing-recruitment-agency-in-usa

    ReplyDelete

Virtual Fields Vs Computed Fields

  Virtual Field: A virtual field in D365FO is a field that doesn't have a direct representation in the database. It's a field that y...