Adding Bar Codes in Advanced Templates
Printed transactions based on advanced templates automatically include bar codes, in the same manner as printed transactions based on basic layouts. You do not have to manually edit the HTML markup source of the associated advanced template.
The following types automatically include a bar code in printed transactions, when the Bar Coding and Item Labels feature is enabled:
-
Bill of Materials
-
Cash Refund
-
Cash Sale
-
Credit Memo
-
Invoice
-
Item Label
-
Packing Slip
-
Picking Ticket
-
Purchase Order
-
Quote
-
Remittance Form
-
Return Form
-
Return Authorization
-
Sales Order
Most transaction types print the transaction ID along with the bar code. The following example shows a bar code from a printed sales order:

Item label is an exception. Printed transactions of this type include the UPC, serial number of the item with the bar code, or both.
FreeMarker supports 128 ASCII characters for serial number and bar codes. If your serial numbers contain special characters, an error can occur during template merging.
For information about generating bar codes, see Generating Custom Bar Codes in Advanced Templates.
Related Topics
- Source Code Editing in the Template Editor
- Source Code Editing to Customize Advanced Templates
- Syntax for Advanced Template Fields
- Setting a Template to Use a Font Unavailable in NetSuite
- Languages for Printed Forms that Use Advanced Templates
- Adding Translated Content in Advanced Printouts
- Adding Striping to Line Items in Advanced Templates
- Adding Page Breaks to Tables
- Printing Subsidiary Logo on Advanced Templates
- Adding Apply Sublist to Check Templates
- Using FreeMarker to Work with Hidden Fields Used in Advanced Templates