mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-14 00:09:56 +00:00
[docs] Adjusting serial numbers (#10989)
Add brief docs on adjusting serial numbers for a stock item
This commit is contained in:
BIN
docs/docs/assets/images/stock/serial_edit.png
Normal file
BIN
docs/docs/assets/images/stock/serial_edit.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 45 KiB |
BIN
docs/docs/assets/images/stock/serial_edit_error.png
Normal file
BIN
docs/docs/assets/images/stock/serial_edit_error.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
@@ -132,6 +132,17 @@ If a provided serial number (or group of numbers) is not considered valid, an er
|
||||
!!! tip "Serial Number Validation"
|
||||
Custom serial number validation can be implemented using an external plugin
|
||||
|
||||
#### Adjusting Serial Numbers
|
||||
|
||||
Once a stock item has been created with a serial number, it is possible to adjust that serial number value if required. This can be achieved by navigating to the stock item's detail page, and selecting the "Edit" option from the actions menu. Here, the serial number value can be modified as required:
|
||||
|
||||
{{ image("stock/serial_edit.png", title="Editing a serial number") }}
|
||||
|
||||
Note that any serial number adjustments are subject to the same validation rules as when the stock item was created. If the new serial number value is not valid, an error message will be displayed to the user:
|
||||
|
||||
{{ image("stock/serial_edit_error.png", title="Error while editing a serial number") }}
|
||||
|
||||
|
||||
#### Plugin Support
|
||||
|
||||
Custom serial number functionality, with any arbitrary requirements or level of complexity, can be implemented using the [Validation Plugin Mixin class](../plugins/mixins/validation.md#serial-numbers). Refer to the documentation for this plugin for technical details.
|
||||
|
||||
Reference in New Issue
Block a user