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

Added Purchase and Sales Order context variables

This commit is contained in:
Guus Geurkink 2022-01-21 10:40:45 +01:00
parent 78815b9b44
commit d4a519d486

View File

@ -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 |