Pricing Formula
A pricing formula defines how the Aptean Pricing Matrix extension turns a cost into a price. You assign pricing formulas to entries on the Price Calculation Matrix page, to alternate unit of measure formulas, and to cost ranges. You can also apply a pricing formula when you calculate alternate costs.
Create a pricing formula
-
Select the Search icon
, enter Pricing Formula List, and then choose the related link.
The Pricing Formula List page opens. -
On the action bar, select the New action.
The Pricing Formula Card page opens. -
On the General FastTab, enter a code and a description for the pricing formula in the Code and Description fields.
-
On the Calculation FastTab, enter information in the following fields:
Field Description Amount before % Enter a fixed amount that is added to the cost before the percentage is applied. The value can be positive or negative. Percentage Enter the percentage to apply. The value can be positive or negative. Percentage Type Select how the percentage is applied to the cost. The options are as follows:
- Cost: The percentage is added to the cost as a markup.
- Margin: The percentage is the margin that the price must achieve.Amount after % Enter a fixed amount that is added after the percentage is applied. The value can be positive or negative. Round To Enter the rounding precision for the price, such as 0.01 or 0.05. The value must be 0.01 or greater. Round To Type Select how the price is rounded to the Round To field value. The options are as follows:
- Normal: The price is rounded to the nearest value.
- Ceiling: The price is always rounded up.
- Floor: The price is always rounded down.
The price is calculated as follows, and is then rounded:
- Cost percentage type: Price = (Cost + Amount before %) × (1 + Percentage / 100) + Amount after %
- Margin percentage type: Price = (Cost + Amount before %) / (1 − Percentage / 100) + Amount after %
For example, with a cost of 10.00 and a Percentage field value of 10, the Cost percentage type calculates a price of 10.00 × 1.1 = 11.00, and the Margin percentage type calculates a price of 10.00 / 0.9 = 11.11.
- A Margin formula with the Percentage field value set to exactly 100 does not divide by zero. It returns the cost plus the Amount before % field value, without the Amount after % field value.
- If a formula calculates a negative or zero price for a sales price list line, the line is skipped when the price list is calculated. A negative price is never saved to a price list line.
Copy a pricing formula
To create a pricing formula that is similar to an existing one, copy it and change only the values that differ.
-
On the Pricing Formula List page, select the pricing formula that you want to copy, and then select the Copy action.
The Copy Pricing Formula page opens.
You can also select the Copy Formula action on the Pricing Formula Card page. -
In the Pricing Formula Code field, enter the code for the new pricing formula.
-
In the Pricing Formula Description field, enter a description for the new pricing formula.
-
Select the OK button.
The new pricing formula is created with the same calculation values as the original.
Test a pricing formula
Before you assign a pricing formula, you can check the price that it calculates for a given cost.
-
On the Pricing Formula Card page, select the Calculate Price action.
The Price Formula Calculation page opens. -
On the Input FastTab, in the Cost field, enter a cost.
The calculated price is shown in the Calculated Price field on the Calculation FastTab. -
Select the Close button.
For example, to check a 30% margin formula before you use it on the price calculation matrix, enter 7.00 in the Cost field. The Calculated Price field shows 10.00, which confirms that the formula produces a 30% margin.