Who's Online
0 registered (), 1 Guest and 6 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
Abseces in oracle hrms, super user: how to do I:
by tovia123
Today at 01:18 PM
Update EIT in SSHR
by Sahir
Yesterday at 03:45 PM
End of Year Legislation Patch for 11i
by delboy
Yesterday at 01:35 PM
Interfacing iRec and external sites
by DanC
09/02/12 11:42 PM
Capturing, Storing, & Paying Banked Overtime
by Paul
09/02/12 08:51 PM
Time and Labour & Oracle Projects
by Paul
09/02/12 07:34 PM
Search Engine Optimizers
by delboy
09/02/12 01:30 PM
Function for getting retropay-maintained balances
by CT
08/02/12 12:21 PM
Grade End Date
by Chris
03/02/12 10:46 AM
OLM Mandatory Enrolments
by bcooper
01/02/12 12:23 PM
Top Posters (30 Days)
CT 26
delboy 24
bcooper 14
Sahir 5
Gus 5
tovia123 5
Tim Bailey 3
SBi 3
christm 3
Simon_Mc 3
(Views)Popular Topics
Family Pack K issues thread 18240
CREATE_GRADE api returns:PLS-00306: wrong number o 13772
Still trying to locate... 12214
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 10658
Viewing Output of another user 9137
HR_PF.K RUP4 8851
Review of my Release 12 laptop 8500
Adding a taskflow button to a form 7861
Enhanced Retro & Release 12 7689
Family Pack K 7127
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 Offline
Guru
***

Registered: 11/03/05
Posts: 1080
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
756 Members
48 Forums
1517 Topics
7287 Posts

Max Online: 63 @ 24/11/10 07:21 AM
Today's Birthdays
No Birthdays
Recent vacancies
Tea boy available 4 basic chores & some! services
by Simon_Mc
19/01/12 03:59 PM
Top Posters
bcooper 1095
CT 1080
delboy 500
Geoff Dixon 369
SBi 344
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 160
Gus 132
February
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