
Printing Bar Codes from a Saved Search Using Advanced PDF/HTML Template
As a part of our Tips & Tricks series, we have an updated Bar Codes in Saved Searches How-To article. In the past we shared how to encode in code 39 and 128. However, the updated approach involves a saved search using Advanced PDF/HTML template. See below for step-by-step instructions.
STEP ONE:
Below is a sample Saved search created to print custom Item Labels.

STEP TWO:
It is important to note that any fields you want to print must be added to the Results tab.

STEP THREE:
After you have saved your Saved Search then click on the “New Template” button. This will link your Saved Search to a new Advanced PDF/HTML template.

STEP FOUR:
After you have completed customizing your Advanced PDF/HTML template, you can test it by running your Saved Search and clicking on the printer icon. This will pop up a window for you to select the template you just created. This template field is sticky and will remember your last selection.

STEP FIVE:
After you hit print you can see your results. If you receive a generic error message, try removing your variables ${results.xxxxx} from your template. A lot of the time it is a variable that is not named correctly in the template code.

STEP SIX:
Now you can link your labels to most transaction forms with an HTML button using an Inline HTML Transaction Body Field. Make sure that the search and template ids match yours saved search and template.

STEP SEVEN:
You can move and customize your linking button to where you would like it on the transaction form.

Are you looking to purchase NetSuite Licences, Consulting or Support?
Share your contact information and we'll get you connected to the right person.