From 16ab8cd8a28475ffe2f79bb275b66e731441092d Mon Sep 17 00:00:00 2001 From: Guusggg Date: Thu, 29 Jul 2021 15:56:02 +0200 Subject: [PATCH] Create context_variables.md Added information about context variables --- docs/report/context_variables.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/report/context_variables.md diff --git a/docs/report/context_variables.md b/docs/report/context_variables.md new file mode 100644 index 0000000..1de7743 --- /dev/null +++ b/docs/report/context_variables.md @@ -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 + +