How To Access The Country Selected As Preference Of The Current User (Doc ID 2289692.1)

Last updated on JULY 24, 2017

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.12.1.0.0 and later
Information in this document applies to any platform.

Goal

How do you get the phone's country code by user?

Is there any possibility to achieve this using groovy?

We already tried code like
def var_userProfile = var_securityContext.getUserProfile()
def vat_Country = var_userProfile.getBusinessCountry()
but here vat_Country returns null.

The code
def userLocale = adf.context.getLocale();
returns the selected language and therefore is not suitable eithe

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms