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. Error in p-acq-06-b log: "Could not find ratio of currency usd for date..."

    Error in p-acq-06-b log: "Could not find ratio of currency usd for date..."

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

    Description:
    I ran the fiscal year close on our test server and the following error is in the p-acq-06-b log file:

    Error: Could not find ratio of currency usd for date...

    Resolution:
    The "Could not find ratio of currency ..." message is issued by the ./com/price_to_euro, price_to_local, and price_to_price programs. (In this case, it is the price_to_local program.)

    These messages are occurring because some of the z601 (budget transaction) records being processed by p_acq_06 have 'usd' (lowercase) as the z601_currency:

    SQL> select Z601_CURRENCY, count(*) from z601 group by Z601_CURRENCY;

    Z60 COUNT(*)
    --- ----------
    AUD 143
    CAD 57
    CHF 1
    DKK 3
    EUR 749
    GBP 646
    INR 3
    NZD 6
    USD 344990
    usd 208

    The z601_currency is supposed to be uppercase, but 208 z601 records have it in lowercase. These records with lowercase z601_currency may have been created by conversion(?)

    In the case where the program doesn't find a currency / currency ratio, it transfers the z601_active_sum to the z601_local_sum as is (without conversion). This is, of course, what you want to have happen when USD is the base currency. Thus, it may be that there is no real functional implication to this error....

    Nevertheless, we suggest that you run the following SQL to change them to uppercase:

    SQL> update z601 set Z601_CURRENCY = 'USD' where Z601_CURRENCY = 'usd';

    As a matter of policy, be sure to back up the z601 table (with p_file_03) before running this SQL.


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Error in NCIP-server etc. probably caused by Oracle error
      • Error In Password For User Name WWW-X
    • Was this article helpful?

    Recommended articles

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