Skip to main content
ExLibris

Knowledge Assistant

BETA
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Customize format of z30-item-sequence in missing-items-report

    Customize format of z30-item-sequence in missing-items-report

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Problem Symptoms:
    * need to customize printout missing-items-report (from service Missing Items Report (p-ret-item-02))
    * need value ./z30-item-sequence without decimal point and zero
    * printout currently has:
    1.0 or 2.0 or 3.0
    * needed is this:
    1 or 2 or 3

    Cause:
    In xxx01/form_hrv/global.trn, the following translate mechanism is configured for the z30-item-sequence:

    z30-item-sequence ITEM-SEQ S

    Resolution:
    * None of the available translate mechanisms (see document attached to KB Item 8192-7447) produces 1 or 2 or 3.
    * Solve problem via XSL:

    1. Modify print template as follows:

    missing-items-report.xsl

    ..
    <xsl:template name="section-02">
    <xsl:param name="header"/>
    <xsl:if test="$header!=''">
    <xsl:call-template name="start-grid"/>
    </xsl:if>
    <xsl:call-template name="table-start-row"/>
    <xsl:call-template name="display-grid-gen">
    <xsl:with-param name="label" select="'Inventory'"/>
    <xsl:with-param name="value" select="./inventory"/>
    <xsl:with-param name="header" select="$header"/>
    </xsl:call-template>
    <xsl:call-template name="display-grid-gen">
    <xsl:with-param name="label" select="'Doc Number'"/>
    <xsl:with-param name="value" select="./z30-doc-number"/>
    <xsl:with-param name="header" select="$header"/>
    </xsl:call-template>
    <xsl:call-template name="display-grid-gen">
    <xsl:with-param name="label" select="'Item Sequence'"/>
    <xsl:with-param name="value" select="substring-before(z30-item-sequence,'.')"/> << change like this
    <xsl:with-param name="header" select="$header"/>
    </xsl:call-template>
    ..

    2. After making the change, create new print template package via util i/6.

    Category: Printing (500)


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Customization of pc_b_eng and error_eng files in version 17-up **MASTER RECORD**
      • Customize OPAC e-mail signature block
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. contype:kba
      3. Printing (500)
      4. Prod:Aleph
      5. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved