Import Your Address Purpose Data

You can use the import functionality to create or update Address Purpose records.

You can import Address Purpose records using these steps:

  1. Map your source data to Oracle Applications Cloud object attributes. This way the import process would know where to insert each of the information bits.

  2. Create the source CSV file with the Address Purpose data you want to import.

  3. Kick off an import activity.

  4. Check the import results to know if the import went well.

How You Map Your Source Data to Target Object Attributes

You import Address Purpose data into Oracle Applications Cloud from a CSV file containing your source data that's mapped to target Oracle Applications Cloud object attributes.

Before you create the source data file, you should:

  • Know how your source data attributes map to the target object attributes in Oracle Applications Cloud. Match each column from the source file to an attribute in the Address Purpose import object.

  • Finish all prerequisite steps, such as understanding what attributes are required for importing your objects.

  • Know how you can uniquely identify the records.

  • Check the target object attributes required in the CSV file for a successful import.

  • Ensure that you don't insert duplicate Address Purposes while importing, to avoid redundant data.

If you want to import only a few records, then you can create a single CSV file for all Address Purpose attributes. However if you want to import a large number of records, then you may decide to create multiple CSV files, one for each of the Address Purpose child objects. Note that you must have imported the CSV file for Address Purpose object successfully before trying to import the CSV files for the child objects. There are separate help topics describing how to import each of these child objects.

Before You Start

You must do some basic checks before starting your import. For example, make sure that:

  • You have completed all the prerequisites for importing each attribute in your source data.

  • You have all parent records in place before importing child records.

Select a Unique Identifier for Your Records

All records must be unique in the application. You can use one of these to identify records:

  • Public unique identifiers: If you're creating records, then you can provide an easily understandable public unique identifier. These are, usually, denoted with 'Number' and visible in the business object's UI. PUID attributes are usually named <object> Number. If you're updating a record with a Number attribute, then use the Number attribute to identify the record. For more information about public unique identifiers, see the topic "How You Use Alternate Keys to Import Records" in Related Topics section.

  • Source system and source system reference: Source system is an identifier for the external system, and source system reference is a unique identifier within the external system. If you're importing a new Address Purpose or are updating Address Purpose records that have source system reference data, then provide the source system and source system reference values.

Required Attributes and Validations for Address Purpose Object

To import data successfully into Oracle Applications Cloud, your .CSV file must include the required attributes. Ensure that you provide valid values for the attributes.

This table lists the required attributes for Address Purpose records, prerequisite setup tasks and specific validations, if any:

Attribute

Description

Prerequisite Setup Task/ Import Validations

Creating an Address Purpose record

Updating an Existing Address Purpose record

SiteSourceSystem

The name of the external source system for the Address record to which the Address Purpose is associated.

A combination of a valid SiteSourceSystem and SiteSourceSystemReferenceValue which are already imported

Either the AddressId, Address Number or the combination of SiteSourceSystem and SiteSourceSystemReferenceValue is required.

Not required

SiteSourceSystemReferenceValue

The identifier of the source system for the address record to which the Address Purpose is associated.

A combination of a valid SiteSourceSystem and SiteSourceSystemReferenceValue, which are already imported

Either the AddressId, Address Number or the combination of SiteSourceSystem and SiteSourceSystemReferenceValue is required.

Not required

PrimaryPerType

This specifies the record that's imported as the primary key for a site use type. Specify Y for a record to set the specified site use type as the primary key.

Y, N, or NULL

Enter Y or N. Alternatively, don't enter any value. The default value is N.

Not required

Not required

AddressPurposeId

The primary key of the Address Purpose record

No validation

Not required

Conditionally Required

To identify an address purpose record, use one of these:

  • SourceSystem and SourceSystemReferenceValue

  • AddressPurposeId

Purpose

The site codes such as SHIP_TO and BILL_TO that identify the Address Purpose

The values are validated against the Lookup values for Site use codes.

Required

Not required

StartDate

The start date of the Address Purpose

The date can't be earlier than the Address start date.

Not required

Not required

EndDate

The end date of the Address Purpose

This date can't be later than the Address end date.

Not required

Not required

AddressId

The primary key of the Address record

No validation

Either the AddressId, Address Number or the combination of SiteSourceSystem and SiteSourceSystemReferenceValue is required.

Not required

AddressNumber

The public unique identifier of the address

Valid Address Number (Party Site Number)

Either the AddressId, Address Number or the combination of SiteSourceSystem and SiteSourceSystemReferenceValue is required.

Not required

SourceSystem

Name of external source system of the address purpose for the address that's associated with the account, contact, or household.

The source system should exist.

You can manage source systems from the Manage Source Systems task.

Optional

If your data source data is a third party or external system, and you intend to import updates to previously imported records from the same system, provide the original source system and source system reference values.

Conditionally Required

To identify an address purpose record, use one of these:

  • SourceSystem and SourceSystemReferenceValue

  • AddressPurposeId

SourceSystemReferenceValue

Specifies the identifier in the original source system for the Address Purpose record.

The combination of Source System and Source System Reference Value should be unique.

Optional

If your data source is a third party or external system, and you intend to import updates to previously imported records from the same system, provide the original source system and source system reference values.

Conditionally Required

To identify an address purpose record, use one of these:

  • SourceSystem and SourceSystemReferenceValue

  • AddressPurposeId

Go to Navigator > Tools > Import Management > Import Objects, to see all the attributes of the Address Purpose object. The page also lists attribute information like type, length, description, and so on.

Create the Source CSV File

You include the data that you want to import into Sales and Fusion Service 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 Address Purpose object in the table and click Download.

You can now edit the downloaded file and provide valid 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 Address Purpose information. To create an import activity:

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

  2. On the Manage Imports page, click Create Import Activity.

  3. In the Create Import Activity: Enter Import Options page, provide a name for the import activity, and select Address Purpose 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. Check the file for unmapped columns or data format issues by clicking Validate Data. 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 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.