mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-04-28 05:36:46 +00:00
* Add information on build order reference * Add reference field description for purchase order * Add reference information for SalesOrder * Updated images for build orders * Update settings information * Add note regarding python string formatting * Add some more screenshots * Improved BOM documentation * Improve BOM documentation further * Split "BOM Export" onto separate page * Rearrange docs pages * Add image to fill TODO entry * Split out part scheduling page
38 lines
1.8 KiB
Markdown
38 lines
1.8 KiB
Markdown
---
|
|
title: Trackable Parts
|
|
---
|
|
|
|
Denoting a part as *Trackble* changes the way that [stock items](../../stock/stock) associated with the particular part are handled in the database. A trackable part also has more restrictions imposed by the database scheme.
|
|
|
|
## Stock Tracking
|
|
|
|
For many parts in an InvenTree database, simply tracking current stock levels (and locations) is sufficient. However, some parts require more extensive tracking than simple stock level knowledge.
|
|
|
|
Any stock item associated with a trackable part *must* have either a batch number or a serial number. This includes stock created manually or via an internal process (such as a [Purchase Order](../buy/po.md) or a [Build Order](../build/build.md)).
|
|
|
|
|
|
## Assign Serial Numbers
|
|
|
|
Serial numbers (if activate for a part) are used in multiple forms and processes in InvenTree.
|
|
|
|
For faster input there are several ways to define the wanted serial numbers(SN):
|
|
|
|
| Marker | Input | Result | Description |
|
|
| --- | --- | --- | --- |
|
|
| | `1` | `[1]` | single SN |
|
|
| , | `1,3,5` | `[1, 3, 5]` | list of SNs |
|
|
| - | `1-5` | `[1, 2, 3, 4, 5]` | strech of SN |
|
|
| ~ | `~` (next SN is 8) | `[8]` | represents the next SN |
|
|
| `<start>`+ | `4+` (with 3 numbers needed) | `[4, 5, 6]` | all needed SNs from `<start>` |
|
|
| `<start>`+`<length>` | `2+2` | `[2, 3, 4]` | `<length>` SNs added to `<start>` |
|
|
|
|
These rules can be mix-and-matched with whitespaces or commas separating them.
|
|
For example:
|
|
`1 3-5 9+2` or `1,3-5,9+2` result in `[1, 3, 4, 5, 9, 10, 11]`
|
|
`~+2`(with next SN being 14) results in `[14, 15, 16]`
|
|
`~+`(with next SN being 14 and 2 numbers needed) results in `[14, 15]`
|
|
|
|
|
|
## Build Orders
|
|
|
|
[Build orders](../build/build.md) have some extra requirements when either building a trackable part, or using parts in the Bill of Materials which are themselves trackable. |