IBM Support

Order Create API call gives Currency Conversion not setup error

Troubleshooting


Problem

Order Create API call gives Currency Conversion not setup error

Symptom

PART: API 4.0 SP3 Platform
COMPONENT: activateFunction
OS: <None> - <None>
DATABASE: <None> - <None>
WEB SERVER: <None> -
WEB BROWSER: <None> - <None>

Get ther <Error ErrorCode="YFS10327" ErrorDescription="YFS: No currency conversion has been setup for these<br>currencies" ErrorRelatedMoreInfo="FROM_CURRENCY=USD&TO_CURRENCY=EUR">

when trying to create an order in USD but order creation happens if EUR is specified in the createorder xml.

Cause

Resolving The Problem

If you can create an order in one currency say EUR but not in USD then the system believes that the "enterprise currency" is EUR instead of USD. That is why it did not attempt any coversion and created the order.
Each enterprise is associated with a locale and each locale has a default currency associated with it. This is the enterprise currency.
Ensure that this currency is set to USD if your input xml is sending the currency as USD. In one case the currency for the locale was incorrectly set as EUR resulting in the application trying to find the conversion rate records but none was present.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI48791

Product Synonym

[<p><b>]Fact[</b><p>];

Document Information

Modified date:
16 June 2018

UID

swg21529020