← Nortiqo Labels

Help · version 1.1

The web service XNQLPRINT

Contents

Prints labels for a program that calls X3’s SOAP web services, such as a warehouse system on handhelds: a context and its parameters in, the job and each line’s outcome out. It prints as Label printing does with every row ticked, through the same job log, so its jobs are in Label print jobs and are reprinted the same way.

What the call gives.

Parameter What it takes
CONTEXT_CODE The context, such as PTH. Its function is not compared: a call has none.
LABEL_CODE A label that prints from the context; empty for its first active one, by priority, then code.
DESTINATION_CODE The destination; empty for the one a routing rule gives, else the default of the label’s Print from line. One past a locked rule is refused.
COPIES The copies of each row, 1 to 999; 0 for the default copies of the label’s Print from line.
PARAMETER_NAMES, PARAMETER_VALUES Up to 50: each of the context’s parameters by its name, in capitals or not, and its value, a date as YYYYMMDD, a number with a point. A required one must be given, and a name the context does not have is refused.

What it answers.

Parameter What it holds
JOB_NUMBER The job; empty when the print was refused.
JOB_STATUS The job’s status: 2 OK, 3 Partial, 4 Error, 1 Pending when its outcome could not be logged; 0 when refused.
MESSAGE_TEXT Job …: … of … rows printed., Job …: the labels were written, but the job log could not be updated. when labels went out and the log did not follow, or the refusal’s message.
LINE_COUNT How many lines the job has, up to 200.
LINE_STATUSES, LINE_MESSAGES, LINE_SUMMARIES Each line’s status, its message when it failed, and its row’s values, NAME=value; ….

More than 200 rows print nothing: give parameters that select fewer. A refusal writes no job. The texts are in the language of the call’s session. While Nortiqo Labels is turned off in the folder, the call answers no job and no message; a licence key that stops prints (The licence key) is a refusal with its message.

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

Email us

info@nortiqo.com