CPQ-ICS-OSC_IntegrationGuidev2
CPQ-ICS-OSC_IntegrationGuidev2
ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
Table of Contents
Disclaimer 1
Introduction 3
Scope 3
Audience 3
Related Documents 3
Feedback 4
Prerequisites 4
Integration Overview 4
Connections 5
Integrations 5
ICS Setup 6
Adding the CPQ Cloud Transaction WSDL URL to the CPQ Cloud Connection 8
1 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
Accessing the OSC Connection 9
Adding the OSC Services Catalog WSDL URL to the OSC Connection 10
OSC Setup 21
2 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
Introduction
Integrating Oracle Configure, Price, and Quote Cloud (CPQ Cloud) and Oracle Sales Cloud (OSC)
streamlines the entire opportunity-to-quote-to-order process. Transaction data is passed seamlessly
between the two applications, ensuring accuracy and allowing OSC users to take advantage of the
on-demand configuration, pricing, and quoting capabilities of CPQ Cloud. Oracle Integration Cloud
Service (ICS) middleware greatly reduces the time and complexity associated with the implementation
and maintenance of a CPQ Cloud-OSC integration.
Scope
This white paper shows how to implement four Transaction-related integrations (Opportunity Import, Upsert Quote,
Create Revenue Items, and Delete All Revenue Items) between CPQ Cloud and OSC through ICS.
» Import Opportunity: Imports the OSC opportunity ID when a CPQ Cloud Transaction is created
» Upsert Quote: Creates a quote in OSC using Commerce attribute data from a CPQ Cloud Transaction, or, if
a quote already exists in OSC, updates the quote in OSC using the Commerce attribute data from the CPQ
Cloud Transaction
» Create Revenue Items: Creates revenue items (lines) on the OSC opportunity for each line on the CPQ
Cloud Transaction
» Delete All Revenue Items: Deletes all revenue items (lines) that originated from the CPQ Cloud Transaction
off of the OSC opportunity
Audience
This white paper is primarily intended for CPQ Cloud administrators or implementation consultants tasked with
implementing or supporting a CPQ Cloud-OSC integration through ICS.
Related Documents
For more information about administering ICS, see Using Oracle Integration Cloud Service. For information related
to integration with CPQ Cloud, see the Configuring Oracle CPQ Cloud Properties section of the ICS user guide.
For more information on CPQ Cloud-OSC integration in general, see Integrating Oracle Sales Cloud with Oracle
CPQ Cloud on My Oracle Support.
» Accounts/Contacts
» Parts
Additionally, enhancements will be made to make the CPQ Cloud-ICS integrations more robust, including:
» A central Web Services repository for all CPQ Cloud Web Services used in ICS integrations
» Support for a CPQ-OSC REST adaptor in ICS, as well as all CPQ Cloud REST Web Services in ICS
integrations
3 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
Feedback
We welcome your comments and suggestions to help improve this document. Please send your feedback to
[email protected].
Prerequisites
This integration requires the following:
Integration Overview
When implementing this integration with the CPQ Cloud-OSC Integration Package (as is covered in this document),
CPQ Cloud will be the source site in the integration and OSC will be the target site. Integrations are initiated within
CPQ Cloud when a Transaction is created or opened, and when the Save, Update Opportunity, Cancel Transaction,
or Delete Transaction actions are invoked on a CPQ Cloud Transaction.
Table 1 describes when each intention is invoked. A checkmark indicates that the integration is invoked when the
literal action or CPQ Cloud action is invoked.
4 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
Connections
Three connections must be established, two between CPQ Cloud and ICS, and one between ICS and OSC Web
Services. These connections enable the three systems to pass Web Service calls between each other, and to
access the Transaction and Opportunity data needed to enable the integration. See Graphic 1 for details on the
connections between each system.
Graphic 1
Integrations
CPQ Cloud and OSC are connected in this integration through CPQ Cloud integrations, ICS integrations, and OSC
Web Services. CPQ Cloud integrations are linked to ICS integrations, which are in turn linked to OSC Web Services.
See Graphic 2 for details on the integrations between each system.
Graphic 2
5 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
ICS Setup
Installing the CPQ Cloud-OSC Integration Package in ICS will
create connections to CPQ Cloud and OSC in ICS, as well as
four integrations between CPQ Cloud and OSC (Opportunity
Import, Quote Upsert, Create All Revenue Items, and Delete All
Revenue Items) in ICS that already have default field mappings
in place.
The connections to CPQ Cloud and OSC must be configured
before the four integrations can be activated.
The CPQ Cloud connection must be configured with the CPQ
Cloud Transaction WSDL URL so that ICS can access CPQ
Cloud Transaction data, and with CPQ Cloud login credentials so that ICS can perform integration actions in CPQ
Cloud. The OSC connection must be configured with the OSC Services Catalog WSDL URL so that ICS can access
OSC Web Services, and with OSC login credentials so that ICS can access perform integration actions in OSC.
Once connections have been configured, the four CPQ Cloud-OSC integrations in ICS can be activated to complete
the ICS setup.
6 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
2. On the welcome page, click the View link above “Packages,” or click the Packages icon.
If you click CPQ_Ref_App to view the package, you will see that the four integrations created by the package
(Opportunity Import, Quote Upsert, Create All Revenue Items, and Delete All Revenue Items) are pending
activation.
7 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
2. On the welcome page, click the Connections icon.
Parameter: <siteURL> = The base URL of the CPQ Cloud site that will integrate with ICS
1. Add the base URL of the CPQ Cloud site to the CPQ Cloud Transaction WSDL URL format.
2. Open the URL you built in a web browser. If the URL is correct, a page of WSDL should appear.
Adding the CPQ Cloud Transaction WSDL URL to the CPQ Cloud Connection
8 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
1. Go back to the browser window that has the CPQ Cloud connection administration page open in ICS.
2. Click Configure Connectivity.
The Connection Properties dialog box appears.
3. Paste the Transaction WSDL URL into the WSDL URL field.
4. Click OK.
5. Click Save on the connection administration page. A Connection in Use dialog box appears.
6. Click Yes on the Connection in Use dialog box.
5. Click Save on the connection administration page. A Connection in Use dialog box appears.
6. Click Yes on the Connection in Use dialog box.
9 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
The connection administration page appears.
Parameter: <siteURL> = The base URL of the OSC site that will integrate with ICS
Once you have built the OSC Services Catalog WSDL URL, optionally open the URL in a web browser. If the URL is
correct, a page of WSDL should appear.
Adding the OSC Services Catalog WSDL URL to the OSC Connection
1. Go back to the browser window that has the OSC connection administration page open in ICS.
2. Within the OSC connection, click Configure Connectivity.
The Connection Properties dialog box appears.
3. Paste the OSC Services Catalog WSDL URL into the OSC Services Catalog WSDL URL field.
4. Click OK.
5. Click Save on the connection administration page. A Connection in Use dialog box appears.
6. Click Yes on the Connection in Use dialog box.
10 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
The Credentials dialog box appears.
2. In the Username, Password, and Confirm Password fields, enter the credentials of an OSC user with Sales
Administrator and Product Information Management Administrator access rights.
3. Click OK.
4. Click Test in top-right corner of the connection administration page to test the connection to CPQ Cloud. If the
test is successful, a “The connection test was successful!” note will appear at the top of the page.
5. Click Save on the connection administration page. A Connection in Use dialog box appears.
6. Click Yes on the Connection in Use dialog box.
9. Click the Activate button for the Create All Revenue Items integration.
11 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
10. Optionally select the checkbox for “Enable detailed tracing.” When “Enable detailed tracing” is selected,
detailed logging information about messages processed by this integration flow at runtime is collected. This can
aid in troubleshooting issues, but may impact performance. To access these logs in ICS, navigate to Home >
Monitor > Activity Stream > Download Logs.
Note: To disable detailed tracing, you must deactivate the integration and then reactivate it without detailed
tracing enabled.
12. Repeat steps 3-5 for the Delete All Revenue Items, Opportunity Import, and Quote Upsert integrations.
12 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
CPQ Cloud Setup
Now that ICS has established connections to CPQ Cloud and
OSC, and the CPQ Cloud-OSC Integration Package has created
the necessary integrations within ICS, the CPQ Cloud setup can
begin.
First, a connection must be made within CPQ Cloud to ICS so that
CPQ Cloud can access ICS and send it the appropriate Web
Service request when an integration is fired. This connection will
be established in the Integration Center.
Next, integrations must be created within the Oracle Quote to
Order Commerce Process in CPQ Cloud, and these integrations
will be linked to the corresponding integrations in ICS. These integrations will be tied to either the Oracle Quote to
Order Commerce Process or to Commerce actions, so that each integration will be fired either when a Transaction
is created or when a specific Commerce action is invoked.
Finally, parts integration must be enabled and the Opportunity Mapping ID must be added to the Main Document of
the Oracle Quote to Order Commerce Process so that each integration will be able to function.
13 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
https://[URL]/icsapis/v1/integrations
8. In the Username and Password fields, enter a username and password for an admin user of the ICS site you
are integrating with.
9. Click the Test button to confirm that the Discovery URL and ICS credentials are valid and a connection can be
made to the ICS site. If the test succeeds, “Test Connection Passed!” will appear next to the Test button. If the
test fails, a failure message will be shown next to the Test button. Make any necessary changes before testing
again.
10. After the test succeeds, select the Enable Integration checkbox.
11. Click Save to save the connection details.
» The Enable Integration checkbox is disabled until the Discovery URL, Username, and Password have been
entered.
» A valid, enabled and saved integration shows the Discover URL, Username, and Password fields as read-only.
» If a user disables a previously enabled integration by unselecting the Enable Integration checkbox, a warning will
appear saying that all existing integrations based on the integration type will also be disabled. When the user
clicks Save, the warning disappears, the integrations are disabled, and the Discover URL, Username, and
Password fields return to being editable. Any Commerce Process integrations that were tied to the integration that
was disabled will no longer execute as they did before—these integrations are effectively disabled as well.
Reselecting Enable Integration will bring the integrations back online, unless changes have been made to the
connection or the integrations to make them invalid.
» If, when testing or saving the connection, an error occurs and says that the base URL of the ICS site is not a valid
domain, open a ticket on My Oracle Support to add the URL as a valid domain within the system.
These integrations will be triggered by the Oracle Quote to Order Commerce Process or by Commerce actions, and
will determine what Web Service message is sent to ICS when an integration is fired, based on the integration in
ICS that it is tied to.
14 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
6. Select the radio button for Integration Cloud Service.
7. Click Next.
The Edit Integration page appears.
8. Enter Import Opportunity in the Name field.
9. Place your cursor in the Variable Name field to auto-populate the field with importOpportunity.
10. Optionally add a Description of the integration.
11. Select Import for Action. This option is only used for labelling purposes and will not have any effect on the
integration.
12. Select Opportunity Import from the Services drop-down. The name of this service matches the name of the
integration in ICS.
Table 3
15 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
Import Opportunity – Associated with the Commerce Process
Since the Import Opportunity integration is tied to the Oracle Quote to Order Commerce Process, whenever a
Transaction is created or opened the Import Opportunity integration will fire and the Opportunity ID from OSC will be
mapped to the CPQ Cloud Transaction.
Delete All Revenue Items – Associated with the Update Opportunity and Delete Transaction Actions
When the Update Opportunity action is invoked, all revenue items that originated from the CPQ Cloud Transaction
(if any) will be deleted from the OSC opportunity. This clears the way for new or updated revenue items on the
Transaction to be added to the opportunity via the Create Revenue Items integration.
When the Delete Transaction action is invoked, all revenue items that originated from the CPQ Cloud Transaction (if
any) will be deleted from the OSC opportunity.
When the Update Opportunity action is invoked, all lines on the CPQ Cloud Transaction will be created as revenue
items on the OSC opportunity. Revenue items are deleted and then recreated each time the Update Opportunity
action is invoked to account for any changes to the revenue items in CPQ Cloud.
Upsert Quote – Associated with the Save, Update Opportunity, Cancel Transaction, and Delete Transaction Actions
If a quote does not exist in OSC for a CPQ Cloud Transaction, when a sales user invokes the Save or Update
Opportunity action on a Transaction, a quote will be created in OSC using the current Transaction data, with
relevant attribute values being mapped from the CPQ Cloud Transaction to the OSC quote.
If a quote already exists in OSC for the CPQ Cloud Transaction, whenever a sales user invokes the Save, Update
Opportunity, Cancel Transaction, or Delete Transaction action on a Transaction, the quote will be updated in OSC
using the current Transaction data, with relevant attribute values being mapped from the CPQ Cloud Transaction to
the OSC quote.
16 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
8. Click the Add Integration button ( ) to move the integration to the Selected Integration list.
9. Click Update to save the action.
Important: Ensure that Selected Integrations list is ordered as follows: Apply Modify Functions, Delete All
Revenue Items, Create Revenue Items, Upsert Quote. If any integrations are out of order, use the arrow
buttons to correct the order of the selected integrations.
17 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
Important: Ensure that Selected Integrations list is ordered as follows: Apply Modify Functions, Delete All
Revenue Items, Upsert Quote. If any integrations are out of order, use the arrow buttons to correct the order of
the selected integrations.
You can view which system is currently the Parts Master in CPQ Cloud:
1. Log in to CPQ Cloud as a FullAccess user.
2. Click Admin to go to the Admin Home Page.
3. Click Parts under Products.
The Parts Search for Admin page appears.
4. The system listed under Item Master is currently the Parts Master (“BigMachines” means that CPQ Cloud is
the Parts Master).
Note: If there is not an Item Master section on the Parts Search for Admin page, open a ticket on My Oracle
Support to enable parts integration.
If you need to change the Parts Master, open a ticket on My Oracle Support.
18 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
Note: Parts integration must be enabled in OSC before running a parts integration can be successful. See the
Enabling Parts Integration section for more information.
6. Click the Export/Import button (the name of this button will vary based on if CPQ Cloud or OSC is the Parts
Master) to perform a one-time integration, or click the Schedule button to schedule a one-time integration or
recurring integrations.
7. If you choose to schedule one or more integrations, the New schedule details for job Export/Import dialog
box appears.
19 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
Adding the Opportunity Mapping ID to the Main Document
1. Log in to CPQ Cloud as a FullAccess user.
2. Click Admin to go to the Admin Home Page.
3. Click Process Definition under Commerce and Documents.
4. Click List for the Oracle Quote to Order Commerce Process.
5. Click Transaction to open the main document.
6. Enter transaction.opportunityID_t in the Opportunity Id Mapping field.
7. Click Update.
8. Deploy the Commerce Process.
a. Click Admin to go to the Admin Home Page.
b. Click Process Definition under Commerce and Documents.
c. For the Oracle Quote to Order Commerce Process, select Deployment Center in the Navigation
column and then click List.
d. Select Deploy for Event Type.
e. Click Add Event.
20 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
OSC Setup
The connection and the integration between ICS and OSC have already
been established within the ICS setup, and the field mappings between
CPQ Cloud and OSC are already in place.
In order to be able to launch CPQ Cloud in an embedded iframe within
OSC when a Transaction is created or opened, and in order for a user to
be able to return to the OSC opportunity from a CPQ Cloud Transaction,
punch-in URLs must be configured in the Fusion Setup Manager of OSC.
Note: It is not required to complete steps for the “Copy,” New Version,” and “Get Proposal” integrations.
21 | ORACLE CPQ CLOUD-ORACLE SALES CLOUD INTEGRATION THROUGH ORACLE INTEGRATION CLOUD SERVICE IMPLEMENTATION GUIDE
Oracle Corporation, World Headquarters Worldwide Inquiries
500 Oracle Parkway Phone: +1.650.506.7000
Redwood Shores, CA 94065, USA Fax: +1.650.506.7200
CONNECT WITH US
blogs.oracle.com/oracle
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only, and the
contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other
facebook.com/oracle warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or
fitness for a particular purpose. We specifically disclaim any liability with respect to this document, and no contractual obligations are
twitter.com/oracle formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any
means, electronic or mechanical, for any purpose, without our prior written permission.
oracle.com Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and
are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are
trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. 0615
Oracle CPQ Cloud-Oracle Sales Cloud Integration through Oracle Integration Cloud Service Implementation Guide
December 2015
Author: Daniel Morrill