...
Page Properties |
---|
|
Description | The tile shows how many expired documents - Competence, Travel, Medical and Passports - exist in the system as of today based on the Standard Expiry crew list view. | Keywords | Documents, expiry |
---|
Category | Start Page |
---|
|
Description
The tile shows how many expired documents - Competence, Travel, Medical and Passports - exist in the system as of today based on the Standard Expiry crew list view.
Tile Preview
![image-20240312-120421.png](https://rippleops.atlassian.net/wiki/download/thumbnails/4980178988/image-20240312-120421.png?version=1&modificationDate=1710245063952&cacheVersion=1&api=v2&width=358)
Data-source
Should be added in Setup > General Codes Table > Start Page > Datasource:
...
Expand |
---|
|
Code Block |
---|
select
count (PIN)
from PW001SRV7
where DOC='Competence' and VALID< (Getdate()+30) |
|
Expand |
---|
|
Code Block |
---|
select
count (PIN)
from PW001SRV7
where DOC='Medical' and VALID< Getdate() |
|
Expand |
---|
|
Code Block |
---|
select
count (PIN)
from PW001SRV7
where DOC='Travel' and VALID< (Getdate()+60) |
|
Expand |
---|
|
Code Block |
---|
select
count (PIN)
from PW001SRV7
where DOC='Passport' and VALID< (Getdate()+90) |
|
Tile Setup
See example of the setup for Expired Competences. Other document types can be set up in a similar way.
...
Frame Setup
Select the corresponding Datasource code in Text Area > Data Source.
...