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. How to make ret-item-02 treat statuses besides MI and MS as Missing

    How to make ret-item-02 treat statuses besides MI and MS as Missing

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Description
    2. Resolution
      1. Additional Information

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Description

    The ret-item-02 (Missing Items Report) Service treats the item processing statuses MI and MS as Missing.  We have created additional Missing statuses.  Is there some way to get ret-item-02 to treat these other statuses as Missing?

    Resolution

    Yes.  The ./pc_b_eng/ret-item-02.xml file contains the following lines

       <control>
               <hidden>
                      <argname>F07</argname>
                      <value></value>
              </hidden>
       </control>
    ...
    ...

    P-PROC-STATUS-FILTER                X(1000).      F07

    Thus, P-PROC-STATUS-FILTER is a hidden parameter which is passed to ret-item-02 with a value of spaces.  The b_ret_item_02_correct_param program has these lines:  

                IF  P-PROC-STATUS-FILTER = SPACES
                THEN
                     MOVE "MI MS" TO P-PROC-STATUS-FILTER
                END-IF.

    Which insert MI and MS as the values.

    You can change ret-item-02.xml so that it passes a non-blank value to ret-item-02.  To add "XX" as an additional Missing code, you would specify this: 

                      <value>MI MS XX</value>

    (And restart the pc_server before submitting the ret-item-02 Service.)

    Additional Information

    Note 1:  rather than changing the Ex-Libris-delivered a-tree $aleph_root/pc_b_lng/ret-item-02.xml, you should make a copy of it in your u-tree as $alephe_root/pc_b_lng/ret-item-02.xml and change that -- so that the changed ret-item-02.xml is not overwritten by future service-packs/releases.

    Note 2:  You *could* make the Process Status Filter display on the the submission screen by changing it from a hidden parameter to a displayed parameter (-- by creating "<label>" and "<display>" lines - as is done for the other parameters).  But the above is *much* simpler and works well.

      
     

     


    • Article last edited: 1-Nov-2017
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to make raw XML appear on the GUI screens
      • How to Make separate letters to the vendor by order types
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. contype:kba
      2. Prod:Aleph
    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