/
How to Report on all Employee Phone Numbers

How to Report on all Employee Phone Numbers

Description of Issue

User would like to report on all phone numbers for an employee.

Context
  • All versions of Enterprise ERP

  • SSRS reports

  • Crystal reports

  • SaaS, Tyler-hosted clients

  • OnPrem, Self-hosted clients

  • Employee Master

Cause

Primary phone numbers and alternative numbers are stored in two different Tyler Reporting Services Views.

Resolution

The primary number for an employee is e_home_phone in pr_employee_master. All alternative numbers will be found in pr_employee_phone. If you want them combined, we recommend creating a union of both objects.

Additional Information

SELECT

a_employee_number

,  e_home_phone

, 'Primary' as [Type]

, e_primary_text_opt_in

FROM pr_employee_master 

 UNION

SELECT DISTINCT

 a_employee_number

, e_phone_number

 , ph_phone_type

, e_phone_text_opt_in

FROM pr_employee_phone









Related content

Custom Supervisors for Employees SQL Logic for Report
Custom Supervisors for Employees SQL Logic for Report
More like this
Alternate views for pr_audit_history in Munis 2018.1 and later versions
Alternate views for pr_audit_history in Munis 2018.1 and later versions
More like this
Values for employee and employer amounts in pr_deduction_ben are zero
Values for employee and employer amounts in pr_deduction_ben are zero
More like this
How do I add another phone number for an employee
How do I add another phone number for an employee
More like this
Database view containing supervisor details of an employee
Database view containing supervisor details of an employee
More like this
Employee Demographic Report
Employee Demographic Report
More like this