Example of Importing Split Revenue Lines
You can use import management to create, update, and delete split revenue lines. Split revenue lines is a type of revenue which is also known as Sales Credit.
There are two types of split revenue known as Revenue Sales Credit and Overlay Sales Credit. For more information on Split Revenue Lines or Sales Credit see Best Practices for Sales Credit in the Related Topics section.
How You Map Your Source Data to Target Object Attributes
To import your split revenue lines 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.
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 opportunity revenues or are updating opportunity revenues that have source system reference data, then provide the source system and source system reference values.
Required Attributes and Validations for Importing Opportunity Split Revenue Lines Data
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 split revenue lines records, prerequisite setup tasks and specific validations, if any:
Attribute |
Description |
Prerequisite Setup Tasks or Import Validations |
Creating a Split Revenue Line Record |
Updating a Split Revenue Line Record |
Deleting a Split Revenue Line Record |
---|---|---|---|---|---|
RevnId |
The unique identifier of the summary revenue for this Opportunity. |
Not applicable |
Not Required |
Conditionally Required Either RevnNumber or RevnId must be passed for identifying a record of Opportunity revenue. If both are passed then only the RevnId field is checked. Not passing either of these results in error. |
Conditionally Required Either RevnNumber or RevnId must be passed for identifying a record of Opportunity revenue. If both are passed then only the RevnId field is checked. Not passing either of these results in error. |
OptyId |
The unique ID for the existing opportunity record in the destination table. |
You can obtain the OptyID for an existing opportunity by exporting the Opportunity object by navigating to the following in the Setup and Maintenance work area:
|
Conditionally Required Either OptyId or OptyNumber is required. |
Not Required |
Not Required |
OptyNumber |
The public unique identifier of the opportunity. |
Not applicable. |
Conditionally Required Either OptyId or OptyNumber is required. |
Not Required |
Not Required |
RevnNumber |
Revenue Number - The opportunity revenue's unique identifier value. |
Identify the Revenue Number for an existing opportunity revenue using the Revenue Management work area and by exporting the Revenue object by navigating to the following in the Setup and Maintenance work area:
|
Not Required |
Conditionally Required Either RevnNumber or RevnId must be passed for identifying a record of Opportunity revenue. If both are passed then only the RevnId field is checked. Not passing either of these results in error. |
Conditionally Required Either RevnNumber or RevnId must be passed for identifying a record of Opportunity revenue. If both are passed then only the RevnId field is checked. Not passing either of these results in error. |
SplitParentRevnId |
The unique identifier of the split parent revenue. |
Must be a valid Revenue ID |
Required |
Not Required |
Not Required |
ResourcePartyId |
The identifier of the resource associated with the child split revenue. |
It must be a valid Resource ID |
Required |
Not Required |
Not Required |
SalesCreditTypeCode |
The code indicating the type of the sales credit, such as quota or non-quota. A list of valid values is defined in the lookup MOO_SALES_CREDIT_TYPE. |
None |
Required |
Not Required |
Not Required |
SplitTypeCode |
The code indicating the Split type of the Revenue, such as ParentSplit or ChildSplit. |
Must be a valid value as per Lookup MOO_REVN_SPLIT_TYPE. |
Required |
Not Required |
Not Required |
ProductGroupId |
The unique identifier of the product group. |
None |
Required |
Not Required |
Not Required |
Sample Input CSV File
You include the data that you want to import into Sales and Fusion Service in a source CSV file. Here is a sample .csv file to import split revenue line data:
OptyNumber |
ProdGroupId |
ResourcePartyId |
SalesCreditTypeCode |
SplitPercent |
SplitParentRevnId |
---|---|---|---|---|---|
CDRM_121495 |
100000011628005 |
100010032635399 |
QUOTA |
50 |
300100541953926 |
CDRM_121495 |
100000011628005 |
100010025532672 |
QUOTA |
50 |
300100541953926 |
Create the Import Activity
After you have the CSV file ready, create an import activity. 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 Opportunity Revenue from the Object drop-down list.
-
Select the CSV file in the File Name field, and click Next.
-
You would see that the source and target attributes are automatically mapped in the Map Fields page. Review and edit the mappings if required.
-
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.