X-Service: ill-item-by-bc, how to add leading zeros to z30-doc-number?
- Article Type: General
- Product: Aleph
- Product Version: 21
Problem Symptoms:
http://server:8991/X?op=ill-item-by-bc&barcode=HHHHJ&library=usm50
return among others
<z30-doc-number>238731</z30-doc-number>
<z30-item-sequence>10</z30-item-sequence>
...
can these fields be displayed with the leading zeroes ? as in the z30 table?
Cause:
Configuration
Resolution:
In ./alephe/www_x_lng/global.trn the following lines are defined as INTEGER
z30-doc-number INTEGER S
z30-item-sequence INTEGER S
Remove the above lines and the leading zeros will be displayed again:
Example
<ill-item-by-bc>
<z30><z30-doc-number>000238731</z30-doc-number>
<z30-item-sequence>000010</z30-item-sequence>
<z30-barcode>HHHHJ</z30-barcode>
Additional Information
INTEGER ?€“ Formats non-decimal numbers (integers) by suppressing leading zeros Full Information about translation can be found in non-KCS article "Translation (trn) File Options for Forms / XSL" (000015389)
Category: X-server (500) - ALEPH
Subject: ALEPH - 500
- Article last edited: 6/19/2014