This is the help for version 1.0. Open this page in version 1.1, the newest.
Help · version 1.0
Automatic printing
ContentsPrints a document’s labels by itself once the document is saved, with no one opening Label printing: on screen, from an import, or from a web service. Each document of Label printing has its own switch, a parameter of chapter XNQ, group XNQL:
| Document | Prints after | Parameter |
|---|---|---|
| Purchase receipt (GESPTH) | its creation | Automatic printing, receipts (XNQLAUTPTH) |
| Production tracking (GESMTK) | its creation | Automatic printing, tracking (XNQLAUTMTK) |
| Quality control (GESSTQ) | each save | Automatic printing, quality control (XNQLAUTSTQ) |
| Work order (GESMFG) | its creation | Automatic printing, work orders (XNQLAUTMFG) |
| Delivery (GESSDH) | its creation | Automatic printing, deliveries (XNQLAUTSDH) |
| Stock change (GESSCS) | its creation | Automatic printing, stock changes (XNQLAUTSCS) |
| Lot renumbering (GESSLM) | its creation | Automatic printing, lot renumbering (XNQLAUTSLM) |
| Lot characteristics change (GESSMX) | its creation | Automatic printing, characteristics (XNQLAUTSMX) |
Switching it on. Two things, both needed:
- The document’s parameter set to Yes in General parameters (ADPVAL), at the site or at its company. X3 takes the nearest level’s value; the folder’s is No, so nothing prints until a site or a company says Yes. A user already logged in keeps the value X3 read: the change applies from the next login.
- Automatic printing ticked on each label’s Print from line that should print (GESXNQL, tab Print from).
X3 prints labels of its own after some of these saves as well: a receipt’s stock labels, and a quality control’s, a stock change’s or a lot change’s, when its transaction’s Printing is not No print; and production tracking’s work order and tracking labels when its transaction asks for them. At a site that prints automatically, set those transactions to print none of Sage’s labels, or both print.
What it prints. Every active context of the document’s function, such as GESPTH, in code
order, through each active label whose Print from line of the context has Automatic printing
ticked, by priority, then code. A context’s parameters take the document’s values of the same
name, its number and its site, such as a receipt’s PTHNUM and PRHFCY; a context that needs
more, such as a receipt line’s, is refused with message 3, and prints from Label printing. The
destination is the one a routing rule gives, else the line’s default; the copies are the line’s.
A quality control prints at each save, since X3 creates its analysis request with the stock movement that puts the stock under control, and the request is then saved as a change. Each save prints the rows of every control the request holds so far, so a request controlled in several saves prints its earlier saves’ rows again: where controls are partial, leave its switch at No and print from Label printing. A change to any other document prints nothing: print its new lines from Label printing.
A document saved by another function than its own prints nothing by itself, such as a delivery made by the automatic delivery (FUNAUTDLV), production reported in a production workbench, or lots changed by the lot mass change (FUNSMXUPD): print its labels from the document’s window.
What you see. Each print is a job in Label print jobs, its Source function the
document’s parameter, such as XNQLAUTPTH. A print that finds no rows writes nothing. A print
that is refused is a job of one Error line with the refusal’s message. On screen, a label that
did not print every row, or was refused, shows message 106 after the save; an import and a web
service show nothing.
The save waits for the print. A file destination writes at once; a BarTender destination waits for each line’s answer, up to 30 seconds. The day’s first print, an automatic one too, first clears the labels kept past 90 days (Label print jobs, Retention), and a print waits while another takes its job number. An error the print did not foresee leaves the document saved. In a label’s print it is a job of one Error line with message 107 and the error’s number, and the other labels still print; a job that print had already written keeps its lines as they are, and a Pending line, whose label may have gone out, is sent again by a reprint. On screen it shows message 106 with 107’s text; an error outside a label’s print shows 107 alone and writes no job.
Stuck? Ask your Sage partner, or write to info@nortiqo.com.