Who's Online
2 registered (CT, Chris Abraham), 7 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
Concurrent Request - running slow
by CT
11 minutes 59 seconds ago
P11d's
by jkavia
38 minutes 53 seconds ago
Assignment EIT not displaying in Self Service
by CT
Today at 06:45 AM
Vehicle Mileage Setup
by Chris Abraham
Yesterday at 12:24 PM
In which table is external learning data stored
by DMC
Yesterday at 08:45 AM
Oracle Payroll and Cash Management
by Gus
20/05/12 11:27 AM
Pension Auto Enrolment
by CT
18/05/12 09:46 AM
11.5.10 "Extended Support" extended til..... when?
by Vigneswar Battu
17/05/12 10:59 AM
Hacking element definitions
by CT
15/05/12 08:42 AM
GB EOY reports
by Vigneswar Battu
09/05/12 02:07 PM
Top Posters (30 Days)
CT 38
delboy 36
Vigneswar Battu 15
pat.woodall 9
bcooper 4
Gus 4
DMC 3
Mani 3
7Giri 3
Ryan 3
(Views)Popular Topics
Family Pack K issues thread 20153
CREATE_GRADE api returns:PLS-00306: wrong number o 15194
Still trying to locate... 13844
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 11889
Viewing Output of another user 10307
HR_PF.K RUP4 10271
Review of my Release 12 laptop 9733
Enhanced Retro & Release 12 9397
Adding a taskflow button to a form 9129
Family Pack K 7906
Topic Options
Rate This Topic
#2571 - 20/11/07 08:00 AM Any way to know when a Disco report was last used *****
Geoff Dixon Offline

sitting tennant
*****

Registered: 14/03/05
Posts: 369
Loc: Sussex by the Sea
I'm sure the answer is 'No, of course not.'

But thought I'd ask!!
_________________________
Geoff
Expressing opinions since 1962

Top
#2572 - 20/11/07 10:44 AM Re: Any way to know when a Disco report was last used [Re: Geoff Dixon]
kp_rapolu Offline
claiming squatters rights

Registered: 15/11/07
Posts: 213
Loc: U.K
Hi Geoff,

I don't think so this can be retrieved ,reason for this is Disc report is a extract of data from the system. I doubt there will be any meta data definitions updates for every run??


Regards
Krishna Prasad Rapolu
_________________________
Krishna Prasad Rapolu
Oracle HRMS Consultant

Top
#2580 - 21/11/07 07:44 AM Re: Any way to know when a Disco report was last used [Re: kp_rapolu]
Geoff Dixon Offline

sitting tennant
*****

Registered: 14/03/05
Posts: 369
Loc: Sussex by the Sea
Inexplicably, they won't take 'No'for an answer here in the lovely window frame works in Holland. Anyone know of any audit tables perhaps that might be used to log this?
_________________________
Geoff
Expressing opinions since 1962

Top
#2590 - 22/11/07 02:32 PM Re: Any way to know when a Disco report was last used [Re: Geoff Dixon]
Geoff Dixon Offline

sitting tennant
*****

Registered: 14/03/05
Posts: 369
Loc: Sussex by the Sea
I humbly offer for your delectation and delight the following piece of PL/SQL

Those who know me can be assured that I played no part whatsoever in the production of this!!!!!!!!!!!
---------------------------------------------------------------

SELECT doc.doc_name "Workbook Name",
NVL(doc.doc_description,'No description') "Description",
usr.user_name "Owner",
usr.description "Owner's Name",
TO_CHAR(qs_created_date, 'RRRR') "Run Date" ,
count(*) "Number"
FROM eul4_us.eul5_documents doc,
eul4_us.eul5_qpp_stats qs,
apps.xxfnd_user usr,
hr.per_all_people_f ppf
WHERE qs.qs_doc_name = doc.doc_name
AND doc.doc_content_type = 'application/vnd.oracle-disco.wb'
AND usr.user_id = substr(doc.doc_created_by,2,10)
AND ppf.person_id(+) = usr.employee_id
AND sysdate between ppf.effective_start_date(+) and ppf.effective_end_date(+)
GROUP BY doc.doc_name ,
NVL(doc.doc_description,'No description') ,
usr.user_name ,
usr.description ,
TO_CHAR(qs_created_date, 'RRRR')
ORDER BY 6 desc
_________________________
Geoff
Expressing opinions since 1962

Top
#2591 - 22/11/07 11:50 PM Re: Any way to know when a Disco report was last u [Re: Geoff Dixon]
CT Online   content
Guru
***

Registered: 11/03/05
Posts: 1185
Loc: Bath
Hmm, most enlightening Mr Dixon cool

However, may I refer you (or indeed the original author) to this J&J Archive for a compelling reason to use 'trunc(sysdate)' in the where-clause rather than just 'sysdate'.

And yes, I do know you well enough to know you could not have written that! Great post though, nice one!

Edit: Questions for the originator - What is the object XXFND_USER? Is that some custom view or table based on the standard table FND_USER? Also, on an instance what I have just had a look at, all the tables owned by EUL4_US start with EUL4_, not EUL5_. Is there some special reason why I don't have disco tables starting EUL5?


Edited by CT (23/11/07 07:44 AM)
Edit Reason: Added questions
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top



Moderator:  bcooper, CT 
Forum Stats
791 Members
48 Forums
1582 Topics
7650 Posts

Max Online: 67 @ 14/04/12 05:38 PM
Today's Birthdays
No Birthdays
Recent vacancies
Top Posters
CT 1185
bcooper 1112
delboy 594
Geoff Dixon 369
SBi 356
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 163
Gus 146
May
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31