Import Partner Records for Existing Account Records
As an administrator, you create partner records for retailers with existing account records. You can create partner records with existing account records in bulk using import and export management.
To create partner records for retailers with existing account records using import and export management:
Set the ZCM_ACC_EXACT_NAME_MATCH
profile option to TRUE
before you
create and associate a retailer sales account and associate the account
with the retailer partner record.
-
Export the existing account records.
-
Prepare comma-separated values (.CSV) file for importing the partner records.
-
Import the partner records.
The use who creates the account records can import the partner records.
Export Existing Account Records
As an administrator, export the existing account records:
-
In the Setup and Maintenance work area, go to the following:
-
Offering: Sales
-
Functional Area: Data Import and Export
-
Task: Schedule Export Process
-
-
On the Overview page, click Create.
-
Provide a name for the export process and navigate to the Configure Export Objects train stop.
-
On the Export Objects area, click Create.
-
On the Manage Export Objects dialog box, move Party from Available Objects to Selected Objects and click Done.
-
On the details area, complete the following steps:
-
Expand the Attribute Name and select Enabled for the following attributes:
-
All the address attributes
-
City
-
PartyId
-
PartyName
-
-
On the Edit Filter Criteria column, click Define criteria for selecting data to extract.
-
On the Edit Filter Criteria window, complete the following steps:
-
Click the Add Fields drop-down list and select
PartyType
. -
On the
PartyType
row, select the following:-
Operator: =
-
PartyType: ORGANIZATION
-
-
Click Save.
-
On the Create Saved Search window, complete the following steps:
-
Name the saved search you just created.
-
Click OK.
-
-
Click OK.
-
-
-
Navigate to the Create Schedule train stop and schedule the export process as the requirements of your organization.
-
Navigate to the Review train stop and click Activate.
-
On the Overview page, complete the following steps:
-
Select the export process you created.
-
On the History area, download the exported file from the Exported data file column.
-
-
Click Done.
The data from the existing account records is now downloaded.
Prepare File for Import
Prepare the comma-separated values (.CSV) file for importing the partner records with the existing account records:
-
Open the file you just downloaded.
-
Create a comma-separated values file containing the information as represented in the following table:
Note:-
Ensure that the header row of the new file contains the header row as mentioned in the table.
-
Ensure that the rows after the header row contain the details of each partner record that you want to create.
Party_ID
Party_Usage_Code
TREE_CODE
ZPM_PARTY0D
ZPM_STATUS
ZPM_PUB_STATUS
Provide the party ID as provided in the exported file.
PARTNER
Provide the party ID as provided in the exported file.
Provide the party ID as provided in the exported file.
ACTIVE
APPROVED
-
-
Save the file on your locally.
The comma-separated file has been prepared for importing the partner records.
Import Partner Records
As a sales administrator, you import the partner records for retailers with existing account records:
-
In the Setup and Maintenance, go to the following work are:
-
Offering: Sales
-
Functional Area: Data Import and Export
-
Task: Manage File Import Activities
-
-
On the Manage Import Activities page, click Create.
-
On the Enter Import Options train stop, provide the following information:
-
On the Summary area, enter the relevant information and select Partner as the Object.
-
On the Source File area:
Field
Value
File Type
Text File
Upload From
Desktop
File Name
Select the file you prepared to import the partner records for retailers who have existing account records.
Data Type
Comma separated
Header row included
Select the check box.
-
-
Navigate to the Map Fields train stop and on the Map Fields area, select the following for the Object column and the Attribute column:
Columns Header
Object
Attribute
PARTY_ID
PartnerInterface
PartyId
PARTY_USAGE_CODE
PartnerInterface
PartyUsageCode
TREE_CODE
PartnerHierarchy
TreeCode
ZPM_PARTYID
ImpPartnerP
PartyId
ZPM_STATUS
ImpPartnerP
Status
ZPM_PUB_STATUS
ImpPartnerP
PublicStatus
-
Navigate to the Schedule train stop and schedule the export process as the requirements of your organization.
-
Navigate to the Review and Activate train stop and click Activate.
The Manage Import Activities page tracks the status of your import.
The partner records for the retailers with existing account records are now created.