How to check whether the issue is with Sterling API or Loftware files

Technote (FAQ)


Question

How to tackle issue with prints

Answer

Consider an issue : Extra '0' preceding ASN number in the print label

Few quick steps to check the root cause of the issue
1) Put the print service on trace
2) Print the label and collect the logs
3) Issue could be with the output XML of the Sterling API, the .pas file or the .lwl file
a) The output XML of the API would be visible in the logs and this would be the info which would be passed to the .pas. If you see the '0' in the API output itself, you will not need to go to step b) and c)
b) The information in the .pas file could be incorrect. This is the data which will be passed on to the .lwl file. You can find the name of the specific .pas file in the logs.
In the logs, data passed by the .pas file will look something like this :
*QUANTITY,1
*PAGES,1
*PRINTERNAME,MTL_RECE01_ABC
*DUPLICATES,0
PageNo,1
TotalPages,1
*FORMAT,extn/PrintLPNLabel.lwl
DCCodeName,NodeABC DC
ShipmentNo,100049625
PackSlipNo,140120
PrintDate,2012-05-11
SupplierName,Company Name
LPNBarCode,00100000001002191274
LPNNo,00100000001002191274
ReceiptNo,
TotalQuantity_1,
FromAddressLine1,VANFAX HAMILTON - 6219
FromAddressID,W6219
SupplierNo,
PageNo_1,
TotalNoOfPages_1,
*PRINTLABEL
c) If the above data is correct your next step would be to look in the .lwl file. The name of the file and its location would be present in the logs. However, to open a .lwl file you would require Loftware to be installed on the system.
Once you open a .lwl file, You can select specific components of the print label and check their properties and troubleshoot further.
In case of '0' preceding the shipment number: Issue was with the .lwl files. In the properties section of the component the 'Padding' attribute was set as 'Yes'. To fix the issue set this to 'None'.


Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Sterling Warehouse Management System

Software version:

9.0, 9.1

Operating system(s):

AIX, HP-UX, Linux, Solaris, Windows

Reference #:

1597391

Modified date:

2012-10-19

Translate my page

Machine Translation

Content navigation