Stock Sale fields allow you to insert information from a WorkGuru Stock Sale into your document templates. These fields can be used to display information such as:
- Stock Sale Information
- Stock Sale Contact
- Stock Sale Dates
- Delivery Address
- Delivery Instructions
- Stock Sale Financials
- Stock Sale Custom Fields
Document Compatibility
Stock Sale fields provide summary-level information about a sale and when linked, are also supported on the following document templates:
Stock Sales - see Stock Sale Document Templates
- Invoices - see Invoice Document Templates
Purchase Orders - see Purchase Order Document Templates
Stock Sale fields are Universal Fields, which means they can be placed directly within a document template and do not need to be inside a repeating table. If you need to display repeating sale line information, such as individual products, you will need to use Table Fields. Common project table types include:
- Products / Costs
- Payments
See the Table Fields Reference for instructions on creating and configuring table fields. Merge fields are case sensitive and must be entered exactly as displayed below.
Stock Sale Information
| Description | Merge Field | Notes |
|---|---|---|
| Stock Sale Number | [StockSaleNumber] | |
| Stock Sale Display Number | [StockSaleDisplayNumber] | Displays the Stock Sale number together with its revision suffix |
| Stock Sale Revision | [StockSaleRevision] | Displays the revision suffix only. |
| Stock Sale Description | [StockSaleDescription] |
Stock Sale Contact
These fields display information for the contact associated with the Stock Sale.
| Description | Merge Field |
|---|---|
| Contact Full Name | [StockSaleContactFullName] |
Contact First Name | [StockSaleContactFirstName] |
| Contact Last Name | [StockSaleContactLastName] |
| Contact Phone | [StockSaleContactPhone] |
Stock Sale Dates
| Description | Merge Fields |
|---|---|
| Stock Sale Date | [StockSaleDate] |
| Expected Date | [StockSaleExpectedDate] |
Dispatch Date | [StockSaleDispatchDate] |
Delivery Address
These fields display the delivery address assigned to the Stock Sale.
| Description | Merge Field |
|---|---|
| Delivery Address Line 1 | [StockSaleDeliveryAddress1] |
| Delivery Address Line 2 | [StockSaleDeliveryAddress2] |
| Delivery Suburb | [StockSaleDeliverySuburb] |
| Delivery City | [StockSaleDeliveryCity] |
| Delivery State | [StockSaleDeliveryState] |
| Delivery Postcode | [StockSaleDeliveryPostcode] |
Delivery Instructions
Use this field to display the delivery instructions entered against the Stock Sale.
| Description | Merge Field |
|---|---|
| Delivery Instructions | [StockSaleDeliveryInstructions] |
Stock Sale Financials
| Description | Merge Field |
|---|---|
| Stock Sale Tax | [StockSaleTax] |
| Stock Sale Total | [StockSaleTotal] |
| Stock Sale Total Including Tax | [StockSaleTotalIncTax] |
Stock Sale Custom Fields
Custom fields assigned to Stock Sales can also be included in document templates. Use the Custom prefix followed by the custom field name within the square brackets:
| Custom Field Name | Example Merge Field |
|---|---|
| DeliveryReference | [CustomDeliveryReference] |
Custom field availability depends on the transaction type the custom field is assigned to and the document type being generated. For more information, see the Custom Fields Guide.
Troubleshooting
Stock Sale Fields Are Blank
Any field without a corresponding value may return blank as it is correctly printing nothing. Check that:
- The source transaction has an asset assigned to it.
- The required information has been entered against the field in the Asset.
Merge Fields Appear Instead of Values
If fields such as [StockSaleNumber] appears in the generated document instead of their values, check:
- Merge field spelling
- Capitalisation
- Document compatibility
- That both square brackets are present
Merge fields are case sensitive.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article