CPQ How-to: New Direct Integration Tools and Use Cases
Transcript of CPQ How-to: New Direct Integration Tools and Use Cases
![Page 1: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/1.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
CPQ How-To: Integration toolkits and Use Cases
David Hatcher Sr Product Manager Oracle CPQ Cloud April 2015
Oracle Confidential – Internal/Restricted/Highly Restricted
![Page 2: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/2.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Reference Integrations
Web services 2.0
XML enhancements in BML
BML enhancements
Q&A
1
2
3
4
Oracle Confidential – Internal/Restricted/Highly Restricted 2
5
![Page 3: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/3.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Reference Integrations
Web services 2.0
XML enhancements in BML
BML enhancements
Q&A
1
2
3
4
Oracle Confidential – Internal/Restricted/Highly Restricted 3
5
![Page 4: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/4.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Reference integrations
• EBS • Order fulfillment • Material reservation • Inventory checks
• Oracle Commerce • Request for quotes • Embedded configurator (CY2015)
• Fusion Financials • Create invoices – discrete and recurring
• Fusion FOM (DOO in the cloud) • Order fulfillment (Fusion release 10)
![Page 5: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/5.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
CPQ Cloud-EBS Integration Flow
Request for Customer info
Return: • Customer
Company Name • Address • Customer ID
Request to: • Create order • Update Order • Cancel Order • Cancel line items
on an order
Return the order status
Request for line item inventory quantities
Return • Line item
availability status • Available units
Request to: • Reserve materials
associated with line items
• Cancel existing material reservations
Return the material reservation status
Start
(OPTIONAL) (OPTIONAL)
![Page 6: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/6.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Reference Integrations
Web services 2.0
XML enhancements in BML
BML enhancements
Q&A
1
2
3
4
Oracle Confidential – Internal/Restricted/Highly Restricted 6
5
![Page 7: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/7.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Web services 2.0
V1.0 Web Services V2.0 Web Services
Clustering No clustering support Supports clustering
Sessions Session-based Stateless
Authentication Use Oracle CPQ Cloud customer security SOAP
headers
Use standard-based authentication
End points No unique end points Each service and its WSDL have unique end
points. WSDL can be accessed at runtime via its
URL..
State Stateful (session-based) Stateless
![Page 8: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/8.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Web services 2.0 • Externally available WSDL’s
• WSDL’s can be accessed without logging into site environment • Conforms to ws standards • Each WSDL has a unique url endpoint:
• Result is the xsd for the given WSDL
![Page 9: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/9.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Web services 2.0 • Asynchronous web service calls: Urldatabypostasync
• Initial ws call will close connection after receiving “200” back • Primary use case is ERP integrations • Callback action will be defined to be run when the response returns
• Checking for attachments: Rule Input • Attachment attributes are available as rule inputs • Used to determine if an attachment exists or not on a given transaction • Primary use case is validation or approval workflow
![Page 10: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/10.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Web services 2.0 • RESTful ws support enhancement: URLdata
• Access full HTTP response, including headers and status • Current release only supports GET and POST • Return is a dictionary • Primary use case is advanced integrations
![Page 11: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/11.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Reference Integrations
Web services 2.0
XML enhancements in BML
BML enhancements
Q&A
1
2
3
4
Oracle Confidential – Internal/Restricted/Highly Restricted 11
5
![Page 12: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/12.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
XML Enhancements in BML • Xpath Functionality
– Read XML • Single – returns a string
• Multiple – returns a dictionary
– Follows Xpath standards
– Primary use case is to eliminate string spliting
• Build a String in BML: applytemplate
– Applies template from File Manager
– Is based off of key value pairs • Values can be defined explicitly, or implicitly via rule inputs
– Can build xml, json, or any structured string
– Primary use case is building web service payloads
![Page 13: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/13.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
XML Enhancements in BML • Apply XSL to an XML string: transformxml
– Uses an XSL file stored in the file manager to apply to an XML string
– Syntax • String transformxml(String xml, String xslFileLocation [, String defaultErrorMessage])
– Primary use case is payload construction
![Page 14: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/14.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Reference Integrations
Web services 2.0
XML enhancements in BML
BML enhancements
Q&A
1
2
3
4
Oracle Confidential – Internal/Restricted/Highly Restricted 14
5
![Page 15: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/15.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
BML enhancements • Getoldvalue
– Use BML to reference the value of an attribute prior to current modify action • Available in Formulas
– Primary use case is for comparisons and logic • Will reduce number of attributes used for storing values
• EncodeBase64 – Encodes a given string to base64 encoding
– Primary use case is for credentials
• Transaction XML retreival: gettransaction
– Eliminates need to self-soap to get XML
– Primary use case is to get XML to apply to templates or stored XSL
![Page 16: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/16.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Implementation Considerations • WebService Versions
• Integrations
– Sync vs async
– BML templates
– SOAP/REST – XML/JSON
![Page 17: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/17.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Reference Integrations
Web services 2.0
XML enhancements in BML
BML enhancements
Q&A
1
2
3
4
Oracle Confidential – Internal/Restricted/Highly Restricted 17
5
![Page 18: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/18.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
quest ions?
![Page 19: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/19.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
![Page 20: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/20.jpg)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 20
![Page 21: CPQ How-to: New Direct Integration Tools and Use Cases](https://reader031.fdocuments.in/reader031/viewer/2022030319/58667e091a28abbe408b5603/html5/thumbnails/21.jpg)