Item price margins
A price margin measures the difference between a price and a cost, in money or in percent. The app calculates it per item, and the margin formulas say how the margin and the price are turned into each other.
Before you start. The cost the margin should use exists, and you know which items the margin covers.
Create a price margin
- Open QUAPL Price Margins and choose New.
- Type the Code and the Description.
- Fill in Pricing Lookup Method, Price Lookup From and Cost Source.
- Choose the Margin Formula Code.
- Choose Generate Item Price Margins to calculate the margin for the items.
Write a margin formula with COST and PRICE
- Open QUAPL Margin Formulas.
- Open the formula you want to change, or choose New.
- Write the Margin Formula with the placeholders COST, PRICE and MARGIN.
- Write the Price Formula the other way round, from the margin to the price.
- Choose Test and read the calculated margin and the calculated price.
Important: A margin formula must use COST and PRICE; a price formula must use COST and MARGIN. A formula without them cannot be calculated.
Test a margin formula
- Open the margin formula in the list.
- Type a Cost and a Price that come from a real item.
- Choose Test.
- Read Calculated Price and the calculated margin the formula returns.
- Correct the formula if the result is not what you expect, and test it again.
Example. The formula MARGIN_PURCHASE is tested with a cost of 15,722.54 and a price of 41,647.53; it returns a calculated
margin of 26,818.52 and a calculated price of 691.82.
See which price margins use a formula
- Open the margin formula.
- Choose Price Margins.
- Read the margins that calculate with it.
- Open a margin to change its cost source or its lookup method.
- Choose Restore Default Formulas when the standard formulas should come back.
Example. The formula MARGIN_PURCHASE is used by the price margins in the part on the right; the first of them is
calculated with a cost of 15,722.54 and a price of 41,647.53 and reaches a margin of 26,818.52.
What happens. A margin formula is used by every margin that names it. Changing the formula changes the margin of every item that is measured with one of those margins.
If something goes wrong
A margin formula must use the placeholders COST and PRICE. The app refuses to save a margin formula that does not name both. Write the expression with the placeholders of the company.
A price formula must use the placeholders COST and MARGIN. The same rule applies to the price formula: without COST and MARGIN it cannot be calculated.
A placeholder that is not letters only is refused. The placeholders are letters only; a digit, a space or a symbol in a placeholder is refused. Change the placeholders on QUAPL Setup.
A formula that cannot be calculated is refused. When the formula divides by a value that is zero, the test refuses the result. Type a cost and a price that are not zero.
- One price margin per item and price list line; the app does not stack margins.
- A margin formula calculates with the three placeholders of the company; other placeholders are refused.
- Shelf labels are generated per customer, not per location.
- The price worksheet shows the changes of one run; implement them before you run the next rule.
Do I need a price rule for every item? No. A price group with a default sales price list already prices its items. A rule is only needed when the price has to be calculated from a cost.
Why does a price not change after I changed the formula? The rule has to be run again, and the price worksheet has to be implemented. Until then the price list keeps the old price.
Can two rules cover the same item? Yes. The app tries the rules in the order of the priorities on QUAPL Setup and takes the first price that comes out.
Where does the cost of a price come from? From the Cost Source of the formula or the margin. It can be the item unit cost, the last direct cost or a cost from a price list.
What happens to my prices when I switch the calculation off? Nothing. The standard calculation of the system runs again, and the price lists keep the prices they have.
Can I undo a run? Yes, as long as you have not implemented the worksheet: remove the lines you do not want. After implementing, change the prices back in the price list or run the rule again with the old formulas.
Why does a shelf label show an old price? The dates on its label line do not cover the day it was printed. Correct Sales Price Starting Date and Sales Price Ending Date on the line and print the label again.
