The venue object contains information about a venue record.
Venues are saved addresses that you deliver to frequently. When creating an opportunity, you can choose a venue to populate the delivery address quickly.
When a record has a venue associated with it, you may access venue objects. This is handy for printing contact information or linked venue contacts.
Members
Contacts, organizations, vehicles, venues, and users are all known as members in the database. Members have some shared attributes, along with attributes that are specific to that particular member type.
When you're checking a list of members, you can use the type object to determine what type of member you're working with.
For example, the participants object against an opportunity returns participant objects for any members who are participants on the opportunity. To print only venues:
<ul>
{% for participant in order.participants %}
{% if participant.type == "Venue" %}
<li>{{ participant.name }}</li>
{% endif %}
{% endfor %}
</ul>
Document layouts
The venue object can be accessed in document layouts created against the following modules:
Member
From a venue record:
Opportunity
Where a venue is set against an opportunity:
To print venues that are are bookable resources for service items:
Invoice
Where a venue is set against an invoice:
Purchase order
Where a venue is set against a purchase order:
Project
Where a venue is set against a project:
Discussion templates
The venue object can be accessed in discussion templates created against the following modules:
Member
From a venue record:
Opportunity
Where a venue is set against an opportunity:
To print venues that are are bookable resources for service items:
Invoice
Where a venue is set against an invoice:
Purchase order
Where a venue is set against a purchase order:
Project
Where a venue is set against a project:
activities
Returns activity objects for the activities relating to a venue.