Thread: Barcode in PDF
View Single Post
Old 11th September 2017, 16:06
lotius81 lotius81 is offline
Junior Member
Join Date: Nov 2016
Posts: 29
lotius81 is on a distinguished road
Baan: Infor LN 10.4 - DB: SQL Server - OS: Windows Server 2008
I wanted to update this. After speaking with Infor we updated our tools to the latest patch versions and updated our porting set to 9.1a (although Infor recommends 9.1c).

After doing this I was able to get bar codes printing in PDFs.

Report Script for this looks like this:

      extern domain	tcmcs.str50m	prod.barcode

      prod.barcode = trim$(tisfc001.pdno)
Then directly in the prod.barcode's print expression, not in report script, I used the following:

and obviously set the domain to tc mcs.str50m.

Most importantly, I did not set the "bar code" value to 1 in the report field's layout, I left it as 0. This got my bar code to print to page.

Hopefully this helps someone else!

Reply With Quote