# Item Group

<p class="doc-lead">Item Groups classify similar items together for filtering, reporting, and default settings. Groups can be nested with a parent group, and a default unit or item type set on the group is applied to new items created under it.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-section">
<div class="doc-toc-links">
<a href="#/inventory/item-group?id=overview">Overview</a>
<a href="#/inventory/item-group?id=quick-start">Quick Start</a>
<a href="#/inventory/item-group?id=fields">Fields</a>
<a href="#/inventory/item-group?id=item-code-generation">Item Code Generation</a>
<a href="#/inventory/item-group?id=how-it-works">How It Works</a>
<a href="#/inventory/item-group?id=actions">Actions</a>
<a href="#/inventory/item-group?id=faq">FAQ</a>
<a href="#/inventory/item-group?id=related">Related</a>
</div>
</div>
</div>

<hr class="doc-section-divider">

<h2 id="overview">Overview &amp; List View</h2>

Go to <b>Inventory → Settings → Item Groups</b> from the left menu.

Item Groups are master data. Create and edit them directly from the list — there is no Master Update workflow on this screen. The list is a hierarchical tree of item groups.

Use the <b>Active</b> and <b>Suspended</b> quick filters at the top of the list to switch between in-use and disabled groups.

<b>List columns</b>

| **Column** | **Description** |
|------------|-----------------|
| Id | Group record ID. |
| Name | Item group name. Nested under parent groups when hierarchy is used. |
| Parent Group | Parent group in the hierarchy. |
| Type | Default item type for items under this group. |
| Unit | Default unit of measure for items under this group. |
| Status | Active or Suspended. |

<b>Quick filter tabs</b>

| **Tab** | **Shows** |
|---------|-----------|
| Active | Active item groups (default). |
| Suspended | Suspended groups. |

<b>List row actions</b>

| **Action** | **Description** |
|------------|-----------------|
| View | Opens the group in read-only view. |
| Edit | Opens the edit form. |
| Delete | Removes the group when not referenced by items or sub-groups. |
| Suspend / Activate | Disables or re-enables the group (from the view screen). |

<hr class="doc-section-divider">

<h2 id="quick-start">Quick Start</h2>

<h3>1. Navigate</h3>
Go to <b>Inventory → Settings → Item Groups</b> and click <b>New</b>.

<h3>2. Fill Basic</h3>
On the <b>Basic</b> section, enter a <b>Name</b>. Optionally set a <b>Parent Group</b>, <b>Item Type</b>, and <b>Unit of Measurement</b>.

<h3>3. (Optional) Auto Generate Item Code</h3>
On the <b>Auto Generate Item Code</b> section, set a <b>Variant Code Segment</b> if you use structured variant SKUs, and/or enable the group counter when Item Code Settings uses <b>Item Group Counter</b>.

<h3>4. Save</h3>
Click <b>Save</b>. The group becomes available when creating or editing items.

<hr class="doc-section-divider">

<h2 id="fields">Fields</h2>

The New, Edit, and View screens are organised into two sections: <b>Basic</b> and <b>Auto Generate Item Code</b>.

<h3>Basic</h3>

| **Field** | **Description** |
|-----------|-----------------|
| Name * | Unique name for the group, shown on item records, filters, and reports. |
| Parent Group | Optional. Places this group under another to build a hierarchy (e.g. Raw Materials → Packaging). Only active groups can be selected as parent. |
| Item Type | Optional default item type applied to new items created under this group. |
| Unit of Measurement | Optional default unit. When set, items created under this group default to this unit. |
| Hide in print in sale transaction if foc | When enabled, items in this group are hidden on printed sale documents when supplied free of charge (FOC). |

<h3>Auto Generate Item Code</h3>

These fields work together with <a href="#/settings/item-code-settings">Item Code Settings</a> to auto-generate item and variant codes for items in this group. They appear on New, Edit, and View.

| **Field** | **Description** |
|-----------|-----------------|
| Variant Code Segment | Optional. Used as the item-group part of the structured variant SKU code (its position is set by <b>Item Group Code Order</b> in Item Code Settings). Leave blank to build the SKU code from variant option values only. |
| Auto Generate Item Code By Counter | When enabled, parent item codes for items in this group are auto-generated as Prefix + running number + Suffix (e.g. FR100, FR101). Required when Item Code Settings uses the <b>Item Group Counter</b> method. |
| Counter Prefix | Text placed before the counter number, e.g. <code>FR</code> for Fruits gives FR100. Shown when the counter is enabled. |
| Counter Suffix | Optional text placed after the counter number. Shown when the counter is enabled. |
| Counter Start | The first counter number to use for this group. Each new item continues from the last used number (changing it later affects only future items). Shown when the counter is enabled. |
| Last Counter | Read-only on View. The last counter number issued for this group. |

<hr class="doc-section-divider">

<h2 id="item-code-generation">Item Code Generation</h2>

Item groups can drive item codes in two ways, both controlled from <a href="#/settings/item-code-settings">Item Code Settings</a>:

<ul>
<li><b>Group counter (parent code)</b> — When Item Code Settings uses <b>Item Group Counter</b>, the parent item code for items in this group is generated from this group's counter, e.g. <code>FR100</code>, <code>FR101</code> for Fruits. Enable <b>Auto Generate Item Code By Counter</b> and set the Prefix/Suffix/Start here.</li>
<li><b>Structured variant code (SKU code)</b> — When Item Code Settings has <b>Enable Structured Code For Variant SKUs</b> turned on, this group's <b>Variant Code Segment</b> is used as one part of each variant SKU code, combined with the variant option values (e.g. <code>SH-BLK-M</code>).</li>
</ul>

<blockquote>
If Item Code Settings uses <b>Item Group Counter</b> and an item is created under a group that does <b>not</b> have <b>Auto Generate Item Code By Counter</b> enabled, item creation is blocked. Enable the counter on the group first.
</blockquote>

<hr class="doc-section-divider">

<h2 id="how-it-works">How It Works</h2>

<ul>
<li><b>Item classification</b> — Each item can belong to one item group. The group is used to organize items and to group results on reports.</li>
<li><b>Hierarchy</b> — A parent group lets you roll up sub-groups for filtering and reporting. A group cannot be set as its own parent.</li>
<li><b>Defaults on new items</b> — When a <b>Unit of Measurement</b> or <b>Item Type</b> is set on the group, it pre-fills automatically when you create an item under that group (still editable on the item).</li>
</ul>

<p><b>Connected reports:</b> Filter and group by item group on <a href="#/inventory/reports/stock-report">Stock Report</a>, <a href="#/inventory/reports/item-wise-report">Item Wise Report</a>, and other inventory, sales, and purchase reports where the item group filter is available.</p>

<hr class="doc-section-divider">

<h2 id="actions">Actions</h2>

<b>List header:</b> <b>New</b>

| **Action** | **Description** |
|------------|-----------------|
| View | Opens the group in read-only view |
| Edit | Opens the edit form |
| Delete | Removes the group when it is not referenced by items or sub-groups |
| Suspend / Activate | Disables or re-enables the group (from the view screen) |

<b>Form buttons:</b> <b>Save</b> / <b>Update</b>, <b>Reset</b>, <b>Cancel</b>

<hr class="doc-section-divider">

<h2 id="faq">FAQ</h2>

<b>Do I have to assign every item to a group?</b><br>
Item Group is optional on an item, but assigning groups makes filtering and reporting much easier.

<b>What does setting a Unit of Measurement on a group do?</b><br>
It becomes the default unit for new items created under that group. You can still change the unit on the item.

<b>Can a group be its own parent?</b><br>
No. When editing a group, it is excluded from its own <b>Parent Group</b> list to prevent loops.

<b>Why can't I delete a group?</b><br>
Groups that are used by items or have sub-groups cannot be deleted. Suspend them instead to stop further use.

<b>Are child groups included when I filter reports by group?</b><br>
Yes. Selecting a parent item group in stock and movement reports typically includes items in child groups beneath it.

<b>Does item group affect purchase tax or pricing?</b><br>
Item group is used for reporting and defaults on new items. Purchase tax defaults may also key off item group where configured in Purchase Tax Config.

<b>How do I make items in this group auto-number like FR100, FR101?</b><br>
Set <b>Generation Method</b> to <b>Item Group Counter</b> in <a href="#/settings/item-code-settings">Item Code Settings</a>, then enable <b>Auto Generate Item Code By Counter</b> on this group and set the Prefix (FR) and Counter Start (100).

<b>What is Variant Code Segment used for?</b><br>
It is the item-group part of the structured variant SKU code, used only when <b>Enable Structured Code For Variant SKUs</b> is on in Item Code Settings. It is optional.

<b>Why was I blocked from creating an item with this group?</b><br>
Item Code Settings is using <b>Item Group Counter</b>, but this group does not have <b>Auto Generate Item Code By Counter</b> enabled. Enable it here, or switch the parent method to <b>Number Settings Counter</b>.

<h2 id="related">Related Topics</h2>

<ul>
<li><a href="#/settings/item-code-settings">Item Code Settings</a></li>
<li><a href="#/inventory/inventory-units">Units</a></li>
<li><a href="#/inventory/unit-conversion">Item Unit Conversion</a></li>
<li><a href="#/inventory/inventory-brands">Brands</a></li>
<li><a href="#/inventory/inventory-settings">Inventory Settings</a></li>
</ul>
