Import Your Contract Party Data

You can use Import Management to create or update Contract Party records.

To import Contract Party 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 Object Attributes

To import your Contract Party data into Oracle Applications Cloud, you must 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.

  • Ensure prerequisite setups are done, if applicable.

  • Understand your options for uniquely identifying the records.

  • Ensure parent records exist before importing child records.

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

Before You Start

You must do some basic checks before starting your import. For example:

  • Complete all the prerequisites for importing each attribute in your source data.

  • Have all parent records in place before importing child records.

Select a Unique Identifier for Your Records

To import data into Oracle Applications Cloud, your CSV file must include some specific attributes that enable the import process to uniquely identify the records. The file import process uses the attribute values to automatically map your source data to the target object attributes in Oracle Applications Cloud.

The preferred options to uniquely identify an object record are as follows:

  • Internal ID: If you're identifying a record that already exists in Oracle Applications Cloud, then you can use the internal ID of the record, a system-generated unique identifier attributes with "ID" in the attribute name are typically internal IDs. You can determine the internal ID of a record by exporting Oracle Applications Cloud object data, or by doing a transactional database query. Using an internal ID typically provides better performance and reduces the import duration. For the Contract Party object, the attributes are Id and Party Id.

  • Public unique identifiers: If you're creating new records, then you can provide a user-friendly public unique identifier (attributes denoted with 'Number' and usually visible in the business object's UI). If you update a record for which you have previously provided a Number attribute, or for which a Number attribute is visible in the object's UI, you can use the Number attribute to identify the record. For the Contract Party object, the attributes are Party Number, Party Role PUID, and Contract PUID.

Required Attributes and Validations for the Contract Party 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. The following table lists the required attributes for importing new Contract Party records, prerequisite setup tasks for the attributes, and specific validations, if any, for Contract Party import:

Attribute

Description

Prerequisite Setup Task/ Import Validations

Creating a Contract Party Record

Updating an Existing Contract Party Record

ContractPuid

The unique PUID that identifies the contract.

This must be a valid Contract PUID.

Conditionally Required. Provide a value if Id isn't provided.

Not required

Id The unique identifier of the contract. This must be a valid identifier. Conditionally Required. Provide a value if ContractPuid isn't provided. Not required

PartyRolePuid

The unique identifier for the party record

This must be a unique PUID for all contract party records.

Required

Required

PartyRoleCode

The code that represents a party role

This must be a valid party role code defined for the contract type.

Required if the Role isn't entered.

Not required

Role

The name that represents a party role

This must be a valid party role defined for the contract type.

Required if the PartyRoleCode isn't entered.

Not required

PartyId

The unique identifier for a party

This must be a valid party - HZ_PARTIES.

Required if PartyName isn't entered or if there is more than one party with the same party name.

Not required

PartyName

The name that represents a party

This must be a valid and unique party name - HZ_PARTIES. If there is more than one party with the same party name, then you must provide PartyId.

Required if PartyId isn't entered

Not required

You can view the Contract Party object and 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 this page.

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 CSV templates available in the Import Objects UI page to create the source CSV file. To download a CSV template:

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

  2. Select the Contract Party 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 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 Contract Party from the Object drop-down list.

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

  5. 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 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.