Phone app¶
The phone app is a small version of JAI Tool for the warehouse floor: scan a QR label to look an item or assembly up, scan items into an assembly, or scan items onto an invoice.
Everything else stays in the full app.
It lives at the app's address followed by /m/, and every account can use it.
Each screen needs the same permission as in the full app: Items to look up items, Assemblies for assemblies, Invoices for invoices. Scanning items into an assembly needs Create/Edit on Assemblies, and onto an invoice Create/Edit on Invoices; see Permissions.
Open on phone¶
The quickest way onto a phone is to let a signed-in computer sign it in:
- In the full app, click Open on phone at the bottom of the sidebar. In a compact sidebar it sits under the More button.
- A QR code appears. Scan it with the phone's camera.
- The phone opens the phone app, signed in as you, with no password or code to type.
The code changes every 10 seconds while the dialog is open, and each code works for 15 seconds and only once. Click Close when done; no new codes are made while the dialog is closed.
Warning
The QR code signs a phone in as you, so show it only to your own phone.
An assembly's Add items tab and an invoice's Add items tab also have an Add items on phone button. Its QR code signs the phone in the same way and opens straight on that assembly's or invoice's scanning screen.
The phone reaches the app at its public address, set when JAI Tool was installed, so the phone must be able to reach that address, for example by being on the same network.
How long a phone signed in this way stays signed in is set by Limit QR sign-in session in System settings.
You can also sign in on the phone itself with your email and password, like on a computer; see Signing in. Logout at the top of the phone home signs the phone out.
Install it on the home screen¶
The phone app can be added to the phone's home screen, where it opens like an app, without the browser's address bar.
- Open the phone app in the phone's browser.
- Use the browser's Add to Home Screen or Install app command.
The icon is called "JAI Tool" and always opens the phone home.
The camera needs https¶
Phone browsers open the camera only for sites served over https. If the app is reached over plain http, Scan label shows Camera unavailable: "This browser offers no camera here: it needs the site over https." You can still type IDs into the ID box. Ask whoever installed JAI Tool to serve it over https; see Install.
If the browser asked for the camera and you refused, the message is "The camera could not be opened. Reload the page and allow it."
Scanning¶
Every screen that scans has the same box at the top:
- Scan label opens the camera full screen. Point it at a QR label until it reads it; the phone vibrates on a read. Tap Done to close the camera.
- The ID box below it finds by number instead: type digits, and up to five records whose ID contains them are listed, the exact ID first. Tap one to use it.
The scanner reads the QR labels JAI Tool prints (see QR labels), and a code that is just an ID such as 144 or #144.
Scanning a label of the wrong kind, such as an assembly's on the items screen, shows "code is not an item" or "code is not an assembly".
Labels printed before the app moved to another address still scan.
Home¶
The home screen shows your initials, Logout, and four entries:
| Entry | What it opens | Needs |
|---|---|---|
| Items | Look up an item. | Items |
| Assemblies | Look up an assembly. | Assemblies |
| Assemblies - Add items | Scan items into an assembly. | Assemblies |
| Invoices - Add items | Scan items onto an invoice. | Invoices |
An entry you have no access to is greyed out.
Items¶
Scan an item's label, or type its ID and tap it. The item opens read-only, with the same facts as its Overview in the full app, its custom fields and its thumbnail. Tap Back to look up the next one.
Assemblies¶
Scan an assembly's label, or type its ID and tap it. The assembly opens read-only, like its Overview in the full app.
Assigning items to an assembly¶
Assemblies - Add items fills an assembly with items by scanning them, like its Add items tab in the full app (see Assemblies).
- Tap Assemblies - Add items.
- Scan the assembly's label, or type its ID and tap it.
- Scan each item you put in.
The screen lists the assembly's blueprint under Blueprints done/total: each item blueprint it needs, with how much it has and how much it needs, such as 12/12 pcs.
Blueprints that stock can complete now come first, then those stock can't cover, then the complete ones.
What a scan does:
- An individual item is added at once, and the toast says "name added".
- A lot item asks how much to add, prefilled with what is still needed or what is on hand, whichever is less. Change it if needed and tap Add, or Cancel. The camera closes so you can type.
The camera stays open between scans, so you can scan item after item. The ID box lists only items that could fill a blueprint still short; tap one to add it.
A scan is refused with a toast saying why, for example:
| Toast | Why |
|---|---|
| Not on the blueprint | The assembly's blueprint doesn't use this item's blueprint. |
| Already complete | The assembly already has all it needs of this blueprint. |
| Already in this assembly / In another assembly | The item is already in an assembly. |
| Not at a warehouse location | Only items in a warehouse location can go into an assembly. |
| Marked faulty, Reserved, Retired | Such items can't go into assemblies unless allowed in System settings. |
| Nothing on hand | A lot with nothing left on hand. |
| Only n unit needed | The amount typed for a lot is more than still needed. |
Without Create/Edit on Assemblies, the screen shows the list but Scan label and the ID box are greyed out.
Invoices¶
Invoices - Add items puts received items onto an invoice by scanning them, like its Add items tab in the full app (see Invoices).
- Tap Invoices - Add items.
- Type the invoice's ID in Invoice ID: invoices whose ID contains the digits are listed with their supplier, date and delivery status. Tap the right one.
- Scan each item, or type its ID and tap it.
What a scan does:
- An individual item that is on no invoice yet is added to this one.
- An individual item already on an invoice is refused: "Already on this invoice", or "Already on" and the other invoice's name.
- A lot item asks how much to add, showing how much of it is not yet on any invoice (name - total amount). Type the amount and tap Add, or Cancel. A lot with nothing left to invoice is refused as "fully invoiced".
The ID box lists only items you can still add: individual items on no invoice, and lots with some left to invoice.
Below the scanner:
- Add shipping adds a shipping line: type the Shipping price and tap Add. Greyed out once the invoice has shipping.
- Add VAT adds a VAT line: either type the VAT amount, or switch on Calculate from price and give the VAT rate (%), prefilled with the default rate from System settings. Greyed out once the invoice has VAT.
- Total shows the invoice's total.
- Items lists the invoice's lines with their amount. Type a price in a line's box to change its unit price; it saves when you leave the box. A calculated VAT line shows its amount without a box.
- removes a line after you confirm Remove.
Without Create/Edit on Invoices, the screen shows the invoice and its lines, but scanning, adding shipping or VAT, changing prices and removing lines are not available.
Tips¶
- Serve JAI Tool over https, or the phone can't scan.
- Add the phone app to the home screen, so it is one tap away.
- On a shared phone, tap Logout when done, or have an admin switch on Limit QR sign-in session in System settings.



