[[brix:en:goods]]
====== Item Groups ======
Grouping items makes them easier to organise and search, and groups them in reports for easier analysis.
Groups are maintained from the //**{Group}**// field on the [[brix:en:goods:basic]] tab of the //**[ [[brix:en:goods|Items]] ]**// form: the **+** icon opens a new group and the pencil icon edits the selected one.
* **//Group// is a mandatory field.** If you do not use groups, open at least one (e.g. //9999 - Unassigned//) and assign all items to it.
* Each [[brix:en:goods:item_stock_types#Item Type|item type]] has its own groups.
* A group code consists of up to four characters (letters and/or digits). The system distinguishes upper and lower case.
* Groups marked as synthetic (parent groups), with three characters or fewer, cannot be assigned to items. Only groups that are not marked as synthetic can be assigned to items.
* Reports group items in alphabetical order of the group code.
===== List =====
[[brix:en:filter_search:start]]
* //**{[[brix:en:goods:item_stock_types#Item Type|Type]]}**// — List filter; only groups of the selected item type are shown. The selection is removed with the clear icon in the field.
List columns:
* **Code**
* **Name**
* **FMCG category** — The name of the category entered on the group; empty when the group has no category. The column is shown only in companies with the **//G_MKC//** setting enabled.
===== Buttons =====
The //Add// dialog shows only the save button; the delete button appears only in the //Edit// dialog.
* **SAVE** — Saves the group data.
* **DELETE** — Deletes the group.
===== Entry fields =====
* //**{Editing allowed}**// — If not ticked, only administrators can edit the data.
* //**{Synthetic}**// — Tick if the purpose of the group is to consolidate data in reports for all groups whose code starts with this code. The filters of various reports then allow selecting the synthetic group, so the report includes all items in groups whose leading code characters match the synthetic group's code. A synthetic group cannot be assigned to items.
* //**{[[brix:en:goods:item_stock_types#Item Type|Type]]}**// — Each item type has its own groups. The type is selected only when the group is created; in the //Edit// dialog the field is disabled and shows the selected type.
* //**{Code}**// — The group code consists of up to four characters (letters and/or digits). Brix distinguishes upper and lower case.
* //**{Name}**// — The group name, up to 35 characters.
* //**{[[brix:en:goods:kpd|KPD]]}**//\\ The code of the **//[[https://web.dzs.hr/App/klasus/default.aspx?lang=hr|Croatian Classification of Products by Activity (KPD 2025)]]//** is selected here. The selection is removed with the clear icon in the field.\\ KPD codes are used only when issuing invoices and are not entered on goods receipts.
- **Priority on closing**\\ When closing an [[brix:en:invoices]], the system first takes the KPD code entered on the item itself.
- **Inheritance from the group**\\ If the item has no code, the program automatically takes the KPD code of the group the item belongs to. The item therefore does not need its own code if one is correctly defined at group level.
- **Validation for F2.0**\\ If no KPD code is defined on the item or on its group, the system will not allow the invoice to be sent through Fiscalisation 2.0 (**//F2.0//**).
* //**{FMCG category}**//\\ The category under Decision NN 75/25 for which the items of the group keep the base price reference date of **2 May 2025**. It is selected from the list: //Food//, //Cosmetics//, //Beverages//, //Household products//, //Cleaning products//, //Toiletries//. The selected value is removed with the clear icon in the field; an empty field means the group has no category, so the reference date for its items is **10 September 2026**. The info icon to the right of the field shows a short description of the data.
- **Inheritance from the group**\\ An item takes over the category of the group it belongs to, so the category does not have to be entered on every item.
- **The item's own value**\\ A category entered on the item itself, on the [[brix:en:goods:basic]] tab, takes precedence over the group's category. If it is entered neither on the item nor on the group, the item is not covered.
- **Item type is not a criterion**\\ The item type //Food and Drinks// denotes items prepared in catering and has nothing to do with this category — the category is a separate piece of data.
The FMCG category only determines the reference date of the base price („Price as of“ date) shown next to the retail price and published in the price list. The field is shown only in companies with the **//G_MKC//** setting (Price control measures) enabled.
==== Example of item grouping ====
* **P - Beverages (synthetic group)**
* P001 - Spirits
* P002 - Soft drinks
* **H - Food (synthetic group)**
* **H1 - Starters (synthetic group)**
* H101 - Fish soup
* H102 - Vegetable soup
* **H2 - Main courses (synthetic group)**
* H201 - Mixed grill
* H202 - Sea bream
===== Limitations =====
* The item type of a group cannot be changed after the group has been created — in the //Edit// dialog the //**{Type}**// field is disabled. A group of the wrong type has to be deleted and a new one created.
* A synthetic group cannot be assigned to items. Its //**{FMCG category}**// field is visible but disabled, because a synthetic group has no items that could inherit the category.
* The //**{FMCG category}**// field and column are shown only in companies with the **//G_MKC//** setting (Price control measures) enabled. The setting is not public — support enables it at the customer's request.
* If //**{Editing allowed}**// is not ticked, only administrators can change the group data.