Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
--################################################################################
-- Author: Chad Freiling
--
-- Usage:
-- Run script in SQL Query window when connected to MICROS 9700 Database
-- Query Returns all Active Employees
-- If an Employee is set to Position 86 - Terminated, they will not show up.
-- There is a filter on the LastName, as these are not actual micros accounts,
-- they are more so headers or system accounts.
--################################################################################
select
a.posref as # -- Micros Account Number
,a.LastName as LastName
,a.FirstName as FirstName
,a.userName
,SUBSTRING(REPLACE(a.posPwd,'0',''),1,10) as CardNum
,CAST(b.employeeclassPOSRef AS nvarchar(20))+'-'+ b.name as EmployeeClass
,emp.RevCtrID
from LOCATION_ACTIVITY_DB.dbo.employee a
Join LOCATION_ACTIVITY_DB.dbo.employee_class b on a.employeeclassid = b.employeeclassid
Join MCRSPOS.microsdb.EMPLOYEE emp on a.posref = emp.ObjectNumber
where a.employeeclassid = b.employeeclassid
And a.userName <> '' -- Removes all blank entries
And b.name Not In ('Terminated', 'Micros')
And Not a.posPwd = '00000000-1' -- Removes -1 entries, Generally Deleted/Term'd Employees
order by a.posref, a.lastname
select *
from LOCATION_ACTIVITY_DB.dbo.employee
select
posRef,
lastname,
firstname,
username,
password
from LOCATION_ACTIVITY_DB.dbo.employee
Where username <> '
and password <> '
order by posRef, lastname ASC
Select *
From MCRSPOS.microsdb.netvupoint_nightly_jobs
Select *
From MCRSPOS.microsdb.netvupoint_polling_schedules