From d4a519d4864b809111554d6061ade561ad367ba7 Mon Sep 17 00:00:00 2001 From: Guus Geurkink Date: Fri, 21 Jan 2022 10:40:45 +0100 Subject: [PATCH] Added Purchase and Sales Order context variables --- docs/report/context_variables.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/docs/report/context_variables.md b/docs/report/context_variables.md index 82c7a92..27d4363 100644 --- a/docs/report/context_variables.md +++ b/docs/report/context_variables.md @@ -218,9 +218,26 @@ Each part object has access to a lot of context variables about the part. The fo #### PurchaseOrder | Variable | Description | |----------|-------------| +| description | The order description | +| lines | The lines in the Purchase Order | +| order | The order object itself | +| reference | The reference number | +| supplier | The supplier for this Purchase Order | +| prefix | Purchase Order reference prefix | +| title | The title of the order | + #### SalesOrder +!!! incomplete "TODO" + This section requires further work + | Variable | Description | |----------|-------------| - +| customer | An object with information about the customer | +| description | The order description | +| lines | The lines in the Sales Order | +| order | The order object itself | +| prefix | Purchase Order reference prefix | +| reference | The reference number | +| title | The title of the order |