Skip to main content

Custom units group screen

On this screen you name a unit group and add its units and their conversion factors. The administrator or the person who sets up the system uses it. The steps and a conversion example are in Units of measure.

Opening the screen​

On the Custom Units tab:

  • To add, click Add group. The screen's title is Add a group of custom units.
  • To edit, click Edit on the group's row. The screen's title is Edit a group of custom units.

The Edit a group of custom units screen with the group name, the units table and the Active switch

Group name​

FieldDescriptionRequiredValues and rules
Group nameThe name the units show under when someone chooses the unit of an item.Yes, in every languageText, for example Packs. In no language may it repeat the name of another group, custom or standard. When you leave the field, the name is copied to every empty language.
ButtonWhat it does
Language-code button (ع or E)Opens the Text field translations drawer. Shows if you have more than one language; disabled while the name is empty in all languages.
CancelReturns you to the list. If there are unsaved changes, the Discard Changes window shows first.
SaveChecks the name and the units, saves the group and returns you to the list without a message. It has no effect if you changed nothing. Shows for users with the Add permission for a new group, or Edit for an existing one.

Units table​

The units you add, edit or delete here are stored with the group, when you click Save at the top of the screen.

FieldDescriptionRequiredValues and rules
UnitsThe unit's name in your language.——
CodeThe unit's code in your language.——
Conversion factorThe number of base units in the unit.—See How the conversion factor works.
DefaultThe unit that shows first among the group's units when someone chooses the unit of an item.—One unit per group. The first unit you add becomes the default. If you delete the default unit, the first remaining unit becomes the default.
ActionsRow commands.——
ButtonWhat it does
Add UnitOpens the Add Unit drawer. Its name is Add on a phone. Shows for users with the Add permission.

If the group has no units, "No units found" shows, and below it "You can add units by clicking the “Add unit” button at the top of the screen.".

Unit row commands​

ButtonWhat it does
EditOpens the Edit unit drawer. Shows for users with the Edit permission.
DeleteIn the arrow ▾ menu. Opens the delete unit window. Shows for users with the Delete permission.

This table has no right-click menu.

Delete unit window​

It has no title. Its text is "Are you sure delete selected items?".

ButtonWhat it does
Yes, RemoveChecks that the unit is not used by items or in a past sale, then removes it from the table. It is deleted for good when you save the group.
No, CancelCloses the window without deleting.

Active switch​

FieldDescriptionRequiredValues and rules
ActiveWhether the group's units show when someone chooses the unit of an item.—Switch, on in a new group. Shows if the group has at least one unit. Switching it off is not saved while an item uses one of the units.

Add and edit unit drawer​

Its title is Add Unit or Edit unit.

The Edit unit drawer with the unit name, the code, the conversion factor and the save buttons

FieldDescriptionRequiredValues and rules
Unit nameThe name chosen on the item screen and seen by the cashier.Yes, in every languageText, for example Box. In no language may it repeat, in this group or in another. A language-code button is next to it.
CodeThe unit's short form.Yes, in every languageText, for example bx. In no language may it repeat, in this group or in another. A language-code button is next to it.
Conversion factorThe number of base units in the unit. It decides the price when the unit of a line changes at the POS.YesA number above zero; decimals are allowed, for example 6 or 0.5. Starts at 0 and must be changed. The drawer accepts zero and negative numbers, and tablies rejects them when you save the group.
Unit in Egyptian taxesThe matching unit in the Egyptian Tax Authority's list.Yes, if the Egyptian tax system is activeShows with the Egyptian system only. A choice from a list. If nothing matches, "No units in Egyptian taxes found" shows.

The Add Unit drawer in an Egyptian organization with the Unit in Egyptian taxes field

ButtonWhat it does
Language-code button (ع or E)Opens the Text field translations drawer for the name or the code.
Save & NewPuts the unit in the group's table and empties the drawer for a new unit. "Data saved successfully." shows, but the unit is stored only with the group.
Arrow next to Save & NewOpens the save menu.
Cancel, ✕ or clicking outside the drawerCloses the drawer without saving and without asking.

Save menu​

ButtonWhat it does
Save & ClosePuts the unit in the table and closes the drawer without a message.
SavePuts the unit in the table and keeps the drawer open. "Data saved successfully." shows.

Text field translations drawer​

Its title is Text field translations followed by the field name in brackets: Group name, Unit name or Code.

The Text field translations drawer for a unit name with one box per language

FieldDescriptionRequiredValues and rules
عربي(ع)/ArabicThe name or code in Arabic.YesText.
English/انجليزي(E)The name or code in English.YesText.

There is one box per language added in Languages.

ButtonWhat it does
SaveMoves the texts to the screen and closes the drawer.
Cancel or ✕Closes the drawer and ignores what you changed in it.

Discard Changes window​

Shows if you click Cancel, or move to another settings tab or another screen, while the group has changes you have not saved. Its title is Discard Changes ? and its text is "Are you sure you want to leave this page and discard changes?".

ButtonWhat it does
Yes, Discard ChangesLeaves the screen without saving.
No, BackKeeps you on the screen.

Messages​

MessageWhen it appearsWhat to do
All required fields must be filled in with correct information.You saved the group or unit with an empty or wrong field.Correct the fields marked in red.
Please fill out this fieldThe field is empty.Fill in the field.
Conversion factor should be greater than zeroYou typed something other than a number in Conversion factor.Type a number, for example 6.
You must add at least one unit.You saved the group with no units.Add a unit.
Unit name or code already existsAnother unit of the group has this name or code, ignoring letter case.Change the name or the code.
Unit name already exists.You saved a unit whose name exists in another group.Change the name.
Unit code already exists.You saved a unit whose code exists in another group.Change the code.
Conversion factor cant be zeroYou saved the group while a unit has a zero or negative factor.Edit the unit.
Unit group already existsAnother group has this name.Change the group name.
Cannot delete a unit that used in itemYou deleted a unit that an item, prepared material, combo or general modifier uses.Change the item's unit first.
Cannot delete a unit that used in ticket itemYou deleted a unit that has been sold.Keep the unit.
Can't Deactivate Groups With ItemsYou switched Active off and an item uses one of the units.Change the unit of those items first.
Egyptian unit is requiredYou saved an existing group with the Egyptian system, and a unit has no Unit in Egyptian taxes.Edit the unit and choose its match.
You don't have required permissionYou saved a new unit without the Add permission, or an existing one without Edit.Ask a system admin for the permission.
Failed to update units groupAnother user deleted the group before you saved it.Go back to the list.