Language can be trouble in API integration with Fusion. In Norway we have special letters Æ,Ø, Å which is not in the English alphabet. Name of Counties are written differently than in English. Italia = Italy, Tyskland=Germany, etc.
When developing a Supplier Integration in APEX, I used my own user as a Integration user. I prefer using American English in my setup. If googling something all menu options and solutions uses American English, so much easier to find stuff when using English.

As the projects goes along, logon to ERP is changed to Azure logon. We now have an Integration user. We don’t know the password for this user. When calling the supplier API to set address with this payload:
{
"AddressName": "Pay",
"Country": "Italy",
"AddressLine1": "Tutti Frutti",
"Building": "3",
"City": "VERONA",
"PostalCode": "12",
"AddressPurposeRemitToFlag": "true",
"AddressPurposeOrderingFlag": "true"
}
Note: Country is Italy and not Norwegian name for Italy, which is Italia.
Response from API:
Applying List binding LOV_Country with given set of values leads to no matching row for a row of type :SupplierVO_addresses_SupplierVOToSupplierAddressVO_SupplierAddressVO, key oracle.jbo.Key[300000011902239 300000011902240 300000011838321 300000011838320 null null null null ]
If i put “Italia” into the Payload, everything is fine. The integration user is set up with Norwegian as language. How to change this when we can not logon with the user?
Setting language through API?
Through a cloud community article I found some information about setting language through an API. Article: Is there REST API available to update user preferences, such as language preference. — Cloud Customer Connect
I tried setting US as language for the integration user and get’s 200 OK back. I used GET to find the user id in the url. I browsed the users until I found the actual user. By running GET afterward, I can see that language is changed.

When testing the address integration again, still the same error. Before I changed the language to US it was already set to “en”. Tried “us” with small letters, but no luck. Then I tried to list out the language setting for all users using below report query in BI.
SELECT po.profile_option_name,
NVL(users.user_name,'SITE'),
pov.profile_option_value
FROM fusion.fnd_profile_options po,
fusion.fnd_profile_option_values pov,
fusion.fnd_session_users users
WHERE po.profile_option_id = pov.profile_option_id
AND pov.level_value = users.user_guid(+)
AND po.profile_option_name IN ('FND_LANGUAGE')
In this report I can not find my integration user. This is probably because the user have never logged on to the GUI of ERP. It gets it data from fnd_session_users, fnd_profile_options and fnd_profile_option_values. My Azure user is in the report.
Trying to change the language for my private azure user through this API does not change anything. When running the report, everything is the same.
Where this API has effect and for what I don’t know.
Changing language for a user inside Oracle Fusion
In a support case debating how to restrict access to “Manage Administrator Profile Values”, I found the menu item I needed. “Manage Administrator Profile Values allows for changing the language for the integration user.
Under Setup and Maintenance inside Fusion. Click the Menu Icon to the right.

Choose “Search” and search for: “Manage Administrator Profile Values”

Input “FND_LANGUAGE” as Profile Option Code and press “Search”. You can change the site value to “American English.” Alternatively, add the Integration user to the list. Then set it up with American English. I did the latter. Since the new integration user was not in the list of language setup, it got the Norwegian site setup.
Now the Integration runs smoothly again. Cases like this can take a long time to figure out.

Leave a Reply