Catalog

Create Units for Item Quantity and Selling Labels

Units make quantities readable on item, sale and stock screens. Create short unit labels once, then assign them consistently to item records.

Menu path
Inventory -> Units
Verified from
Posnic demo and current POS source reviewed on 2026-09-08
Technical source evidence

frontend/modules/units.html first-class Inventory page with export filter new, frontend/static/script/js/modules/js/units.js client-side search pager inline editor usage lookup delete, api/src/controllers/settings.controller.js getUnitAll addUnit editUnit deleteUnit validation, api/src/models/setting.model.js unit duplicate-by-value and branch/license filtering, frontend/modules/items_write.html Item Units select and service unit, frontend/static/script/js/modules/js/items.js loadSelectUnits and per-variant units, demo.posnic.io Units reviewed on 2026-09-04

Units list and usageSelecting a unit opens the right pane with value and the items currently using it.
New unit editorUnits are created and edited directly in the right pane, not in a modal.
Assign unit on itemChoose the correct unit when creating or editing an item.

What Units Are For

A unit tells staff and reports what a quantity means. A stock count of 10 is clearer when the item says 10 pieces, 10 bottles or 10 packs.

  • Use units for product quantity labels, not for categories or variants.
  • Use familiar staff language such as Piece, Bottle, Pack, Box, Cup, Plate, Portion or Serving.
  • Use a short Value because it appears in compact places such as bills and stock rows.
  • Assign the unit while creating the item so stock and selling screens read correctly.
  • Keep service units separate: service items use Fixed price, Per hour or Per day from the item form, not the Inventory Units list.

Screen Map

Inventory -> Units uses a split page. The list stays on the left and the right pane changes between details and editor.

AreaWhat it doesOperator note
Export CSVExports this page or everything matching the filter.Use before cleanup or owner review.
FilterSearches unit names on the client-side list.Clear it before broad review.
NewOpens the inline New unit editor in the right pane.No pop-up appears for units.
ListShows Name and Value.Rows are sorted by name from the API.
Detail paneShows Value and Used by items.Check this before edit or delete.
Edit/DeleteAvailable from the detail pane when permissions allow.Delete removes the picker entry; it should not be routine cleanup.

Create a Unit

  1. Open Inventory -> Units.
  2. Click New.
  3. Enter Name, such as Piece, Bottle, Pack or Carton.
  4. Enter Value, such as piece, bottle, pack or 12.
  5. Keep Value short. The controller accepts compact values and rejects overly long ones.
  6. Click Save.
  7. Open Inventory -> Items and assign the unit to one item.
  8. Check New Sale and reports to confirm the label is understandable.

Name and Value

The unit has two operator-facing parts. Name is what staff recognize. Value is the compact stored/display value used by item rows and pickers.

ExampleNameValue
Single retail productPiecepiece
Bottled productBottlebottle
Case or cartonCarton12
Menu itemPlateplate
Service labelServiceservice

Assign Units to Items

  1. Create or verify the unit first.
  2. Open Inventory -> Items -> New or edit an item.
  3. Find Item Units near the reorder point and category/supplier area.
  4. Choose the right unit from the dropdown.
  5. For a variant item, review the unit on every generated variant row.
  6. Save the item.
  7. Open Item Details, New Sale and Inventory Logs to confirm the unit label reads correctly.

Used by Items

The Units detail pane loads item usage before the operator edits or deletes. It checks both newer item records with unit_id and older records that only stored the unit name.

  • Click a unit row before cleanup.
  • Read the Used by items list and note product name, SKU, price and stock.
  • If many items use the unit, update those products first before renaming or deleting the unit.
  • If no items use it, deletion is lower risk but still worth exporting first.

Edit or Delete a Unit

Before editing or deleting a unit, check where it is used. The page is designed this way because a unit affects how stock and sales quantities are read.

  • Fix spelling early, before many items use the unit.
  • The add flow refuses duplicate unit values, so do not create Piece and Pieces with the same value by accident.
  • Keep Value changes small because the value is what item pickers store and display.
  • Do not delete a unit that still appears on active products.
  • Move affected items to the replacement unit before cleanup.
  • Deleting removes the unit from the picker, but older item records may still display the stored name or id until they are edited.
  • Export the unit list when preparing a larger catalog cleanup.

Unit Examples

BusinessUseful unitsAvoid
RestaurantPlate, Bowl, Cup, Serving, PortionUsing one generic unit for all menu items.
RetailPiece, Pack, Box, BottlePutting pack size only in the item name.
GroceryKg, Gram, Litre, PacketMixing weight and count without clear labels.
ServiceService, Job, HourUsing stock units for non-stock services.