Import Your Sales Lead Resource Data

You can use the Import Management to create, update, or delete sales lead resource records.

You can import sales lead resource records using these steps:

  1. Map your source sales lead resource 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 sales lead resource 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

To import your sales lead resource 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 must 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 steps are complete, such as understanding what attributes are required for importing your objects.

  • 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, 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 new sales lead resources or are updating sales lead resources that have source system reference data, then provide the source system and source system reference values.

Required Attributes and Validations for Sales Lead Resource 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 sales lead resource records, prerequisite setup tasks and specific validations, if any:

Attribute

Description

Prerequisite Setup Task/ Import Validations

Creating a Sales Lead Resource record

Updating an Existing Sales Lead Resource record

LeadId

The unique ID for the existing lead record in the destination table

The value provided must match the value in the LEAD_ID column of the MKL_LM_LEADS table.

Conditionally required, when you don't provide the LeadNumber

Conditionally required, when you don't provide the LeadNumber

LeadNumber

The Lead's Public Unique Identifier value

The value provided must match the value in the LEAD_NUMBER column of the MKL_LM_LEADS table.

Conditionally required, when you don't provide the LeadId

Conditionally required, when you don't provide the LeadId

LeadOrigSystem

The code that identifies the original source system for the sales lead

If providing a value and importing a new sales lead in the same import as this lead resource association, the value must be part of a unique combination of the source system reference (LeadOrigSystemReference) and the source system code (LeadOrigsystem) in the MKT_IMP_LEADS_T table.

Conditionally required, when the lead is created in the same batch as adding a new team member

Not required

LeadOrigSystemReference

The ID that identifies the original source system reference for the sales lead

If providing a value and importing a new sales lead in the same import as this lead resource association, the value must be part of a unique combination of the source system reference (LeadOrigSystemReference) and the source system code (LeadOrigSystem) in the MKT_IMP_LEADS_T table.

Conditionally required, when the lead is created in the same batch as adding a new team member

Not required

LeadResourceId

The unique ID for the existing sales team member (resource) association record in the destination table

Automatically generated by the import process

Automatically generated by the import process if creating a new record

Required

ResourceId

The unique ID for the existing resource's party record in the destination table

Provided value must match with PARTY_ID column of HZ_PARTIES table.

Conditionally required, when you don't provide the resource's source system and source system reference or the resource's user name.

Conditionally required, when you don't provide the unique ID for the record or the resource's source system and source system reference.

ResourceOrigSys

The source system code that identifies the original source system of the lead sales team members party

If providing a value, the combination of source system reference (ResourceOrigSysRef) and source system code (ResourceOrigSys) must exist in the columns ORIG_SYSTEM_REFERENCE and ORIG_SYSTEM of the HZ_ORIG_SYS_REFERENCES table.

Conditionally required, when you don't provide the resource's party ID (ResourceId)

Conditionally required, when you don't provide the unique ID for the record (LeadResourceId) or the resource's party ID (ResourceId)

ResourceOrigSysRef

The ID that identifies the lead sales team member's party in your legacy or external system

If providing a value, the combination of source system reference (ResourceOrigSysRef) and source system code (ResourceOrigSys) must exist in the columns ORIG_SYSTEM_REFERENCE and ORIG_SYSTEM of the HZ_ORIG_SYS_REFERENCES table.

Conditionally required, when you don't provide the resource's party ID (ResourceId)

Conditionally required, when you don't provide the unique ID for the record (LeadResourceId) or the resource's party ID (ResourceId)

UserName

The resources application user name.

No validation

Conditionally required, when you don't provide the resource's source system and source system reference or the resource's unique ID

Not required

PrimaryFlag

Indicates whether the resource is the Owner of the lead

The value must be either Y or N.

Conditionally required, as at least one contact for a lead has this value set to Y

Conditionally required, as at least one contact for a lead has this value set to Y

Go to Navigator > Tools > Import Management > Import Objects, to see all the attributes of the sales lead resource 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 Sales Lead Resource 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 sales lead resource 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 Sales Lead Resource 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 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.