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. ARC report with just past week or month

    ARC report with just past week or month

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers

     

    • Product: Aleph
    • Product Version: ARC 2, 3
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Question    
    Is there a way to run an ARC report once per week or month and include only the past week/month in the report?

     

    Answer    
    The periods are defined in the table PRC_CAPTION_LANGUAGE.
    This table is being built during ETL (with values hard coded in the Cobol programs).
    These are the contents of this table: 

    usmr0@CRN> select CAPTION_NAME from PRC_CAPTION_LANGUAGE;
    **** Hit return to continue ****

    CAPTION_NAME
    --------------------------------------------------
    morning
    noon
    evening
    night
    1
    2
    3
    4
    5
    6
    **** Hit return to continue ****

    CAPTION_NAME
    --------------------------------------------------
    7
    lastweek
    lastmonth
    lastquarter
    lastyear

     

    Additional Information
    A possible example for defining the last month could be the following definition. 

    [Budget Presentation Layer].[Orders].[Order Date] between _first_of_month(_add_months(current_date,-1)) and _last_of_month(_add_months(current_date,-1))

    You might look up the actual report query in Report Studio by clicking on 'XML' (Show specification) and use it as an example for new reports.


     

     

     


    • Article last edited: 26-Jun-2016
    View article in the Exlibris Knowledge Center
    1. Back to top
      • ARC Report with amount of each separate invoice
      • ARC Service Pack Schedule
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      This page has no tags.
    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