CPQ-FOM Integration
CPQ-FOM Integration
CPQ-FOM Integration
Management Integration
ORACLE TECHNICAL WHITE PAPER | CPQ 2014 R2 RELEASE | NOVEMBER 2014
Disclaimer
The following is intended to outline our general product direction. It is intended for information
purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any
material, code, or functionality, and should not be relied upon in making purchasing decisions. The
development, release, and timing of any features or functionality described for Oracle’s products
remains at the sole discretion of Oracle.
Disclaimer 1
Purpose 1
Prerequisite 1
Introduction 1
Commerce Process 1
Additional Changes 1
Implementation Details 1
Attributes 2
File Manager 5
Data Table 6
Library Functions 6
Actions 9
Transaction Action 9
Create Order 10
Cancel Order 10
Validation 11
Step Transitions 11
Sample Payload 12
TroubleShooting 12
Prerequisite
The CPQ – FOM Reference Integration is implemented on CPQ 2014 R2 Release and Fusion Sales Cloud Release
9 or later. CPQ base Reference Application must be deployed in the environment. Relevant Fusion Order
Management web services must be up and running. For parallel web services call, if customer faces the issue of
web service not updating individual items for same quote then install the patch present in BUG 20473962 to support
push.
Introduction
CPQ – FOM Reference Integration enables CPQ to send across the details for placing an order in Fusion Order
Management. When a sales representative adds relevant products and clicks the action button “Create Order”, the
information is sent across to FOM which creates the order based on the details furnished by CPQ.
Implementation Overview
Commerce Process
The Reference Integration makes changes to the “Oracle Quote to Order” commerce process from the base
reference application in the following areas:
» Attributes
» Actions
» Library Functions
» Validation
» Step Transitions
Additional Changes
Additional changes outside the commerce process include:
» Data Table
» File Manager
Implementation Details
Attributes
Create/Modify the following attributes to the “Oracle Quote to Order” commerce process
File Manager
Template file format can be found in the below link:
FOM LineCharge
FOM_LineCharge.txt
FOM Discount
FOM_discount.txt
FOM shipping
FOM_Shipping.txt
FOM CreateLine
FOM_OrderLine.txt
FOM CreateAsyncOrder
FOM_AsyncOrderHeader_Https.txt
FOM CancelOrderReq
FOM_CancelOrder.txt
FOM CancelAsyncOrder
Cancel_Async_Header.txt
FOM RecurringLineCharge
FOM_RecurringLineCharge.txt
FOM ReturnRecurring
FOM_ReturnRecurringLine.txt
FOM ReturnDiscrete
FOM_ReturnDiscreteLine.txt
Data Table
INT_SYSTEM_DETAILS
INT_SYSTEM_TEMPLATES
Library Functions
There are ten commerce process library functions used and they are:
Return Type and Input information for the library function is shown in the below link:
getPassword
Screenshot
getTemplate.txt
Return Type and Input information for the library function is shown in the below link:
getTemplate
Screenshot
getTemplate
Function Import
invokeAsyncWebService.txt
Return Type and Input information for the library function is shown in the below link:
InvokeAsyncWS
Screenshot
Return Type and Input information for the library function is shown in the below link:
getLineCharge
Screenshot
getLineCharge
Function Import
getTemplateLocation.txt
Return Type and Input information for the library function is shown in the below link:
getTemplateLocation
Screenshot
getAsyncTemplate.txt
Return Type and Input information for the library function is shown in the below link:
getAsyncTemplate
Screenshot
getUserAttributes.txt
Return Type and Input information for the library function is shown in the below link:
getUserAttributes
Screenshot
invokeAsyncFOMOrder.txt
Return Type and Input information for the library function is shown in the below link:
InvokeAsyncFOMOrd
er Screenshot
invokeAsyncFOMOrd
er Function Import
InvokeAsyncFOMCancelOrder.txt
Return Type and Input information for the library function is shown in the below link:
InvokeAysncCancelO
rder Screenshot
invokeAsyncCancelF
OMOrder Function
invokeCancelLine_Library_Functions.txt
Return Type and Input information for the library function is shown in the below link:
InvokeCancelLine
Screenshot
invokeCancelLine
Function Import
invokeReturnDiscrete.txt
Return Type and Input information for the library function is shown in the below link:
InvokeReturnDiscret
e Screenshot
invokeReturnDiscret
e Function Import
invokeReturnRecurring.txt
Return Type and Input information for the library function is shown in the below link:
invokeReturnRecurri
ng Function Import
Actions
Note: All Actions should be defined for Advanced modify- After formula section.
Transaction Action
Create Order
The integration is implemented in a single action, “Create Order”, as follows:
Cancel Order
The Cancel order integration is implemented in a single action, “Cancel Order”, as follows:
Cancel Order.txt
cancelAsyncHandler BML.txt
cancelLineHandler BML.txt
Validation
Validation for Order processing is done so that until an Order is fulfilled, customer cannot navigate further.
Step Transitions
Sample Payload
Sample Payload can be found in the below:
1. Create Order
Create_Order_Sample_Payload.txt
2. Cancel Order
Cancel_Order_Sample_Payload.txt
3. Cancel Line
Cancel_Line_Sample_Payload.txt
4. Return Order
Return Order.txt
TroubleShooting
blogs.oracle.com/oracle
facebook.com/oracle
twitter.com/oracle
oracle.com
Troubleshoot
Copyright © 2014, 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
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
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 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. 1015
CONNECT WITH US
blogs.oracle.com/oracle
facebook.com/oracle
twitter.com/oracle
oracle.com