pcdistsetup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pcdistsetup [2020/10/05 14:17] – [Searchable Criteria] Justin Willeypcdistsetup [2020/10/05 20:36] (current) – [Columns in Vacancy & Person Search Results] Justin Willey
Line 7: Line 7:
 The postcode location data will be kept up to date by the Static Data Download facility of IQXHub. Ensure that you have a hub configured to do this. The postcode location data will be kept up to date by the Static Data Download facility of IQXHub. Ensure that you have a hub configured to do this.
  
-==== Column in Vacancy Search Results ====+==== Columns in Vacancy & Person Search Results ==== 
 + 
 +In Maintenance | Database Setup | Custom Grid Columns choose Department: DEFAULT, Form: VACANCY, View: SEARCHRESULT 
 + 
 +and then <key>Add</key> the details shown:  
 + 
 +{{ :vacancysearchdistance.jpg?1200 |}} 
 + 
 +the Descriptor should read: <code>round(DistanceBetweenPostCodes(Person.PostCode,:Q_SitePostCodeForMap,'Mi'),1)</code> 
 + 
 +Then click <key>Update</key> To add a distance column to the Person Vacancy Search Results table, choose Department: DEFAULT, Form: PERSON, View: SEARCHRESULT and then click <key>Add</key> again. Then complete the details below: 
 + 
 +{{ :personsearchdistance.jpg?1200 |}} 
 + 
 +This time the Descriptor should be: <code>round(DistanceBetweenPostCodes(:Q_PostCode,isnull(vacancy.postcode, company.postcode) ,'Mi'),1)</code>
  
-In the VACANCY SEARCHRESULT view, add a custom column of Data Type 'Number' with Descriptor <code>round(DistanceBetweenPostCodes(Person.PostCode,:Q_SitePostCodeForMap,'Mi'),1)</code> 
  
 ==== Column in Shift Matcher ==== ==== Column in Shift Matcher ====
  • pcdistsetup.1601907439.txt.gz
  • Last modified: 2020/10/05 14:17
  • by Justin Willey