Background: Label Program Maintenance
Use the Label Program Maintenance (TDLM) program to add a custom program to print address, shipping, and item labels for selection in the Document Output Parameters Maintenance (TDOC), Mfg Order Control Number Print Selection (WOCS), and System Options Maintenance (XM) programs. See Road Map for work flow.
This topic has these subtopics:
Print Label with the Document
Data Passed from TDOC to this Program
Other Options
Print Label with the Document
You can use Report Generator (*REPORTS), QICLOOK, or a third-party application to specify the data and format for an address, shipping, and/or item label to be output at the same time you print a document. The system retrieves the name, address, other data based on your selection for the Recipient type field.
Data Passed from Document Output Parameters Maintenance (TDOC)
Each document type has a different information that is passed in common that can be used by a report or QICBASIC program to use to generate output using this label program.
Below are the document names and the variables passed in common for each print program and a sample Report Generator specification:
Document |
Name |
Program |
Data passed from TDOC to TDLM |
Order Acknowledgment |
OPS |
Acknowledgment Print |
order number + label device |
Sales Order Picking List |
OP |
Sales Order Print |
order number + label device |
Sales
Quote Acknowedgement |
QPS |
Quote Acknowledgment Print |
quote order number + label device |
|
|
|
|
Sales Order Picking List |
OPK |
Picking List Print |
shipment type+ order number + shipment number +label device |
Sales Order Packing Slip |
OPAK |
Packing Slip Print |
shipment type+ order number + shipment number +label device |
Sales Order Packing List |
OPL |
Packing List Print |
shipment type+ order number + shipment number +label device |
Sales Shipment Commercial Invoice |
OSCI |
Shipment Commercial Invoice |
shipment type+ order number + shipment number +label device |
|
|
|
|
RMA Acknowledgment |
RMAA |
RMA Acknowledgment Print |
RMA number + label device |
RMA Packing Slip |
RMAP |
RMA Packing Slip Print |
RMA number + label device |
|
|
|
|
Bill of Lading |
BLP |
Bill of Lading Print |
BOL type + BOL number + label device |
Commercial Invoice |
BCI |
Commercial Invoice Print |
BOL type + BOL number + label device |
|
|
|
|
Shop Paper |
MSP |
Shop Paper Print |
mfg branch + mfg order number + label device |
Mfg Order Picking List |
MOPK |
Manufacturing Picking List Print |
shipment type + order number + shipment number + label device |
Location Movement Ticket |
LWMP |
Location Movement Ticket |
issue/adj number+ label device |
No title |
ECOL |
ECO Print |
ECO number + label device |
|
|
|
|
Purchase Order |
VOP |
PO Print |
po number + label device |
Return/Vendor Shipment |
RTSP |
Vendor Shipment Print |
shipment type + order number+ shipment number + label device |
|
|
|
|
Receiver |
VRP |
Receiver Print |
receiver number + label device |
|
|
|
|
Transfer Picking List |
OPK |
Picking List Print |
shipment type + order number + shipment number + label device |
Transfer Packing Slip |
OPAK |
Packing Slip Print |
shipment type + order number + shipment number + label device |
Transfer Picking List |
ITP |
Transfer Print |
transfer number + label device |
Transfer Shipment Commercial Invoice |
OSCI |
Shipment Commercial Invoice |
shipment type+ order number + shipment number +label device |
|
|
|
|
Customer AR Statement |
RS |
Statement Print |
customer number + label device |
|
|
|
|
Vendor Quote Request |
VMMS |
Request quote from Vendor Price Maintenance |
RFQ number + label device |
Material Release Schedule |
VCRP |
Material Release Schedule Print |
Schedule number + label device |
|
|
|
|
Project Vendor Quote Request |
PRFQ |
Project Vendor Quote Request |
For future use |
Customer Project Estimate |
PCPS |
Customer Project Estimate |
prj type + project number + label device |
|
|
|
|
Invoice |
RP |
Invoice Print |
shipment type+ order number+ shipment number + label device |
Sample Report Generator specification
!O1CARD - generates labels/cards when OP is printed with warehouse_ ! bin location ! LOG SP1 INPUT SO.LN SETBEGIN (EC);(LA) DEFINE SEL.REC=SUB(SYS.COMMON$,1,12);12 DEFINE L.DEV=SUB(SYS.COMMON$,13,5);5 DEFINE TO.RNG=SEL.REC+"999";15 RANGE FROM SEL.REC TO TO.RNG USING O1.TO.I1AB IFDEF MAX.PICK.QTY NE 0 AND QTY.OPEN GT MAX.PICK.QTY DEFINE W.B=" /"+"FLOOR ";11 DEFINE PRIME.LOC="PRIME LOC: "+WAREHOUSE.CODE+"/"+BIN.LOCATION;24 ELSEDEF DEFINE W.B=WAREHOUSE.CODE+"/"+BIN.LOCATION;11 DEFINE PRIME.LOC=" ";24 ENDDEF SORTUSING W.B;ITEM.NUMBER DEFINE SPL.MSG="PICK LABELS FOR ORDER: "+SEL.REC;40 PRINTER L.DEV,,SPL.MSG LINES 0 REPORT SPACES 2 DEFINE EXT.WGHT=WEIGHT.PER.UOM*QTY.OPEN;9.4;WEIGHT PRINT (BD);(10C);(DH);(CR);(LF); "*** SALES ORDER PICKING TAG ***"; "WHS/BIN: ";W.B;(CR);(LF);(LF); " S/O: ";ORDER.NUMBER;(0B);(BH=3);ORDER.NUMBER;(CR);(LF);(XB); "LINE: ";LINE.NUMBER;(0B);LINE.NUMBER;(CR);(LF);(XB); "ITEM: ";ITEM.NUMBER;PRIME.LOC;(CR);(LF); (CP);(0B);ITEM.NUMBER;(CR);(LF);(XB);(10C); "DESC: ";DESCRIPTION; " UOM: ";STOCKING.UOM;(CR);(LF);(LF); " QTY: ";QTY.OPEN;(0B);QTY.OPEN;(CR);(LF);(XB);(FF) END !Other Options
If you output directly to a QANTEL Print Connector printer, you can use printer mnemonics to control character size and placement on the label. Alternatively, use Zebra ZPL to print to a thermal transfer printer or output to a sequential file and use SAMBA to transfer the data to a third-party application.