Import Your Product Group Item Data

You can use the Import Management functionality to create or update Product Group Item records.

To import Product Group Item 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 Target Object Attributes

To import your Product Group Item 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 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 Product Group Item object, the attributes are InventoryItemId, InvOrgId, and ProdGroupId, when creating a product group item and ProdGroupItemsId, when updating a product group item.

  • 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 Product Group Item object, the attributes are ParPGReferenceNumber and ProductNumber.

Required Attributes and Validations for Product Group Item 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 Product Group Item records, required attributes for updating Product Group Item records, prerequisite setup tasks for the attributes, and specific validations, if any, for Product Group Item import:

Attribute

Description

Data Type

Data Length

Prerequisite Setup Task/ Import Validations

Creating a Product Group Item Record

Updating an Existing Product Group Item Record

ActiveFlag

Indicates whether the product group item is active or inactive.

String

1

Enter either Y or N.

Defaults to Y

Optional

StartDate

The date and time when the product group item is available in the catalog.

Time stamp

Start date can't be later than the end date.

Not required

Optional

InventoryItemId

A unique identifier for the inventory item

Long

18

No validation

Required

Not required

InvOrgId

The unique identifier of the inventory organization

Long

18

No validation

Required

Not required

EndDate

The date and time after which the product group item is no longer available in the catalog.

Time stamp

Start date can't be later than the end date.

Not Required

Optional

ProductNumber

The product number/code of the product

String

300

No validation

Required if importing the record using the PUID

Required if updating the record using the PUID

ProdGroupItemsId

Unique identifier for a product group item

Long

18

No validation

Auto generated

Required if updating the record using the ID

ProdGroupId

Unique identifier for a product group

Long

18

No validation

Required

Not required

ParPGReferenceNumber

The unique value used to identify the product group.

String

50

No validation

Required if importing the record using the PUID

Required if updating the record using PUID

DisplayOrderNum

Number indicating the order in which this product group is displayed in the sales catalog.

Long

18

No validation

Not Required

Optional

You can view the Product Group Item 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:

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

  2. Select the Product Group Item 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

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:

  1. In the Navigator, under Tools, click Import Management.

  2. On the Manage Imports page, click Create Import Activity.

  3. In the Create Import Activity: Enter Import Options page, provide a name for the import activity, and select Product Group Item from the Object drop-down list.

  4. In File Name, browse and upload the required .CSV file, and click Next.

  5. In the Create Import Activity: 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.
  6. 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:

  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.