> For the complete documentation index, see [llms.txt](https://support.ordereazi.com/central/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.ordereazi.com/central/order-management/pricelists/global-price-list-rules.md).

# Global Price List Rules

Work out every selling price on a pricelist from supplier cost, with rules that run every day.

Keeping thousands of prices up to date by hand isn't possible when supplier costs change every week. Global rules work out every selling price on a pricelist in OrderEazi from the product's cost, for example cost plus 30%. They run automatically every day, so prices follow your suppliers' costs.

### Before you start

The pricelist must be saved, and its products must already be on it. Rules only price products that have a supplier cost: a product with no supplier price is skipped.

### How to set up global rules

> **Warning:** Rules replace every selling price on the pricelist, including prices you entered by hand or imported. Don't add rules to a pricelist whose prices you set yourself.

1. In the main menu, select **Pricelists**, then **Edit** on the pricelist.
2. On the **General** tab, under **Global Pricelist Rules**, select **Add Rule**.
3. Enter a **Rule Name**, choose the **Type**, and enter the **Type Value**.
4. Add more rules in the order you want them applied.
5. Enter a cost in **Test Value** to check the **Final Value** the rules give.
6. Select **Save Rules**.

To apply them straight away, select **Run Rules Now**. It can take up to a minute. Otherwise they run every morning.

### How the rules work

Each product starts from its lowest supplier cost. The rules are applied one after the other, from the top, and each works on the result of the one before. The final price is rounded to your organisation's rounding setting.

The rule types are:

* **AddValue:** Add an amount, such as R50.
* **AddPercentage:** Add a percentage, such as 25%.
* **SubtractValue:** Take off an amount.
* **SubtractPercentage:** Take off a percentage.
* **AddMargin:** Price for a margin. A 25% margin on a R100 cost gives R133.33. The margin must be less than 100%.

**Example:** A mug costs R40 from its cheapest supplier. Your rules are **AddPercentage** 30, then **AddValue** 5. The mug becomes R52 after the first rule, then R57 after the second, so its selling price on the pricelist is R57.

### When prices don't change

* **The product isn't on the pricelist:** Add it first, by product, by import, or by linking its supplier.
* **The product has no supplier cost:** Add a supplier and cost to the product.
* **The rules aren't saved:** Select **Save Rules**, then **Run Rules Now**.

### Related pages

* [Pricelists](/central/order-management/pricelists.md): put products on a pricelist
* [Linking Suppliers to a Price List](/central/order-management/pricelists/linking-suppliers-to-a-price-list.md): add a supplier's products automatically, then price them with rules
