mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-04-28 05:36:46 +00:00
Create context_variables.md
Added information about context variables
This commit is contained in:
parent
8d5647c839
commit
16ab8cd8a2
22
docs/report/context_variables.md
Normal file
22
docs/report/context_variables.md
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
title: Context Variables
|
||||||
|
---
|
||||||
|
|
||||||
|
## Context Variables
|
||||||
|
|
||||||
|
Context variables are available when creating templates for reports. These context variables will be filled with information about a particular report or even a part or stock location.
|
||||||
|
|
||||||
|
### Build
|
||||||
|
|
||||||
|
In addition to the default report context variables, the following context variables are made available to the build order report template for rendering:
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
| --- | --- |
|
||||||
|
| build | The build object the report is being generated against |
|
||||||
|
| part | The part object that the build references |
|
||||||
|
| reference | The build order reference string |
|
||||||
|
| quantity | Build order quantity |
|
||||||
|
|
||||||
|
### Part
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user