Skip to main content

Posts

Showing posts from March, 2019

Barcodes on Reports in D365 Business Central

Barcodes & QR Codes on Reports in D365 Business Central I want to print barcode on the report in Business Central but Business central is SaaS application. Therefore, we can’t install barcode font on it. So, how to print barcode on reports? Here, I have created one codeunit which send the data (which we want to convert in barcode) to the REST web service and receive the barcode in response. codeunit 50100 Barcode {     procedure DoGenerateBarcode (var Barcode: Code [ 100 ]; BarcodeType: Integer ; var tempb: Record TempBlob temporary)     begin         Clear ( tempb ) ;         // Empty Barcode Value         if Barcode = '' then             exit ;         // Barcode Type Selection         case BarcodeType of             0 :                 BarcodeTypeValue := 'c39' ;             1 :                 BarcodeTypeValue := 'c128a' ;             2 :                 BarcodeTypeValue := 'c128b' ;