Import Your Country Structure Data

You can use Import Management to create Country Structure records. It is recommended you use Import Management only if you're importing high-volume third-party data.

If you 're importing licensed data from one of our vendors, then you can create the country structure by navigating to Setup and Maintenance > Manage Geographies Task page.

To import Country Structure records, perform the following tasks:

  1. Map your source data to Oracle Applications Cloud object attributes.

  2. Create source Comma Separated Values (CSV) file for import.

  3. Create the import activity.

  4. Review the import results.

How You Map Your Source Data to Target Object Attributes

To import your Country Structure data into Oracle Applications Cloud, you need to populate a CSV file with your source data and map that source data to target object attributes in Oracle Applications Cloud.

You need to do the following before creating the CSV file for data import:

  • Identify how your source data attributes map to the target object attributes in Oracle Applications Cloud.

  • Identify the target object attributes that are required in the CSV file for a successful import.

Required Attributes and Validations for Country Structure Object

To import data successfully into Oracle Applications Cloud, your CSV file must include values for the required attributes. This table lists the required attributes for importing new Country Structure records, prerequisite setup tasks for the attributes, and specific validations, if any, for Country Structure import:

Attribute

Description

Prerequisite Setup Task/ Import Validations

Creating a Country Structure Record

CountryCode

The code for the country for which the country structure is applicable.

The GeographyType has to be "Country" and the LevelNumber has to be "1" for a country.

You can't pass different country codes when importing a record.

Yes

GeographyType

Geopolitical divisions such as Country, State, City, and so on. For example, for US the different geography types would be State, County, City, and Postal Code. For India, the different geography types would be State, District, City, and Postal Code. For Mexico, it would be State, Municipality, Locality, and Postal Code.

The country has to be present.

Yes

LevelNumber

You need these to create parent-child relationships between geography types for your country. The values can be 1, 2, 3, and so on.

To define a country, you must specify the LevelNumber as 1.

Yes

You can view the Country Structure object and its attributes in the Manage Import Objects page of the Import Management flow. You can find attribute information like type, length, description, and so on, on the Manage Import Objects page. You can view the list of valid values for country codes in the UI by navigating to the Manage Geographies task and searching with % as the Country Code value. For more information on Geographies, see Overview of Geographies, Geographic Entities, and Locations in the Related Topics section.

Note: Note the following:

Create the Source CSV File

You include the data that you want to import into Oracle Applications Cloud in a source CSV file.

You can use the templates available in the Import Objects UI page to create the source CSV file. To download a template:

  1. Go to Navigator > Tools > Import Management > Import Objects.

  2. Select the Country Structure object in the table and click Download.

You can now edit the downloaded file and provide values for the required attributes.

Note: For help in populating the CSV file and to avoid any issues in entering values, see the topic Potential Issues When Opening CSV Files With Excel in Related Topics section.

Create the Import Activity

After you have the CSV file ready, create an import activity to import the information. To create an import activity:

  1. Go to Navigator > Tools > Import Management > Import Queue.

  2. Click Create Import Activity in the Manage Imports page.

  3. In the Enter Import Options page, provide a name for the import activity, and select Country Structure from the Object drop-down list.

  4. Select the CSV file in the File Name field, and click Next.

  5. You would see that the source and target attributes are automatically mapped in the Map Fields page. Review and edit the mappings if required.

  6. Click Validate Data to check the file for unmapped columns or data format issues. Click Next.

  7. Review the import details on the Review and Submit page, and click Submit when you're ready.

Review the Import Results

Check if your import succeeded on the Manage Imports page. This page shows the status of all active, completed, and unsuccessful imports. To check the status of the import activity:

  1. Go to Navigator > Tools > Import Management > Import Queue.

  2. Click All Imports and search for the import activity that you created earlier.

  3. Check the Status column for the import activity. The import is successful if the status displays as Completed. You can drill down on the import activity to go to the Import Status page which provides the status details of the import activity. Here, you can download and review the successfully imported user data records, the mapping details used for import activity, and the data file that you provided in CSV format.