First, create a method like the following either on your Report element or in the relevant Section. display str 30 barcodeRefNum() { Barcode barcode; ; barcode = Barcode::construct(BarcodeType::Code128); barcode.string(true, custPackingSlipJour.packingSlipId); return barcode.barcodeStr(); } Note the BarcodeType enumeration that provide you with options other than 128. Then, add a String control … Continue reading ax / d365fo – Adding Barcode to a Report