Pricing Algorithm 1 - CCC
Pricing Algorithm 1 - CCC
Please select Yes to join the integrated voice conference when prompted:
If you have joined the Integrated Voice Conference, and still cannot hear
the presentation, try this: click "More Options" on the control panel and
click the speaker/microphone audio test. Then select your preferred
speakers.
If you already selected No, in the WebEx Menu, click on Audio> Integrated Voice Conference> Join Conference.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 2-1
Oracle Confidential 1
Safe Harbor Statement
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.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 2-2
Price Execution Fundamentals – Algorithms Deep Dive
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 2-4
Price Execution Components: Interactions
Service Mappings
Matrixes Algorithms
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 2-5
Topics
• Algorithms Overview
• Demo
• Algorithm Components
• Variables
• Functions
• Steps
• Data Sets
• Step Actions
• Test Cases
• Troubleshooting Tips
• Best Practices
• Q&A
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 2-6
Topics
• Algorithm Overview
• Demo
• Algorithm Components
• Variables
• Functions
• Steps
• Data Sets
• Step Actions
• Test Cases
• Troubleshooting Tips
• Best Practices
• Q&A
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 2-7
Algorithm Overview
What is an Algorithm?
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 2-8
Algorithm Overview
Algorithm Attributes
Variables have:
Name – Unique name within that algorithm
Data type – One of the types listed above. The Data Object type is based on Service Mappings Services.
Required – Indicates that a value is required for executing the algorithm
Input/Output – Indicates whether the variable is input only or output only or both input and output.
Internal Service Schema – Applicable to Data Objects. The schema is one of the services from the Service Mappings. Most
algorithms use at least one Data Object Variable.
Default Expression – Default values can be provided using groovy expressions for all data types except Data Object.
Function Arguments
• Unique Name
• Comments
Arguments
pricingStrategyId
priceAsOf
pricingDate
fromCurrency
toCurrency
businessUnit
HeaderId = 101
HeaderId = 101
ChargeId = 1
Charge
ParentEntityId = 1011
ChargeId = 1
PriceElementCode = QP_BASE_LIST_PRICE
ChargeComponent
ExtendedAmount = 300
UnitPrice = 20
HeaderId = 101
Data Set Rules
1. Identify the Primary Set. The first set is usually the Primary set
Line ItemId = 149, Quantity, Uom = 2 Each
• Charge2
ChargeComponent2 • Line1
• Header1
Charge Component3
• Condition evaluates to false • Charge3
• Not Processed ChargeComponent3 • Line2 [MessageTypeCode = ERROR]
• Header1
Condition 1
Condition 2
Else
If No Row
2. Input Variables
3. Output Variables
Service Mappings
Matrix dimensions
The Service Mappings
refer to Service
define the schema for the
Mapping entity
algorithm Data Object
attributes
Variables
Matrixes Algorithms
Evaluate matrixes – Matrix Data Set