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

Merge pull request #236 from Guusggg/master

Added Purchase and Sales Order context variables
This commit is contained in:
Oliver 2022-01-21 21:22:45 +11:00 committed by GitHub
commit 697eedc2bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,9 +218,26 @@ Each part object has access to a lot of context variables about the part. The fo
#### PurchaseOrder #### PurchaseOrder
| Variable | Description | | 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 #### SalesOrder
!!! incomplete "TODO"
This section requires further work
| Variable | Description | | 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 |