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