Assemblies¶
An assembly is one build of an assembly blueprint: items put together into one product, for a customer, kept at a location or with a user. Open it from the sidebar: Assemblies, tab Assemblies. You need the Assemblies permission area: View only to see assemblies, Create/Edit to create, edit, fill, assign and import them, Create/Edit/Delete to delete them.
How an assembly works¶
- Every assembly is built from one assembly blueprint, which you pick when you create it and can't change afterwards.
- The blueprint lists the item blueprints one build needs and how much of each; the assembly's Add items tab compares what is inside with that list.
- An assembly holds individual items, which move into it, and amounts of lot items, which are taken off the lot's quantity on hand.
- An individual item can be in only one assembly at a time; one lot can supply several assemblies.
- Items inside an assembly take its Assigned to and Customer: when you move the assembly, everything in it moves too.
- You set the Status yourself; JAI Tool never changes it on its own.
The Assemblies page has three tabs: Assemblies (this page), Blueprints (see Assembly blueprints) and Order list (what to buy for your builds, see Order list). The Order list tab needs View only on Items - Blueprints.
Statuses¶
| Status | Meaning |
|---|---|
| Not started | Every new assembly starts here, including copies and imported ones. |
| In progress | The build is under way. |
| Halted | The build is paused on purpose. |
| Completed | The build is finished. You can pick it only when every item blueprint on the Add items tab is complete. |
| Completed & tested | The build is finished and tested. Same rule as Completed. |
You change the status on the Edit tab or with Edit multiple. While items are still missing, Completed and Completed & tested are greyed out in the Status list. An assembly whose blueprint lists no item blueprints can never be completed. An assembly that is already completed keeps its status if you later remove items from it.
Not started and In progress assemblies are open builds: the items they still miss count on the Order list. Halted and completed assemblies don't.
Overdue¶
An assembly is Overdue when its Due date is before today and it is assigned to a user or to a location that isn't a warehouse location. Only those placements hold a due date: the Due date field appears only for them, and assigning the assembly to a warehouse location clears it. Overdue isn't a status: it is a count in the status filter bar and an option of the Due date group in Filter rows, next to Not overdue and Not set.
The list¶
The table works like every list in JAI Tool: see Tables for search, Filter rows, Show columns, sorting, paging, selecting rows and Export filtered rows.
The status filter bar counts:
| Count | Rows |
|---|---|
| Assemblies | All assemblies. |
| Warehouse location | Assigned to a warehouse location. |
| Other location | Assigned to a location that isn't a warehouse location. |
| User | Assigned to a user. |
| Overdue | See Overdue. |
| Not started, In progress, Halted, Completed, Completed & tested | One count per status. |
Filter rows has the groups Status, Assigned to and Due date, the dates Assigned on, Created on and Edited on, and the custom fields you pick.
Columns:
| Column | Shows |
|---|---|
| ID | The assembly's number. |
| Thumbnail | Its picture. |
| Name | Its name. |
| Blueprint | The assembly blueprint it is built from. |
| Customer | Its customer. |
| Manufacturer | Its manufacturer. |
| Assigned to | The location or user it is assigned to. |
| Items assigned | How many of the blueprint's item blueprints are complete, out of how many it lists, for example 4/10. N/A when the blueprint lists none. |
| Assigned on, Assigned by | When and by whom it got its current placement. |
| Due date | Its due date. Hidden by default. |
| Created on, Created by, Edited on, Edited by | Record dates and users. |
| Status | Its status. |
Under Show columns you can also add the custom fields of every assembly blueprint (see Custom fields).
The search box looks in the name, the blueprint's name and note, the customer, the manufacturer, the assigned location or user, the note, custom field values, the status and the #ID.
Row actions:
| Button | Does |
|---|---|
| Maintenance | Opens the Maintenance tab. |
| Add items | Opens the Add items tab. |
| Assign | Assigns this assembly elsewhere. |
| Duplicate | Copies the assembly. |
| Delete | Deletes the assembly. |
The toolbar holds Import, Export filtered rows, the bulk actions Assign multiple (), Edit multiple (), Delete multiple () and Generate labels (), and New assembly (). When space is short, these buttons show only their icons.
Creating an assembly¶
- Click New assembly ().
- Pick the Blueprint. The form adds the blueprint's custom fields, prefills Name and offers the blueprint's picture as Thumbnail.
- Fill in the other fields (see the table below) and click Save.
- If the blueprint lists item blueprints, a dialog Create 1 assembly? lists them with the amount each build needs. Switch on Create & assign automatically everything above. to fill the assembly now, or leave it off to create it empty and fill it later on the Add items tab.
- Click Create.
One new assembly opens on its Overview; several take you back to the list.
| Field | What it does |
|---|---|
| Create multiple at once | Creates several assemblies with the same values. Switch it on and enter an Amount from 1 to 100. Each one gets a generated name, so Name is disabled. |
| Blueprint * | The assembly blueprint to build. Fixed once saved. |
| Name | Optional, up to 200 characters. Leave it blank, or as prefilled, to get the generated name <blueprint name> #<ID>. A name you type must not be used by another assembly or item (capitals don't count), can't be an email address, and can't end in # and a number. |
| Thumbnail | The picture shown in lists and on the Overview. A new assembly takes the blueprint's picture; empty the picker to have none. |
| Customer | Optional. Picked from Customers. Items inside the assembly show this customer. |
| Manufacturer | Optional. Picked from the Partners whose role is Manufacturer or Supplier & Manufacturer. |
| Assigned to * | Location or User. A new assembly starts at the Warehouse location for new items set in System settings. The user list holds active accounts. Items inside the assembly follow it. |
| Due date | Shown only when Assigned to is a user or a location that isn't a warehouse location. Makes the assembly Overdue once it has passed. |
| Note | Free text. The list's search reads it. |
| Custom fields | One field per custom field defined on the blueprint's Custom fields tab, below Note. |
Filling it at creation¶
Create & assign automatically everything above. in the Create 1 assembly? dialog does this:
- For each individual item blueprint it creates new items right inside the assembly; it doesn't take existing items from stock.
- For each lot item blueprint it takes the amount from lots in stock at warehouse locations.
- If the lots in stock can't cover the amounts for every assembly you are creating, nothing is created and the form lists each shortage as "name needs x, but only y is on hand." Add stock, create fewer at once, or create the assembly empty and fill it later.
Tip
To use individual items you already have in stock, leave the switch off and use Auto add all from stock on the Add items tab.
The assembly record¶
Click a row to open the assembly. Its tabs are Overview, Edit, History, Gallery and Files (see Records), then Maintenance and Add items. The Maintenance tab shows how many maintenance records the assembly has; the Add items tab shows its progress, for example (4/10).
The Overview shows Name, Blueprint, Customer, Manufacturer, Status, Assigned to, Assigned on, Assigned by, Due date (when set), Created on, Created by, Edited on, Edited by, Note and the custom fields, with the picture beside them. Its buttons are Generate label (see Labels), Delete (see Deleting) and Duplicate (see Duplicating).
The History tab records, among other changes, every item added to or removed from the assembly.
Editing¶
The Edit tab has the fields of the new assembly form, without Create multiple at once and with Status. Blueprint is locked (). Clear Name to get the generated name back. Changing Assigned to moves everything inside the assembly with it.
Add items¶
The Add items tab is where you fill the assembly. Its count, for example (4/10), is the number of complete item blueprints out of the number the blueprint lists; the list's Items assigned column shows the same figure. It counts item blueprints, not units: twelve screws of one item blueprint make one line.
Required item blueprints¶
The upper table lists the item blueprints the assembly's blueprint asks for.
| Column | Shows |
|---|---|
| Needed | The amount one build needs, from the blueprint. |
| Remaining | The amount still missing from this assembly. |
| Available | How much you could add right now (see What counts as available). |
The Remaining pill, and the Remaining group of Filter rows, sort each line into one of three states:
| State | Meaning |
|---|---|
| Already added | Nothing is missing. |
| Ready to add | Available covers what is missing. |
| Not enough available | Available is less than what is missing. |
Click a row to pick that item blueprint: the Items table below then shows only its items, and the auto buttons act on it alone. Click the row again to go back to all missing item blueprints.
What counts as available¶
An item counts as available when all of these hold:
- It sits at a warehouse location, not with a user or at another location.
- It isn't in any assembly.
- For a lot: it has some quantity on hand.
- It isn't faulty, reserved or retired, unless System settings allow it.
The Available column adds these up per item blueprint. The Available list under Items shows them for the item blueprints the assembly still misses, or for the row you picked.
Adding items¶
Under Items, switch to Available to see the items you can add. Its columns are ID, Thumbnail, Name, Blueprint, Quantity (a lot's quantity on hand), Category, Customer and Assigned to. The name carries for an individual item or for a lot, and , or for a marked item.
- For a lot, type the amount in the row's Amount box. It is prefilled with what is missing or what is on hand, whichever is less.
-
Click (Add) in the row, or tick several rows and click Add selected items.
-
An individual item moves into the assembly, and JAI Tool remembers the warehouse location it came from.
- A lot amount is taken off the lot's quantity on hand.
- An amount must be more than zero, no more than is missing and no more than is on hand.
- Amounts are whole numbers, except for the units m, cm, mm, kg, g, l and ml.
JAI Tool refuses an item it can't add and says why, for example Already complete, In another assembly, Not at a warehouse location, Marked faulty, Reserved or Retired.
Add items on phone () shows a QR code that opens this assembly's Add items page in the phone app, where you scan item labels to add them (see Phone app).
Auto add from stock¶
Auto add all from stock fills every missing item blueprint from available stock; with a row picked, Auto add from stock fills that one only.
- Click the button.
A dialog lists what it will add (the first five lines, then
...). - Click the button in the dialog to confirm.
It takes items in this order: items that aren't faulty, reserved or retired first, then items at the Warehouse location for new items, then the oldest items. For lots it takes the largest lot first and goes on to the next when one isn't enough. If stock runs out, it adds what there is and reports how many parts are still short. The button is greyed out while no missing item blueprint has anything available.
Auto create missing items¶
Auto create all missing items creates new stock for everything still missing; with a row picked, Auto create missing items does it for that one only.
- Click the button. A dialog lists what it will create.
- Pick the Warehouse location the new stock belongs to. It starts at the Warehouse location for new items.
-
Click the button in the dialog to confirm.
-
For an individual item blueprint it creates the missing number of new items inside the assembly. If you remove one later, it goes to the warehouse location you picked.
- For a lot item blueprint it adds the missing amount to the assembly from the lot at that warehouse location, creating an empty lot there if there is none. The lot's quantity on hand doesn't change.
Note
Auto create adds stock that JAI Tool didn't know about. Use it for parts you have but never recorded; for recorded stock use Auto add from stock, or the same parts count twice.
Added items¶
Switch to Added to see what the assembly holds: individual items, and lot amounts (marked ).
| Column | Shows |
|---|---|
| Quantity | The amount of a lot in this assembly. N/A for an individual item. |
| Blueprint, Category | The item's item blueprint and its category. |
| Customer, Assigned to | The assembly's, which items inside take over. |
| On blueprint | Yes when the item's item blueprint is on the assembly blueprint's list, No when it isn't (for example after it was removed from the blueprint). |
Filter rows has the groups Type (Individual item, Lot item) and On blueprint (Yes, No). The search also looks in the items' notes and custom field values, where serial numbers often live. The toolbar holds Generate labels (see Labels) and Remove selected items.
Removing items¶
- Click (Remove from assembly) in a row, or tick several rows and click Remove selected items.
-
Confirm with Remove.
-
An individual item goes back to the warehouse location it came from, or was created for. If that location is deleted or no longer a warehouse location, it goes to the Warehouse location for new items. Its customer is cleared.
- A lot amount goes back onto its lot's quantity on hand.
The assembly's status doesn't change.
Faulty, reserved and retired items¶
By default faulty, reserved and retired items can't go into an assembly. An admin can allow each kind in System settings, tab Assemblies: Allow faulty items in assemblies, Allow reserved items in assemblies and Allow retired items in assemblies.
When a kind is allowed, its items count in Available, appear under Available, and can be added by hand, with Auto add from stock, on the phone and by import. Auto add from stock still takes unmarked items first. The blueprint's Available to build and In stock figures always leave these items out (see Assembly blueprints).
Maintenance¶
The Maintenance tab lists the maintenance records of this assembly, in a table like the one on the Maintenance page. New maintenance opens a new record with this assembly already filled in. The tab needs View only on Maintenance; without it, the tab is greyed out.
Assigning¶
- Click (Assign) in a row, or tick several rows and click Assign multiple ().
- In the dialog Assign 1 assembly (or Assign N assemblies), choose Location or User under Assign to and pick one.
- For a user or a location that isn't a warehouse location, set a Due date if you want one; leaving it empty removes any due date.
- Click Apply.
Everything inside the assemblies moves with them.
Edit multiple¶
Tick rows and click Edit multiple (), tick the fields to change, fill them in and click Apply (see Tables). For assemblies you can change:
- Name, only when you ticked a single row.
- Status: JAI Tool refuses the whole change if it would complete an assembly that still misses items.
- Customer and Manufacturer.
- Assigned to: this sets no due date, so use Assign multiple when you need one.
- Note.
- Custom fields, only when every ticked assembly has the same blueprint; a Unique field only when you ticked a single row.
Duplicating¶
- Click Duplicate on the Overview, or in a row. The dialog Copy name lists what the assembly holds.
- If it holds anything, switch on Create & assign automatically everything above. to copy the contents too.
- Click Continue. The new assembly form opens, filled from the original.
- Check the fields and click Save.
| Copied | Not copied |
|---|---|
| Blueprint (locked), Thumbnail, Customer, Manufacturer, Assigned to, Note, custom field values | Status (the copy starts Not started), Due date, gallery, files, history, maintenance records |
Name becomes name (copy); change it if that name is taken.
If the original's name was generated, the copy gets a generated name of its own.
With the contents switch on:
- Each individual item inside is created again as a new item, with the same item blueprint, custom field values, faulty, reserved and retired marks and picture.
- Each lot amount is taken again from the same lot.
- The form says how many items it will create when you save.
- If a lot hasn't enough on hand, the dialog lists the shortage and you can only continue without the contents.
Create multiple at once works for copies too.
Deleting¶
- Click Delete on the Overview, or in a row. The dialog lists what the assembly holds.
- Decide on Delete also items in this assembly?
- Click Delete.
| Delete also items in this assembly? | Individual items inside | Lot amounts inside |
|---|---|---|
| Off | Go back to stock, as when you remove them. | Go back onto their lots. |
| On | Are deleted with the assembly. | Go back onto their lots. |
The switch is greyed out unless you also have Create/Edit/Delete on Items.
To delete several, tick them and click Delete multiple (). The dialog Delete N assemblies? lists the contents of each, with the switch Delete also items in these assemblies?
Deleted assemblies, and items deleted with them, go to Restore deleted, where an admin can bring an assembly back together with its contents.
Labels¶
| Where | Prints |
|---|---|
| Generate labels () on the list | One label per ticked assembly. |
| Generate label on the Overview | This assembly's label. |
| Generate labels on Add items, Added | One label per individual item inside the assembly; lot amounts get none. Greyed out when the assembly holds no individual items. |
An assembly's QR code opens the assembly; scanned with a phone camera, it opens the assembly in the phone app. Printing item labels also needs View only on Items. See Labels for the print options.
Import¶
Click Import on the list, pick what to import under Select template, and drop a CSV file (see Import for the general rules). Import needs Create/Edit on Assemblies.
Assemblies¶
Each row creates a new assembly in status Not started; a name already in use is refused, so existing assemblies aren't changed. Pick a blueprint under Template for to get its custom field columns in the template; one file can still mix blueprints.
| Column | Takes |
|---|---|
blueprint * |
An assembly blueprint name. |
name |
The name. Blank means <blueprint name> #<ID>. |
customer |
A customer name. |
manufacturer |
A partner name with the role Manufacturer or Supplier & Manufacturer. |
assigned_to |
A location name, or a user's email address. Blank means the Warehouse location for new items. |
due_date |
A date, only on a row assigned to a user or to a location that isn't a warehouse location. |
note |
Free text. |
cf_… |
One column per custom field of the blueprint picked under Template for. A row may fill only fields its own blueprint has. |
Added items¶
Each row adds to an existing assembly, either an item you name or new stock.
| Column | Takes |
|---|---|
assembly * |
An assembly name. |
name |
An item name: the row adds that existing item, with the same checks as Add. Blank creates new stock instead, as Auto create missing items does. |
quantity |
How much of a lot, or how many new items of an individual item blueprint. Blank means 1. Leave it blank for a named individual item. |
blueprint |
An item blueprint name. Needed on a row with no name; with a name, blank or that item's own. |
warehouse_location |
Where new stock belongs, on a row with no name only. Blank means the Warehouse location for new items. |
A row that creates stock is refused when the assembly's blueprint doesn't ask for that item blueprint, or when the quantity is more than is missing.




