← Nortiqo Labels

Help · version 1.1

How it fits together

Contents
Element What it is
Context Where printing starts: one X3 function, and the values that say what to print, such as a receipt’s number and line: read from its screen when the user clicks Print labels, taken from the document when it is saved, or given by the web service.
Data source A table or a view of the X3 dictionary. Each row it returns is one label. Its filters, a set for each context it serves, choose the rows from the context’s values.
Label How one row prints: a ZPL template with tags such as {LOT}, a BarTender document, or a CSV or JSON data file, and one variable per value that says where it comes from: a field of the row, a constant, a 4GL expression or an SSCC number. It names its data source, and the contexts it prints from, each with its default destination and number of copies.
Destination Where a label goes: a network printer, which X3 sends the labels straight to; a directory on the X3 server, from which a queue script sends each file on to a printer; or BarTender, through a connection.
Routing rule Where a print goes instead of the default, chosen by what is printed, where and by whom: a destination, or a printer group and its default.
Print job One print: a header, and one line per row with the label exactly as it was printed. The log keeps it, and a line can be printed again from it.

A print runs in this order: the user clicks Print labels in the function; X3 reads the context’s values from the screen; the launcher lists the labels that print from that context; the chosen label’s data source gives the rows its filters for the context select; each row’s variables are resolved and its label made, a ZPL template’s tags replaced and its ZPL checked; the job is logged; then the labels go to the destination: straight to a network printer, as files into a directory, or as prints in BarTender. Automatic printing and the web service print the same way, without the launcher.

Set up in this order, since a data source’s filters name a context and a label names the other three: destination, context, data source, then the label. What is not Active is not used: an inactive context refuses the print, an inactive label or data source is left out of the launcher, and an inactive destination cannot be printed to.

The shipped setup. The release brings, marked Standard, the nine contexts, active: one for each document of Label printing, coded as its object, such as PTH for a purchase receipt (GESPTH), and PTD for one of a receipt’s lines; three data sources with their filters for the contexts they serve, STOCK_MOVED_IN on the view XNQVSTJ, DELIVERY_LINES on XNQVSDD and WORK_ORDER_PRODUCTS on XNQVMFI; and four starter labels, inactive, with no destination and no automatic printing: LOT_LABEL, DELIVERY_LABEL, WORK_ORDER_LABEL and SSCC_LABEL. So a first print needs a destination and a label, such as a copy of a starter label with the destination on its Print from lines.

A standard record is not changed or deleted, so that an update of the release never overwrites a customer’s change. Copy it: show it, type a code of your own over its code, and save. The copy is not Standard and is Active, and is yours to change; an update changes the standard records and never a copy.

Sage X3 also prints ZPL through its own ZPL reports (function GESARZ), sent to a Windows printer. Nortiqo Labels neither uses nor changes them.

Who may use what. The setup functions are for administrators: the expressions they hold run with the rights of the user who prints, so give them only to a restricted function profile. Whoever may open the function that carries Print labels may print. The print jobs are also offered to users, for reprints.

Stuck? Ask your Sage partner, or write to info@nortiqo.com.

Email us

info@nortiqo.com