Site Address Lookup Custom Field
This custom field provides a dropdown of the site addresses for a customer select distinctssitenum as [ID],concat(sdesc,' ',Asline1,' ',Asline2,' ',ASLine3,' ',ASLine4,' ',Asline5) as [Display]from Siteleft join area on sarea=aarealeft join tree on treeid=atreeidleft Join AddressStore on AddressStore.assiteid = ssitenumwhere isnull(sisinactive,0)<>1and isnull(AIsInactive,0)<>1and isnull(ASInActive,0)<>1and sarea = (select aarea from users left join site on usite = ssitenum left join area on sarea = aarea where uid = $userid)
Dynamic SQL Lookup Fields
In this guide we will cover: – How to create a dynamic SQL lookup field – Worked example Custom fields of type single/multiple select can be configured to return data from elsewhere in HaloPSA. This is done via utilising a Dynamic SQL query to directly extract data from the database. Creating Dynamic SQL Lookup Fields […]
$-Variables (Dollar Sign Variables)
In this guide we will cover: – What Variables can be Used – PDF Variables – Using Variables in Custom Fields What Variables can be Used Variables can be used throughout HaloPSA for a variety of functions, some of which include: Returning Ticket-specific information on emails. Returning date-specific information on invoices. Returning customer-specific information on […]
Custom Fields
In this guide we will cover: – What are custom fields? – Creating a new Custom Field – Displaying Custom Fields – Setting Validation for date fields – Access Control – Using Variables in Custom Fields Admin Guides: Custom Fields What are custom fields? Custom fields can be used to collect and store additional information […]
Dynamic SQL Lookup Fields – Customer Specific Lookup
In this guide we will cover: – How to complete custom specific lookups for dynamic fields If you are looking to create customer specific lookups (such as a lookup of a customer’s sites) you can use the $-userid field in the dynamic SQL query. If you structure the query in a certain way this will […]
Dynamic SQL – Custom Fields
Using Dynamic SQL on custom fields and how it can elevate your performance. How It Works Dynamic SQL custom fields, unlike static lists, generate data from the database and auto-populates the selection choices in each field. These SQL scripts require an 'ID' and a 'Display' field. Every entity within your Halo instance will have two […]
Lookups
In this guide we will cover: – What is a lookup? – How to create a lookup What are Lookups? Lookups use SQL scripts to populate fields with information that already exists in your database. For example you could have user's contact details fields populate automatically on a ticket once their first and last name […]