Pricing Formula

Formulas are mathematical expressions that the pricing engine uses to determine the list prices of items and the discounts that apply to those items. You can use them to:

  • Create a price from a computation as an alternative to entering prices in a price list.
  • Calculate a price adjustment. For example, you can instruct the pricing engine to calculate a discount by attaching a formula to a discount line.

You can set up and maintain formulas based on one or more of the following formula component types:

List price: The price of the item in a specific price list to which you have attached a formula. List Price and Price List Line are supported Formula types for Advanced Pricing.

Price list line: The price of the item in a specific line number of a specific price list.

Pricing attribute: The absolute value of a pricing attribute (such as thickness or height) of an item. Pricing attributes are characteristics of products and services that you can use to determine the price of a product or service. Distance, age of a related product, customer class, product family group, and level of service are examples of pricing attributes. You can specify one or more pricing attributes and assign them to a product or service. At order entry time, the pricing engine evaluates the attributes you have specified during formula setup to calculate the price.
You can define as many attributes as you need to meet your pricing business needs. For example, you may use the formula 1*2 to calculate the price of a glass item. Step 1 is a pricing attribute for thickness and step 2 is the list price to calculate the price of a glass item; if 100 is the base price of the glass item and 0.3 is the value of the thickness attribute of the glass then the pricing engine evaluates the formula as 0.3*100 which is 30.

Numeric constant: A numeric value.

Factor List: You can also relate multiple factor conditions. For example, if the base pricing attribute for glass thickness is between 0.1 and 0.3 mm AND the length of the glass is between 0.5 and 2 m, apply the factor of 3 OR if the base pricing attribute for glass thickness is between 0.4 and 0.8 mm AND the length of the glass is between 0.5 and 2 m, apply the factor of 5.

Creating a Pricing Formula
You can set up and update formulas and formula lines in the Pricing Formulas window. A formula is a valid mathematical expression used to determine the list prices of items and the discounts applied to those items. The formula lines provide details about each part of the formula.
Note: The concurrent program Build Formula Package should be run after setting up or changing a formula to improve performance. This program can be accessed from the Tools menu within the Formulas  Setup window.
The formula can contain any of the following:
• Parentheses: ()
• Mathematical operators: +, -, /, and *
• Built-in functions: NVL, SQRT, and MOD

• Operands: Operands are step numbers about which you provide more detail. You can use as many step numbers as you need, up to the limit of the field. You can repeat a step number in a formula, for example, 1+2*2..
Note: An operand is not a numeric constant. To use a numeric constant in a formula, you can:
• Create a step number in the formula expression.
• Assign the numeric constant to the step number in a formula line.

For example, the valid formula (1+2*SQRT(3)) / 4 contains:
• 1, 2, 3, and 4 as operands
• +, *, and / as mathematical operators
• SQRT as a built-in function
• Parentheses to group the operands and operators
For each step number, create a formula line. In the previous formula example, four formula lines are created since the formula has four step numbers. When Oracle Pricing calculates a formula, it does not use the face value of the step
number. It refers to the formula line and evaluates it to obtain the value of the operand.

Attach Items to the pricing formula
Link your formula to a price list by putting the formula name in the static formula field on the list line that has the item numbers that are to get their prices derived from the formula (don't enter a price, let the processing program calculate the price value)

You must run the update formula prices after entering your formula name in the static formula field on the price list. This concurrent request will use your formula to calculate the price that will populate the list line's value field. Link a formula to a freight and special charge modifier. With basic pricing you are restricted to three formula types, Numeric Constant, Pricing Attribute and Factor list. Basic Pricing uses the seeded pricing context which has up to 100 pricing attributes.


Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
All Rights Reserved. Copyright 2008-11 OracleUG.com.