Import Your Price Book Line Data
You can use the Import Management functionality to create or update Price Book Line records.
To import Price Book Line 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 Target Object Attributes
To import your Price Book Line data into Oracle Applications Cloud, you need to 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 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
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 for uniquely identifying 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 Price Book Line object, this attributes are InvItemId, InvOrgId, PricebookId and PricebookItemId.
-
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 Price Book Line object, the attributes are ItemNumber and PricebookCode.
Required Attributes and Validations for Price Book Line 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 importing new Price Book Line records, required attributes for updating Price Book Line records, prerequisite setup tasks for the attributes, and specific validations, if any, for Price Book Line import:
Attribute |
Description |
Data Type |
Data Length |
Prerequisite Setup Task/ Import Validations |
Creating a Price Book Line Record |
Updating an Existing Price Book Line Record |
---|---|---|---|---|---|---|
InvItemId |
The internal identifier of the item or the product for which the list price is specified. |
Long |
18 |
Ensure that the data used is part of the BASE usage catalog hierarchy. |
A value is required if the primary key is used. |
Not required |
PriceUOMCode |
The internal code of the unit of measure in which the item or the product is priced. |
String |
30 |
This is validated for the applicable UOM for the item used. |
Required |
Optional |
ItemNumber |
The number of the item for which the list price is specified. |
String |
300 |
Ensure that the data used is part of the BASE usage catalog hierarchy. |
A value is required if the PUID is used. |
A value is required if the PUID is used. |
PricebookItemId |
The internal identifier of the price book item. |
Long |
18 |
This is auto generated. |
A value is auto generated. |
A value is required if the primary key is used. |
PricebookId |
The internal identifier of the price book which is the parent of this price book line. |
Long |
18 |
Parent record primary key |
A value is required, if the primary key is used. |
Not required |
PricebookCode |
The unique identifier of the price book |
String |
80 |
Parent record PUID |
A value is required if the PUID is used. |
A value is required if the PUID is used. |
ListPrice |
The list price of the item or the product referred in the inventory item ID |
BigDecimal |
Ensure that this value is greater than zero for price books either in "ACTIVE" or "EXPIRED" status. |
A value is required, if the price book is either in the "ACTIVE" or "EXPIRED" status. |
Optional |
|
ItemExternalSource |
The external key and source key from the source system are used to uniquely identify and update or delete the price book line |
String |
120 |
Ensure that the combination of ItemExternalSource and ItemExternalKey is unique. |
Not required |
Optional |
ItemDescription |
A brief description of the price book item |
String |
No validation |
Not required |
Not required |
|
InvOrgId |
The unique identifier of the inventory organization |
Long |
18 |
Validate for the applicable organization ID for the selected item. |
A value is required, if the primary key is used. |
Not required |
CurrencyCode |
Specifies the currency associated with the price book header |
String |
15 |
Validate for the existing currency code. |
Not required |
Optional |
ItemExternalKey |
The external key and source key from the source system are used to uniquely identify a price book which is the parent of this price book line |
String |
120 |
Ensure that the combination of ItemExternalSource and ItemExternalKey is unique. |
Not required |
Optional |
You can view the Price Book Line object along with all its child objects 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 Price Book Line 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
To import data into Oracle Applications Cloud, you need to create an import activity and provide the CSV file as an input to the activity.
To create an import activity, do the following:
-
In the Navigator, under Tools, click Import Management.
-
On the Manage Imports page, click Create Import Activity.
-
In the Enter Import Options page, provide a name for the import activity, and select Price Book Line from the Object drop-down list.
-
In File Name, browse and upload the required .CSV file, and click Next.
-
In the Map Fields page edit the attribute mappings if required, and click Next.
Note: Click Validate Data to validate the mapping of the source file for unmapped columns and to check for data format issues. -
In the Create Import Activity: Review and Submit page, click Submit.
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.