In a picking ticket advanced pdf template, I can g...
# ask-stanley-ai
a
In a picking ticket advanced pdf template, I can get record.location, but that only shows the Location's Name. I want to display on the PDF, the Location's full Address. How do I do that?
c
AI generated answer (using internal Slack threads):
To display the Location's full Address on the picking ticket advanced pdf template, you can create a custom field on the transaction/record that sources data from the location record (via the location field on the transaction/field). This custom field should be set to source the full address from the location record. Here is a step-by-step guide on how to do this: 1. Navigate to the Customization > Lists, Records, & Fields > Transaction Body Fields > New. 2. In the Label field, enter a name for the custom field (e.g., "Location Address"). 3. In the Type field, select Free-Form Text. 4. In the Applies To section, select the types of transactions where you want this field to appear. 5. In the Display section, select where you want this field to be displayed on the transaction form. 6. In the Validation & Defaulting section, select the Store Value checkbox. 7. In the Sourcing & Filtering section, select the Source From checkbox and choose Location from the dropdown list. Then, in the Source Filtering section, select the Filter By checkbox and choose Address from the dropdown list. 8. Save the custom field. Now, when you create a transaction and select a location, the custom field will automatically populate with the full address of the location. You can then reference this custom field in your advanced PDF template using the syntax
${record.custbody_location_address}
(replace
custbody_location_address
with the actual ID of your custom field). ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.841381073
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.835316718
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.828645766
Please provide your feedback on this answer.