Import Your Sales Territory Resource Data
You can use Import Management to create or delete Sales Territory Resource records.
To import Sales Territory Resource records, perform the following tasks:
-
Map your source data to Oracle Applications Cloud object attributes.
-
Create source Comma Separated Values (CSV) file for import.
-
Create the import activity.
-
Review the import results.
How You Map Your Source Data to Object Attributes
To import your Sales Territory 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 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.
-
When creating a territory, the sales territory import file must be imported before importing the sales territory resource, sales territory coverage, or sales territory line of business import files.
-
-
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
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 option to uniquely identify an object record is through the Public unique identifier. If you're creating new records, then you can provide the appropriate user-friendly public unique identifiers (attributes denoted with 'Number' and usually visible in the business object's UI). For the Sales Territory Resource object, the attributes are UniqueTerritoryNumber and ResourcePartyNumber. If you delete a sales territory resource record, you can use a combination of the UniqueTerritoryNumber and ResourcePartyNumber attributes to identify the appropriate record. Oracle recommends that you don't update the Sales Territory Resource object. For example, to update the FunctionCode of the record; instead delete the record and then create a new record with the correct FunctionCode value.
Required Attributes and Validations for the Sales Territory 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. The following table lists the required attributes for importing new Sales Territory Resource records, required attributes for deleting Sales Territory Resource records, prerequisite setup tasks for the attributes, and specific validations, if any, for Sales Territory Resource import:
Attribute |
Description |
Data Type |
Prerequisite Setup Task/ Import Validations |
Creating a Sales Territory Resource Record |
Deleting an Existing Sales Territory Resource Record |
---|---|---|---|---|---|
UniqueTerritoryNumber |
The public unique identifier number of the territory |
Text |
Not applicable |
Required |
Required |
ResourcePartyNumber |
The public unique identifier number of the resource |
Text |
Not applicable |
Required. |
Required |
FunctionCode |
The code of the function (or role) of the territory member |
Text |
Not applicable |
Optional. Required if changing the function of the territory owner or member. |
Don't provide a value. |
AdministratorFlag |
An indicator of whether the territory member is a delegated administrator for the territory |
Text |
Not applicable |
Optional Required if changing the delegated administrator of the territory owner or member. |
Don't provide a value. |
ManageForecastFlag |
An indicator of whether the territory member is the forecasting delegate |
Text |
Not applicable |
Optional Required if changing the forecasting delegate of the territory owner or member. |
Don't provide a value. |
You can view the Sales Territory Resource 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 templates available in the Import Objects UI page to create the source CSV file. To download a template:
-
Go to
. -
Select the Sales Territory Resource object in the table and click Download.
You can now edit the downloaded file and provide valid values for the required attributes.
Create the Import Activity
After you have the CSV file ready, create an import activity to import the information. To create an import activity:
-
Go to
. -
Click Create Import Activity in the Manage Imports page.
-
In the Enter Import Options page, provide a name for the import activity, and select Sales Territory Resource from the Object drop-down list.
-
Select the CSV file in the File Name field, and click Next.
-
Under Advanced options, select the Import Mode as Create records or Delete Records.
-
You would see that the source and target attributes are automatically mapped in the Map Fields page. Review and edit the mappings if required.
-
The ResourcePartyNumber isn't automatically mapped to the Resource Registry ID. Use the Save As option to create a mapping, name the mapping and map the Resource Registry ID target attribute to the Source File ResourcePartyNumber attribute, by dragging the target attribute to the Attribute Display Name. Select and apply this new import mapping in the Map Fields page of a future sales territory resource import activity.
-
-
Check the file for unmapped columns or data format issues by clicking Validate Data. Click Next.
-
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:
-
Go to
. -
Click All Imports and search for the import activity that you created earlier.
-
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.