Importing Partner Source Files

This chapter provides an overview of the catalog source layouts and discusses how to:

Click to jump to parent topicDefining Catalog Source Layouts

To define the sources for catalog data use the Define Data Source (EOCM_REG_DATA_SRC) component.

This section provides an overview of data source types and discusses how to:

You can use sample files to assist you when defining the layout.

This step need only be performed once as long as the format of the partner's source files do not change. This step can be performed by either the partner or an enterprise catalog manager.

Note. Functionality to define shared master catalog sources and allow partners to define their own data sources exists.

Click to jump to top of pageClick to jump to parent topicUnderstanding Data Source Types

Catalog Management supports:

Catalog Interchange Format (CIF)

The field names on the Source Fields page of the catalog source will be defined based on the field names defined in the header section of the CIF file. If the field names have not been defined, Catalog Management will use the fields listed below:

Important! An error message will display when you attempt to upload a CIF file that does not have a .cif extension, CIF_I_V3.0 as the first row in the data file, or contains less than 12 columns of data.

Field Name

Field Type

Supplier ID

Character

Supplier Part ID

Character

Manufacturer Part ID

Character

Item Description

Character

SPSC Code

Character

Unit Price

Number with Decimal

Unit of Measure

Character

Lead Time

Number without Decimal

Manufacturer Name

Character

Supplier URL

Character

Manufacturer URL

Character

Market Price

Number with Decimal

Additional fields will be automatically created and named sequentially, starting with FIELD1, FIELD2, and so on.

Character

Catalog Update Process (CUP)

The CUP format is only supported if eProcurement is installed. eProcurement users will be required to use the ePro visual basic executable to export the CommerceOne Microsoft Access Database file to a flat file. The fields exported are predefined and positioned in the same order as the list below.

Note. You must export the Microsoft Access Database Products file, which contains both product and price information.

The field names are automatically created on the Source Fields page of the catalog source, and are disabled to prevent users from making changes.

Field Name

Field Type

Length

CUP_PartUpdateID

Number

10

CreateDate

Date

10

ActionCode

Character

5

Cup_SupplierPartnerID

Number

5

TPID

Character

50

TPName

Character

100

PartNum

Character

50

PartNumExt

Character

50

UOM

Character

12

UnitPrice

Number

10.5

MfrPartNum

Character

50

MfrName

Character

50

CatLevel1

Character

120

CatLevel2

Character

120

CatLevel3

Character

120

CatLevel4

Character

120

AcctLevel1

Character

2

AcctLevel2

Character

2

AcctLevel3

Character

2

AcctLevel4

Character

2

LeadTime

Number

11

CurrencyCode

Character

3

EffectiveDate

Date

10

QtyMin

Number

11

ShortDesc

Character

254

LongDesc

Character

254

Click to jump to top of pageClick to jump to parent topicPages Used to Define Catalog Source Layout

Page Name

Definition Name

Navigation

Usage

Maintain Catalog Sources

EOCM_SOURCE_PAGE

Catalog Management, Catalog Management Home, Maintain Catalog Source

Catalog Management, Catalogs, Maintain Catalog Sources

Choose to define either a catalog source or a master catalog source.

Define Catalog Source - Source Definition

EOCM_DATA_SRC_1

Catalog Management, Catalog Management Home Page, Maintain Catalog Source

Select the Define Catalog Source link located on the Maintain Catalog Source page.

Catalog Management, Catalogs, Maintain Catalog Sources

Select the Define Catalog Source link located on the Maintain Catalog Source page.

Specify the file format to use to import the partner source catalog data.

Define Catalog Source - Source Fields

EOCM_DATA_SRC_2

Catalog Management, Catalog Management Home Page, Maintain Catalog Source, Define Catalog Source, Source Definition, Source Fields

Catalog Management, Catalogs, Maintain Catalog Sources, Define Catalog Source, Source Definition, Source Fields

Specify the fields contained in the source file. Identify character qualifiers for particular fields and characters that should be stripped from the data.

Click to jump to top of pageClick to jump to parent topicDefining the File Format

Access the Maintain Catalog Sources - Source Definition page (Catalog Management, Catalogs, Maintain Catalog Sources, Source Definition).

Partner ID and Catalog Source

These two values combined form a unique ID for the catalog source file.

Delimiter Type

Select the delimiter type used to separate each field value in this file. Choose from Comma, Semi Colon, Space, Tab, Fixed Length, Other. If Other is selected, a new field appears for you to enter the delimiter value, such as: % or $.

If Fixed Length is selected, the Upload Sample File button is hidden, and the user must manually define the fields on the Maintain Catalog Sources - Source Fields page.

Note. You can select a value for flat files only. The field is disabled with the value Comma preselected for CIF and CUP files. The field is not visible for xCBL files.

First Line

Specify if the first line of the file contains headings or data.

If you select Headings, the values located in the first line of the uploaded sample file become the field names. If you select Data, the field names need to be added manually on the Maintain Catalog Sources - Source Fields page.

Note. You can select a value for flat files only. The field is disabled with the value Headings preselected for CIF files and Data preselected for CUP files. The field is not visible for xCBL files.

Subsequent Lines

Specify if subsequent lines of the file contain data or nothing.

Data is used for determining the field type and length from the sample file.

Note. You can select a value for flat files only. The field is disabled with the value Data preselected for CIF and CUP files. The field is not visible for xCBL files.

Source Data Object

Enter a unique name, up to 30 characters. For example, use the partner ID and catalog source, such as 1001_OFFICESUPPLIES.

This field creates a source data object for Data Transformer and is used as a source for the catalog map definition.

Flat File, xCBL, CIF, or CUP

Select the file type.

By

Displays the user ID of the person who created or updated this catalog source.

Created Date Time and Last Update DateTime

Displays the date and time that this catalog source was created and updated.

Upload Sample File

Click to upload a sample file. A page appears to enter the navigation path to the location of the sample file. Click Upload.

The system reads the file and determines the format of the fields. When complete, the Maintain Catalog Sources - Source Fields page is displayed with the source field definitions.

Alternatively, navigate to the Maintain Catalog Sources - Source Fields page and add rows to reflect the structure of the file.

Click to jump to top of pageClick to jump to parent topicSpecifying File Fields

Access the Maintain Catalog Sources - Source Fields page (Catalog Management, Catalogs, Maintain Catalog Sources, Source Definition, Source Fields).

Note. Source field information is automatically completed when the sample source file is uploaded. However, the information can be changed or entered manually.

Field Name

Enter the field name for each column of data.

This information is extracted from the first line of the sample file, if you indicated that the file contains headings.

Note. This field is read-only for xCBL files.

Field Type

Select the field type for each column of data. Choose from Character, Date, DateTime, Number, Signed Number, and Time.

Field Length and Decimal Positions

Enter the field length for each column of data. For number fields, include decimal positions.

Qualifier

Specify a character as a qualifier for a field.

For example, if the format of the file is comma-separated value (CSV), and the item description field contains data with embedded commas, it can be qualified by enclosing the data in quotes. In this case the " character is the qualifier. When the data is imported, the item description is imported with the embedded commas.

Strip Characters

Specify characters to strip from a field.

For example, if a price field has data starting with a $ sign, the user specifies the $ character in this field. During the import process, the $ character is stripped from the price data. The user can specify multiple characters for each data field.

View Sample File

Select to view the sample file.

A new browser window opens with the content of the file.

Note. This button is hidden if the delimiter type is fixed length.

Attachments and Images

To utilize all the benefits of the attachments and images feature, you will need to define a catalog source layout with the addition of four new fields that must be mapped to these enterprise catalog fields:

The following figure shows the fields in the partner source data file that contains the name of the attachment files, their extension names, and the path to their location.

To avoid duplicate entries, the system assigns the Vendor Item ID and UOM fields as pseudo key fields. To allow for the association of multiple attachments to a single offering, the system also assigns the field File Name as a pseudo key field.

When the catalog source layout is defined, import the partner source data file. No changes have been made to the import process. Once imported, the data is available to be transformed and loaded into the enterprise catalog.

Click to jump to parent topicDefining Master Catalog Source Layouts

This section provides an overview of master data source and map concepts, and discusses how to define master catalog sources.

Click to jump to top of pageClick to jump to parent topicUnderstanding Master Catalog Source and Map Concepts

Using one master catalog source layout and one related master catalog map for multiple partners allows customers to standardize the format that partners must use to transmit catalog offerings. In turn, a standardized format prevents customers from having to create and maintain several sources and map definitions, which can be very time-consuming and costly.

A master catalog source and related master map will provide the ability to:

Note. Functionality to allow partners to define their own catalog sources and map definitions also exists.

Click to jump to top of pageClick to jump to parent topicPages Used to Define Master Catalog Sources

Page Name

Definition Name

Navigation

Usage

Define Master Catalog Source - Source Definition

EOCM_DATA_MST

Catalog Management, Catalog Management Home Page, Maintain Catalog Source

Select the Define Master Catalog Source link located on the Maintain Catalog Source page.

Catalog Management, Catalogs, Maintain Catalog Sources

Select the Define Master Catalog Source link located on the Maintain Catalog Source page.

Specify the file format to use to import the partner source catalog data.

Define Master Catalog Source - Source Fields

EOCM_DSMST_FLDS

Catalog Management, Catalog Management Home Page, Maintain Catalog Source, Define Master Catalog Source, Source Definition, Source Fields

Catalog Management, Catalogs, Maintain Catalog Sources, Define Master Catalog Source, Source Definition, Source Fields

Specify the fields contained in the source file. Identify character qualifiers for particular fields and characters that should be stripped from the data.

Define Master Catalog Source - Source Partners

EOCM_DSMST_PRT

Catalog Management, Catalog Management Home Page, Maintain Catalog Source, Define Master Catalog Source, Source Definition, Source Partners

Catalog Management, Catalogs, Maintain Catalog Sources, Define Master Catalog Source, Source Definition, Source Partners

Identify the partners that will share this master catalog source layout.

Click to jump to top of pageClick to jump to parent topicDefining Master Catalog Sources

Access the Source Partners page (Catalog Management, Catalogs, Maintain Catalog Sources, Define Master Catalog Source, Source Partners) for defining partners.

The source definition page used to define a master catalog source, is similar to the source definition page used to define a catalog source for a single partner. The only difference is the way partners are associated to the source format. When defining a catalog source for a single partner the key fields are setID, partner ID, and Catalog Source. Values for these fields are entered on the Search page. When defining a master catalog source the key fields are setID and Catalog Source. Partners who will share this source format are identified on the Source Partners page.

To identify partners:

  1. Go to the Source Partners page.

  2. Add the partners that will share this source layout.

    Click the Insert All Partners button to automatically add all partners registered in Catalog Management. Click Delete All Partners to remove all partners from the list.

  3. Click Save to capture changes.

Click to jump to parent topicImporting Source Data

This section provides an overview of the source data import process and discusses how to:

Note. This activity can be performed by the partner if the partner has been granted privileges.

See Also

Assigning Partners and Granting Privileges

Click to jump to top of pageClick to jump to parent topicUnderstanding the Source Data Import Process

When a partner changes a source file, such as adding new offerings, deleting offerings, or updating prices, the catalog management business process flow cycle begins, starting with the process of importing the updated source file into a temporary table in Catalog Management. Once imported, the data is available to be transformed and loaded into the enterprise catalog.

Managing Errors

The system allows the import process to run to completion even if errors are encountered. The system captures the error information and presents the user with this set of options:

Click to jump to top of pageClick to jump to parent topicPages Used to Import Source Data

Page Name

Definition Name

Navigation

Usage

Import Catalog Sources

EOCM_IMPORT_PAGE

Catalog Management, Catalog Management Home, Import Catalog Source

Catalog Management, Catalogs, Import Catalog Source

Choose to import either catalog sources or a master catalog source.

Import Catalog Sources

EOCM_DS_LOAD_1

Catalog Management, Catalog Management Home, Import Catalog Source, Import Catalog Sources

Select the Import Catalog Sources link located on the Import Catalog Sources page.

Catalog Management, Catalogs, Import Catalog Sources, Import Catalog Sources

Select the Import Catalog Sources link located on the Import Catalog Sources page.

Import partner offering data from a partner source file.

Import Master Catalog Sources

EOCM_DS_LOAD_M

Catalog Management, Catalog Management Home, Import Catalog Source, Import Catalog Sources

Select the Import Master Catalog Source link located on the Import Catalog Sources page.

Catalog Management, Catalogs, Import Catalog Source, Import Catalog Sources

Select the Import Master Catalog Source link located on the Import Catalog Sources page.

Import partner-offering data using a shared catalog source definition.

Import Status Details

EOCM_DS_STATUS_SEC

Catalog Management, Catalog Management Home Page, Import Catalog Source

Catalog Management, Catalogs, Import Catalog Sources

Click the Status link located on the Import Catalog Sources page.

View detail import process information for a particular file.

Data Source Import Error Detail

EOCM_DS_ERR_SEC

Catalog Management, Catalog Management Home Page, Import Catalog Source

Catalog Management, Catalogs, Import Catalog Sources

Click the View Errors button.

View details of errors that occurred during the import process.

Click to jump to top of pageClick to jump to parent topicImporting Partner Source Data Into PeopleSoft Catalog Management

Access the Import Catalog Sources page (Catalog Management, Catalogs, Import Catalog Sources).

This page shows the import history for the selected partner ID and catalog source. From this page you can view or delete previously imported data files, or add a new file to be imported.

Partner ID and Catalog Source

Values are based on the source layout you selected on the Import Catalog Sources Search page.

Append

Select to append additional files to the associated file.

Note. The check box will be disabled for files that have been imported successfully.

Status

Click the link to go to the Import Status Details page and view more detail information about the status of the import process.

See Importing Partner Source Data Using a Master Catalog Source.

Upload

Click to upload the source file. Use the browse button to locate and select the desired file. Once selected, the path to the file is displayed. Click the Upload button to upload the file and return to the Import Catalog Sources page. The name of the selected file appears in the Attached File field, and the status of the file is Uploaded.

Note. The View File and Import buttons are now active.

View File

Click to review the contents of the source file.

Import

Click to import the offering data into Catalog Management.

A process request is submitted. Click the Process Monitor link to monitor the status of the request. The status of the file changes to Imported when the file has been successfully imported. Click the Refresh button to update the status.

Note. This button becomes inactive once the file has been imported.

View Errors

If an error occurs, the status is updated to Error when you click the Refresh button. This button becomes active. Click to view and correct import errors.

Rows Imported, Success Rows and Error Rows

Displays the total number of rows imported, the number of rows imported successfully, and the number of rows that caused errors.

Add File

Click to add a new row. The next sequence number appears in the SeqNum field.

Note. The import process leverages PeopleTools file attachments, which can be configured to use either the FTP or HTTP transfer protocol. File attachments are supported by using PeopleCode built-ins that implement the transfer of a file to or from a browser using the application server.

Import Status Details

Access the Import Status Details page (click the Status link on the Import Catalog Sources page).

Use the Import Status Details page to view more detailed import process information for the selected file.

See Also

Defining Catalog Source Layouts

Enterprise PeopleTools 8.50 PeopleBook: PeopleCode Developer's Guide.

Enterprise PeopleTools 8.50 PeopleBook: PeopleSoft Process Scheduler.

Click to jump to top of pageClick to jump to parent topicImporting Partner Source Data Using a Master Catalog Source

The process of a master catalog source definition is similar to the process you use for importing partner-offering data using a catalog source definition for a single partner. The only difference is when you select the catalog source you want to import. In the master catalog source situation, the same catalog source may be listed multiple times in the search results.

To select a master catalog source to import:

  1. Access the Import Catalog Sources page.

  2. Click the Import Master Catalog Source link.

    The Import Master Catalog Source search page appears.

  3. Select the desired master catalog source file by setID, partner ID, and catalog source.

    If multiple partners have been identified to share a specific master catalog source, that source file will be listed multiple times in the search results.

Click to jump to top of pageClick to jump to parent topicViewing and Correcting Import Errors

Access the Data Source Import Error Details page (click the View Errors button on the Import Catalog Sources page).

Partner ID, Catalog Source and Sequence Number

Values are based on the information from the Import Catalog Sources page.

Line Number

Displays the row in the source file where the error occurred.

Field Name

Displays the name of the field that caused the error.

Text

Describes the error.

Delete Errors

Select to delete error rows from a specific imported file.

Remove Imported Data

Select to remove all the imported data from a specific file.

Export Error Data

Select to export the error rows to a flat file.

Note. Once exported, you make corrections, and then re-import the data using the Append Data feature. The corrected data will be appended to the rows that were imported successfully.

See Also

Enterprise PeopleTools 8.50 PeopleBook: PeopleCode Language Reference.

Enterprise PeopleTools 8.50 PeopleBook: PeopleCode Developer's Guide.