This commit is contained in:
@@ -50,35 +50,12 @@ https://www.calculator.net/percent-calculator.html
|
||||
- Widgets to make for beta in order of priority
|
||||
**MUST HAVE***
|
||||
|
||||
* LIST overdue workorders (booked on, in the past, not a closed status, passed completeby date) for current scheduleable user
|
||||
criteria:
|
||||
tags wo, woitem
|
||||
|
||||
SELECT distinct(AWORKORDER.ID),
|
||||
AWORKORDER.SERIAL,
|
||||
AWORKORDER.completebydate,
|
||||
ACUSTOMER.NAME,
|
||||
AWORKORDER.NOTES
|
||||
FROM AWORKORDER
|
||||
LEFT JOIN AWORKORDERITEM ON AWORKORDER.ID = AWORKORDERITEM.WORKORDERID
|
||||
LEFT JOIN AWORKORDERITEMSCHEDULEDUSER ON AWORKORDERITEM.ID = AWORKORDERITEMSCHEDULEDUSER.WORKORDERITEMID
|
||||
LEFT JOIN AWORKORDERSTATUS ON (AWORKORDER.LASTSTATUSID = AWORKORDERSTATUS.ID)
|
||||
LEFT JOIN ACUSTOMER ON (AWORKORDER.CUSTOMERID = ACUSTOMER.ID)
|
||||
WHERE (LASTSTATUSID IS NULL OR AWORKORDERSTATUS.COMPLETED = FALSE) and aworkorder.completebydate < now()
|
||||
AND AWORKORDERITEMSCHEDULEDUSER.userID = 10
|
||||
ORDER BY AWORKORDER.ID ASC
|
||||
|
||||
|
||||
|
||||
|
||||
* LIST overdue workorders list not user centric available to service manager roles
|
||||
criteria:
|
||||
tags wo, woitem
|
||||
|
||||
LINE/BAR Count of work orders created per day over time (from case 1882)
|
||||
criteria:
|
||||
timespan and INTERVAL
|
||||
tags wo
|
||||
|
||||
BAR % wo completed status vs not completed by completed date within interval
|
||||
query is
|
||||
all wo not completed that should be by now within the interval vs all that were completed within the interval, count up each, count up the total and present as a pct for that interval
|
||||
|
||||
Reference in New Issue
Block a user