Group Card
The Group Card classifies materials in a tree. Each group has a code and a name, and it can sit under a main group. In this card you define a new group, edit an existing one, and delete it. A group is either Normal, with materials and sub-groups under it, or Assembly, which gathers materials and groups from different places under one name. For the idea behind groups, see How materials, groups and warehouses fit together. For the steps, see Add a group of materials.
Opening the window
- From the ribbon: Materials > Settings > Group Card. The icon appears for a user who has the Group Card permission in Users Management at the add or browse level. The permission has four levels: add, browse, modify and delete.
- From the Chart of Materials: double-click a group, or right-click it and choose View Group Card.... The command Add Sub Group opens the card as a new group with the selected group as its main group.
- From other places in the program that open the card on a given group, such as a command that views the group card in the menu of some reports.
The card opens only if your licence includes the warehouses feature. In a sub profit center file, Add, New, Modify and Accounts... are disabled.
Card header and buttons
The header and the buttons show on every page.
Header fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Navigation buttons | Move between the saved groups. | — | See record navigator. |
| Security Level | The security level of the group. | No | Low, Medium or High. The default is Low. The program offers no level above your own. The field is disabled if you do not have the Modify Security Level permission. |
| Code | The group code. | Yes | Not repeated among groups. Example: G02. After you add a group the program increases the last number in the code, as long as Increment material code after save is on (it is on by default). See display options. |
| Name | The group name. | Yes | Not repeated among groups. Example: Groceries. |
| Latin Name | The name in Latin letters. | No | If you enter one, it must not repeat. Example: Groceries. |
| Group Type | Whether the group is normal or assembly. | Yes | Normal (default) or Assembly. The first page changes with the type: Normal shows the General page and Assembly shows the assembly group page. The list is disabled for a saved assembly group. For a saved normal group it stays available unless the program refuses at save (see saving rules). |
Card buttons
| Button | What it does |
|---|---|
| Add | Saves what you typed as a new group, then starts another new group as New does. If the window shows a saved group, the program first asks whether you really want to add, because the information may be duplicated. |
| New | Starts a new group. It increases the code if Increment material code after save is on, and increases the name and the Latin name if Increment material name after save and Increment material latin name after save are on. It clears the picture, the online stores, the taxes (back to defaults), the accounts you read, the assembly group items and the custom fields, and disables Modify and Delete. It does not clear the name, Latin name, notes, main group, security level or group type, so change them before Add. |
| Modify | Saves the changes of the displayed group. Disabled until you display a saved group. |
| Delete | Deletes the displayed group after confirmation. Disabled until you display a saved group. See deleting rules. |
| Accounts... | Opens the default accounts window for this group. It shows only if your licence includes material accounts. |
| Combinations... | Opens the group combinations window. It shows only after you define segments in Materials Segmentation Management, and it works only with a saved group. |
| Branches... | Sets the branches where the group shows. It shows only if branches are on in the licence and in the file options and the file has at least two branches. If you leave the branches unset when you Add a sub-group, it takes the branches of its main group. |
| Close (becomes Cancel after any change) | Closes the card. If it has unsaved changes and the warning option On cancel is on, the program asks whether to discard them. See warning options. |
Card pages
A list of pages sits on the side of the card. Click a page name to open it.
| Page | Contents |
|---|---|
| General | The main group and notes, or the group items when the type is Assembly. |
| Picture | The group picture. |
| Online Stores | Linking the group to online stores. |
| Taxes | The default tax coding of materials. It shows if the Gulf tax system is on. |
| Custom Fields | The fields you defined for groups. It shows if the custom fields feature is in your licence. See Custom fields. |
General page
It shows when Group Type is Normal.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Main Group | The group this group sits under. | No | Leave it empty for a group at the top of the tree. The lookup lists only normal groups that have no materials, so you cannot put a group under a group that holds materials. See lookup and search. If the Gulf tax system is on, choosing a main group in a new card fills the Taxes page with the tax coding of the main group. |
| Notes | Free text. | No | — |
When you open the card with the Add Sub Group command, the program sets the main group and suggests the code that follows the code of its last sub-group. If it has no sub-groups yet, the code stays empty, so type it.
Assembly group page
It takes the place of the General page when Group Type is Assembly. An assembly group does not change the group of any material. It is a list of materials and groups that are treated together. When a materials report has a Group condition (for example Assembled Material Components), choosing an assembly group includes the materials you listed in it.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Menu Name | The name of the node under which the group shows in the Chart of Materials. | No | Type a name. All assembly groups with the same name are gathered under one node inside the Collective Groups node. If you leave both names empty, the group shows directly under Collective Groups. |
| Latin Menu Name | The same name in the English interface. | No | As above. |
| Items table | The materials and groups the group is made of. | Yes, at least one item | See the next table. |
The table has two columns, one row per item:
| Column | Description | Values and rules |
|---|---|---|
| Item Type | Whether the item is a group or a material. | A list with Group and Material. Choose the type before the item, or the message "Must select item type" appears. Changing the type clears the item cell. |
| Item | The group or the material. | Type part of the code or the name and press Enter to open the lookup. You can select several items, and they fill consecutive rows. For Material the lookup lists normal and composite materials. For Group it lists all groups, normal and assembly. The cell shows "code-name". |
To delete an item press Delete on its cell. You can copy and paste rows as in grids. When you open a saved group the items show ordered by group code, then by material code.
Picture page
The page keeps one picture for the group in the database.
| Item | What it does |
|---|---|
| New | Opens a file selection window. Accepted formats: bmp, jpg, jpeg, gif, png, tif, tiff and webp. If you choose several files, the last valid picture stays. |
| Delete | Removes the picture from the card. Disabled while the page has no picture. |
| Dropping a file | Drag a picture file and drop it on the page instead of clicking New. |
| Picture area | Shows the picture. Before you add one it shows: "No image is inserted! Click "New" to add a new image." |
The picture is saved only when you click Add or Modify. If you delete the picture and save, the program removes it from the database. For a saved group the page reads the picture from the database the first time you open it.
Online Stores page
The page links the group to the online stores you linked from File > Online Stores, and sets for each store the Default Price of the group materials and their keywords. The list and its two buttons are explained in the Online Stores page of the Material Card. In the group page:
- there is no Export button, because exporting is done from material cards;
- the program checks neither prices nor segment limits at save;
- the gear button opens the Group Settings in the Store window.
Group Settings in the Store window
It opens when you click the gear button beside a checked store. Its title is "Group Settings in the Store", and it shows the store name.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Sale Currency | The currency you set for the store when you linked it. | — | Read-only. |
| Default Price | The price type from which the program takes the store price of the group materials. | Yes | Wholesale, Semi wholesale, Export, Distributor, Retail, Consumer or Specific Value. The default is Consumer. Your file may rename some of these types. A material that you later put in the group takes this type the first time you open the store settings in its card. |
| Language | The store language whose keywords you set. | Yes | A list of the store languages. The first language is selected. |
| Keywords | The store search words of the group in the selected language. | No | Type a word and press Enter after each one, so that it becomes a small tag. The hint "Press Enter after each keyword" shows under the field. |
| Button | What it does |
|---|---|
| Ok | Applies what you typed to the page. It saves nothing to the database until you click Modify or Add in the card. |
| Cancel | Closes the window without applying. |
Specific Value is in the list, but this window has no box for typing the value. Choose one of the other types.
Taxes page
It shows if the Gulf tax system is on. It sets the tax coding a new material takes when you put it in this group.
| Column | Description | Editable |
|---|---|---|
| Tax Type | A tax type that is on in the tax settings: one row per used type, shown as "abbreviation-name". | No |
| Tax Code | The tax coding of the type. Choose from the list. | Yes, but value added tax needs the Modify tax info in material card permission. |
| Percentage | The percentage of the chosen coding. | No. The program fills it from the coding. |
| Calculate Tax on Profit Margin | Whether the tax is calculated on the profit margin. | Yes, Yes or No. Available for value added tax once you choose a coding for it. In the Saudi tax system it is available only if the profit margin option is on in the Saudi tax system options. |
When you Add or Modify a group, the program saves one row for each type that has a coding. Types whose coding is Without are not saved. A new material takes these settings when you choose its group in the material card. See the Taxes page of the Material Card.
Default accounts
The Accounts... button opens the default accounts window of the group. It is the same window for the material and account cards. Default accounts window explains it, and Set default accounts gives the steps. Changing the accounts in the window needs the Modify Materials Accounts and Groups Accounts permission.
The accounts you set are saved only when you click Modify or Add in the card. When you Modify a group after changing its accounts, the program asks:
- If the group has materials: "Do you want to change materials accounts to match the accounts of this group?". Yes changes the accounts of all the materials. No changes only the materials that have no accounts and keeps what was set earlier.
- If the group has sub-groups: "Do you want to change accounts of groups related to this group to match the accounts of this group". Yes changes the accounts of the sub-groups, and No leaves them.
Group combinations window
The Combinations... button opens the Define Group Combinations window. In it you choose the segments (such as color and size) and the elements of each segment that the materials of this group may use. You define the segments themselves in Define Segments.
The Save button of this window saves the segments at once. It does not wait for Modify in the group card. The button is disabled if you do not have the Edit segments in material or group card permission.
Segments table
| Column | Description | Values and rules |
|---|---|---|
| Segments | The segment. | A list of the file segments. A segment used in one row does not appear in the other rows. Its text before you choose is "Select segment". |
| Segments Elements | The allowed elements of the segment. | Choose one or more elements from the list, and they show as small tags. Its text before you choose is "Select element". The arrow button at the start of the cell ("Insert all segment elements") puts all the elements of the segment, and it is disabled when you have chosen them all. |
| Button | What it does |
|---|---|
| Add | Adds a segment row. Disabled when all the file segments are used. |
| Delete | Deletes the selected row. It is also in the right-click menu of the cell. |
| Save | Checks that every row has a segment and elements, then saves and closes the window. |
| Close (becomes Cancel after any change) | Closes the window without saving. |
Under the table the text "Possible combinations count: n" shows the product of the numbers of chosen elements. It shows 0 while no segment has elements.
| Message | Why it appears | What to do |
|---|---|---|
| Must select all inserted segments | You clicked Save and a row has no segment. | Choose the segment or delete the row. |
| All inserted segments must have elements selected | You clicked Save and a segment has no elements. | Choose the elements or delete the row. |
Saving rules
When you click Add, the program checks in this order:
- Name and Code are not empty, then the fields of the Custom Fields page if it has fields.
- For an assembly group: at least one item, no repeated item, no overlap between materials and groups (a material that is also inside a listed group), and no overlap between a material and its combinations.
- The confirmation question if the warning option On save is on.
- Name, Code and Latin Name are not used by another group.
When you click Modify, the first steps are these, followed by the same checks:
- Name and Code are not empty.
- Main Group is neither the group itself nor one of its sub-groups, and the type Assembly is not accepted for a group that has materials.
- The fields of the Custom Fields page.
- The confirmation question if the warning option On modify is on.
- The checks of the assembly group items, then no repeated name, code or Latin name.
After that the program saves all the pages together in one transaction: the data, picture, taxes, assembly items, accounts, custom fields and online stores. If one fails, it undoes all.
When you Add a new group, the Online Stores and Custom Fields pages are saved after the card starts a new group, so they do not receive the values you set on them. Set them afterwards: open the group with the navigator, then click Modify.
Deleting rules
Delete always asks for confirmation first: "Are you sure you want to delete?". After you confirm, the program refuses to delete the group in these cases, in this order:
- The group is the default group of an invoice form.
- It has materials.
- A special offer uses it (an item or a conditional discount).
- The messages system conditions use it.
- A distribution unit card uses it.
- It has sub-groups.
- A production line uses it.
- A POS card uses it.
- It is the semi-manufactured materials group in the manufacturing options.
If the checks pass, the program deletes the group, its picture, its accounts, its assembly items and its online store links. It does not delete an assembly group that is an item in another assembly group. After the deletion Modify and Delete are disabled.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Please enter the name | You saved without a Name. | Type the name. |
| Group code missing | You saved without a Code. | Type the code. |
| Invalid main group! (Could be one of this group children) | Main Group is the group itself or one of its sub-groups. | Choose another group. |
| Cannot make changes because items are linked to the group. | You set Group Type to Assembly for a group that has materials. | Set the type back to Normal. |
| Can't add or modify assembly group that contain no materials or groups | The assembly table has no items. | Add an item. |
| Can't add material or group more than one time! | An item repeats in the table. | Delete the repeat. |
| Can't add, because of materials and groups overlap | A material in the table is also inside a group in the table. | Delete one of them. |
| Cannot add! because of the overlap between the materials and their combinations | The table has a material together with its parent or one of its combinations. | Delete one of them. |
| Must select item type | You typed in Item before choosing Item Type. | Choose the type first. |
| The name is used in another card. Can't save card! | The name exists in another group. The message shows the code and name of the other group. | Change the name. |
| Code is used in another card. Card can't be saved! | The code exists. | Change the code. |
| This Latin Name is already used in another card | The Latin name exists. | Change it or empty it. |
| Are you sure you want to complete saving? | You clicked Add and the warning option On save is on. | Click Save to continue, or Cancel to go back. |
| Are you sure you want to save changes ? | You clicked Modify and the warning option On modify is on. | Click Save or Cancel. |
| This window contains some information that might be duplicated. … Are you sure you want to add? | You clicked Add while the window shows a saved group. | Click Yes to add a new group with this information, or No and change it or use Modify. |
| Do you want to change materials accounts to match the accounts of this group? | You modified a group whose accounts you changed, and it has materials. | Yes changes all the materials, No changes only the materials without accounts. |
| Do you want to change accounts of groups related to this group to match the accounts of this group | You modified a group whose accounts you changed, and it has sub-groups. | Yes changes their accounts, No leaves them. |
| Are you sure you want to delete? | You clicked Delete. | Click Delete to continue, or Cancel. |
| The group can't be deleted because it is used in the form | The group is the default group of an invoice form. | Change the group in the form. |
| Group is used by material No. Material name: … | The group has a material. | Move or delete the materials. |
| Can't delete the group! It's used in special offer : … | A special offer uses the group. The message shows the offer name and number. | Edit or delete the offer. |
| Cannot delete the card! it is used in messages system | A message condition uses it. | Edit the condition. |
| The group is used in Distribution Unit card: … | A distribution unit uses it. The message shows its code and name. | Change the group of the unit. |
| Group is used by group No. Group name: … | The group has sub-groups, or it is an assembly group and an item in another assembly group. The message shows the name of a sub-group or of the other assembly group. | Move or delete the sub-groups first, or remove the item from the other assembly group. |
| The group is used in Production Line | A production line uses it. | Change the line. |
| Group cannot be deleted! it is used in POS card | A POS card uses it. | Change the card. |
| The group is used in the Manufacture options, cannot delete | It is the semi-manufactured materials group in the manufacturing options. | Change the manufacturing option. |
| Cannot delete the group, it is used in POS settings / restaurants (title: Group is used) | The database refused the deletion because the group is in POS or restaurants settings. | Change those settings. |
| You do not have permission | You moved to a group whose security level is above your permission. The text shows in the fields, and Modify, Delete and Accounts... are disabled. | Ask for the permission. |
| Do you want to ignore the inputs and close the window? | You closed the card with unsaved changes, and the warning option On cancel is on. | Close Window discards the changes, Cancel goes back to the card. |
| Are you sure you want to ignore information entered here and move into a new record? | You moved to another record with unsaved changes, and the warning option On cancel is on. | Move discards the changes, Don't Move goes back. See record navigator. |
| The image was not saved in the database! | The Picture page holds an image file that was not moved into the database when the file was updated. | Click New to add a replacement picture. |
| Image could not be loaded. This may be due to a corrupted file, unsupported format, or unavailable decoder. | The saved picture cannot be shown. | Click New and choose another picture. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.