> 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/settings/data-management/product-behaviours.md).

# Product Behaviours

Set rules for products made up of other products - what can be edited, and how parent and child quantities relate.

Some products are made up of others, such as a branded gift pack with two pens and a notebook. When the client wants 50 packs, the pens and notebooks on the quote should follow without your rep counting them. A product behaviour in OrderEazi sets these rules for a product's parent line and its child lines.

### Before you start

You'll need the **Data Management** permission, in the **Settings** permission group. If you don't have it, ask your OrderEazi administrator to add it to your role.

### How to add a product behaviour

1. In the main menu, go to **Settings** > **Data Management**.
2. Select the **Product Behaviours** tab, then **Add Product Behaviour**.
3. Enter a **Name** and, if you like, a **Description**.
4. Choose the **Parent Quantity Mode**.
5. Tick the **Parent Line Permissions** and **Child Line Permissions** you want.
6. Select **Confirm**.

You see "Product behaviour created successfully." Then give the behaviour to a product, in the product's **Product Behaviour** field. A product without one uses OrderEazi's default behaviour.

> **Note:** **Parent Line Permissions** and **Child Line Permissions** decide what can be changed on the lines of this product, for everyone. What each person can do is still set by their own permissions.

### How parent and child quantities relate

The **Parent Quantity Mode** sets how the parent line's quantity and its child lines' quantities work together:

* **None:** The parent and child quantities aren't linked.
* **Sum:** The parent's quantity is the total of its children's quantities.
* **Override:** The parent's quantity is copied to every child line.
* **Multiplicative:** Each child line has a **Per Parent Qty**, which is multiplied by the parent's quantity. The child's total shows as "Total units:".

**Example:** A gift pack uses a behaviour set to **Multiplicative**. Its children are a pen with a **Per Parent Qty** of 2 and a notebook with 1. A rep sets the gift pack's quantity to 50. The pen line shows "Total units: 100" and the notebook line "Total units: 50", without the rep changing either.

> **Warning:** Changing the **Parent Quantity Mode** of a behaviour that's in use recalculates the quantities on every project line using it. Projects that already have a Sales Order or Purchase Order aren't changed.

### What can be changed on the parent line

* **Add Child:** Lets your team add products as child lines. The parent's totals then come from its children.
* **Edit Quantity:** Lets your team change the parent's quantity.
* **Edit Supplier:** Lets your team change the parent's supplier.
* **Sync to ERP:** Sends the parent line to your accounting system when it's on a document. On by default.
* **Show Pricing Fields:** Shows the parent's unit cost, markup or margin, unit selling price, and discount, worked out from its children. They can't be edited on the parent.

### What can be changed on child lines

* **Edit Quantity**, **Edit Cost**, **Edit Markup/Margin**, **Edit Selling**, and **Edit Discount:** Let your team change that field on each child line. A field that can't be edited is shown but locked.
* **Edit Supplier:** Lets your team change each child line's supplier. When it's off, the supplier column isn't shown on child lines at all.
* **Sync to ERP:** Sends child lines to your accounting system when they're on a document. On by default.
* **Bypass Restrictions:** Child lines aren't checked against the clients a product is restricted to. The parent product decides, so a child restricted to other clients can still be sold as part of this product.

Child lines can't be added or removed once a Sales Order or Purchase Order exists for the project line.

### How to delete a product behaviour

1. Open the menu on its row and select **Delete**.
2. You're asked whether you're sure. Confirm.

A behaviour given to a product can't be deleted. You see "Cannot delete product behaviour because it is linked to products." Give those products another behaviour, then delete it.

### Related pages

* [Data Management](/central/order-management/settings/data-management.md): the other lists
* [Product Management](/central/order-management/products.md): give a product its behaviour
