Skip to main content

Open in TWICE Admin

inventory/stock-items
Record units you sold outside any order, such as used stock sold off to a dealer, in one go: scan them, then choose Mark as sold. Each unit leaves the stock for good and gets a sale event with its income. Stock item events explains what a sale records. Choose Add → Sale on a stock item’s Events tab to sell one unit from its own page.

Prerequisites

Required permissions:
  • The permission to create stock item events (inventory:stock_item_events:create) to sell the units. Every built-in role holds it, Member included. See Users & Roles.
Have ready before you start:
  • The units, with their codes on them, and a barcode scanner. Or tick their rows on Inventory → Stock items instead, which carries the same More.
  • The price each unit sold for. Run a separate sale for each price, because one price applies to every unit in the sale.

The walkthrough

1

Scan the units

Scan the code on each unit you sold, from any page except an order. The units collect in the Scanned items drawer at the bottom of the screen, every row ticked. Remove the tick from any unit that is not part of this sale.
2

Choose Mark as sold

Click More in the drawer’s header and choose Mark as sold. A dialog opens titled, for example, “Mark 3 items as sold”, and reads “Sold items leave the stock for good. Each gets a sale event with its income.”
3

Enter the price

Enter what each unit sold for in Price per item. Under the field, Total shows the sum for every unit in the sale. Leave the field empty to record no income. Enter how many you sold in Quantity first when the drawer holds one stock item with several identical units.
4

Name the sale

Replace Sale in Title with something you will recognise later, such as the buyer’s name, and add any detail in Comment. The title names the sale on each stock item’s Events tab.
5

Sell the units

Pick the location the units left from in Sold from, which shows only for a stock item stocked at several locations. Click Mark as sold at the bottom of the dialog. If no order or reservation holds the units, a notice such as “3 items marked as sold” confirms it, and the units leave the drawer.
6

Confirm what the sale takes over

Read the list if “Existing orders and reservations will be affected” opens: each row names a stock item and the order or reservation that loses it. To go ahead, tick “Please confirm you understand the impact” and click Mark as sold. To keep them, click Cancel and untick those units in the drawer.

How do I know it worked?

  • A notice counts the units sold, for example “3 items marked as sold”, and they leave the drawer.
  • Each stock item’s Events tab lists the sale under your title, with Sold at set to the moment you sold it.
  • Each stock item’s Income & Expenses tab shows the price as income, linked to the sale.
  • Each order the confirmation listed shows Unavailable stock items until it has another unit. See Resolve a stock item conflict.

Troubleshooting / common pitfalls

It reads, for example, “Climbing helmet does not have that many units to sell. Nothing was sold.” Set a lower Quantity, or remove that stock item from the sale, and try again. See Sales.
“These items changed before they could be sold. Nothing was sold. Try again.” means an order or reservation took one of the units while the dialog was open. Click Mark as sold again, and the confirmation lists the current holds.
Delete the sale on the stock item’s Events tab to remove its record and income. The unit stays out of stock, so raise the stock item’s quantity to bring it back. See Sales.

Stock item events

What a sale records, and what deleting one does.

Scanning and editing stock

Every walkthrough for scanning stock items and changing them in bulk.

Scan stock items

Collect the units by their codes first.

Income & Expenses

Where the price of each sale is recorded.

Create an order from scanned items

Sell the scanned units to a customer on an order instead.