2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-28 13:46:54 +00:00

Create context_variables.md

Added information about context variables
This commit is contained in:
Guusggg 2021-07-29 15:56:02 +02:00 committed by GitHub
parent 8d5647c839
commit 16ab8cd8a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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