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. Print only invoices from current year on acq-s-order-info

    Print only invoices from current year on acq-s-order-info

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Question
    2. Answer
    • Article Type: Q&A
    • Product: Aleph
    • Product Version: 20

    Question

    Currently, when printing the acq-s-order-info slip, all invoices linked to the order are printed. We want to print only the invoices from the current year. Same for the budget transactions. How can we do this?

    Answer

    To print out only invoices that have got an invoice date and only budget transactions that have got a creation date from the current year (e.g. 2012) , you can use XSL (for-each element).

    Please do the following:

    1) Call up "acq-s-order-info.xsl" in form_eng. (Or create a new version of the file).

    2) At the top of the XSL-file add element xsl:for-each

    example:

    - for the budget transactions

    <!--section-02 (GRID)-->
    <!--xsl:for-each select="//section-02"-->

    <xsl:for-each select="//section-02[substring(z601-open-date,7,4)='2012']">

    <xsl:if test="position() = 1">
    <xsl:call-template name="section-02">
    <xsl:with-param name="header" select="'header'"/>
    </xsl:call-template>
    </xsl:if>
    <xsl:call-template name="section-02"/>
    </xsl:for-each>


    - for the invoices

    <!--section-03 (GRID)-->
    <!-- xsl:for-each select="//section-03" -->

    <xsl:for-each select="//section-03[substring(z77-i-date,7,4)='2012']">

    <xsl:if test="position() = 1">
    <xsl:call-template name="section-03">
    <xsl:with-param name="header" select="'header'"/>
    </xsl:call-template>
    </xsl:if>
    <xsl:call-template name="section-03"/>
    </xsl:for-each>


    3) Use util i/6 to recreate the print template package.

    4) Now click on button "Print" for a standing order or serials order in the Order List in the Acquisitions module. The invoices and budget transactions sections on the acq-s-order-slip printout now have only records from the current year (e.g. 2012).

    Category: Printing (500)


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Print MARC Tags format from GUi search Print/Send is not working
      • Print or Save file on PC" does not work
    • 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:Q&A
    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