Any Database Query to Find User Making Last Edit to Spec
Is there any table in the PLM4P database that records the user PKID for the at least the latest edit on a specification?
We know this information is not presented in the UI. If we can find out if this is recorded anywhere in the database, we can write a query when this info needs to be known.
Our business case is:
The spec originator (author) has left the company, so we have allowed DRAFT edit rights to the entire group and not just the author.
Now we want to determine which group member made a recent change.
Thank you.
The commonLifecycleEventLog table should give you the history of each spec in terms of edit/saves.
Details about the table are the following, taken from the Extensibiltiy Pack, Extensiblity Guide, in the Event Model chapter
As specific events occur in GSM and SCRM, their details are captured and recorded in
a single database table. Clients can watch for events added to this table to trigger some
custom actions.
Each event captured may include the following information:
- Event Type—The type of event that occurred (1: Create, 2: Save, 3: Workflow, 4: Copy)
- Event Source—What caused the event (New issue of a specification, workflow
transition, etc.)
- Actor—User who performed the event
- Time—Date and time stamp of when the event happened
- Affected Object—Specification or object that was acted upon (Specification that was
saved, specification that was copied, etc.)
- Related Object—Related object when appropriate (Workflow step, smart issue
request, specification ID, etc.)
- Reason—Reason the action occurred when appropriate (Workflow comments, global
succession reason for change, smart issue request that caused the change, etc.)
Similar Messages
-
Query to find first and last call made by selected number for date range
Hi,
query to find first and last call made by selected number for date range
according to filter:
mobile_no : 989.....
call_date_from : 25-april-2013
call_date_to : 26-april-2013
Please helpHi,
It sounds like you want a Top-N Query , something like this:
WITH got_nums AS
SELECT table_x.* -- or list columns wanted
, ROW_NUMBER () OVER (ORDER BY call_date ) AS a_num
, ROW_NUMBER () OVER (ORDER BY call_date DESC) AS d_num
FROM table_x
WHERE mobile_no = 989
AND call_date >= DATE '2013-04-25'
AND call_date < DATE '2013-04-26' + 1
SELECT * -- or list all columns except a_num and d_num
FROM got_nums
WHERE 1 IN (a_num, d_num)
;This forum is devoted to the SQL*Plus and iSQL*Plus front ends. This question doesn't have anything to do with any front end, does it? In the future, you'll get better response if you post questions like this in the PL/SQL.
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and also post the results you want from that data.
Explain, using specific examples, how you get those results from that data.
Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
See the SQL forum FAQ {message:id=9360002} -
How to get List Item attachments name without write any custom code or any database query?
Hi,
How to get List Items attachments name without write any custom code or any database query?You can get it from Rest,
There are 2 options,
1) create a 'Result Source' which has a search query for that List which has attachments
- Use rest query to get the 'Filename' , it will have the attachment file name
For example, if the result source id is : 73e6b573-abf8-4407-9e5f-8a85a4a95159 , then the query will be
http://[site URL]/_api/search/query?querytext='*'&selectproperties='Title,Path,FileExtension,SecondaryFileExtension,Filename'&sourceid='73e6b573-abf8-4407-9e5f-8a85a4a95159'&startrow=0&rowLimit=100
You can refine the query, be giving proper 'querytext'
2) Use the List rest api
For example if your list guid is :38d524a1-e95c-439f-befd-9ede6ecd242e
You can get he attachments for 1st item using this
http://[Site URL]/_api/lists(guid'38d524a1-e95c-439f-befd-9ede6ecd242e')/items(1)/AttachmentFiles
get2pallav
Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you. -
ORACLE E-BUSINESS SUITE 11i Query to find users who never logged in
Dear, All -
ORACLE E-BUSINESS SUITE 11i
Is there a query to find out a list of users who were created but never logged into the system. I believe these users do no appear in FND_USER table since they never logged in.
Thanks in advance!FAIRE wrote:
Dear, All -
ORACLE E-BUSINESS SUITE 11i
Is there a query to find out a list of users who were created but never logged into the system. I believe these users do no appear in FND_USER table since they never logged in.
Thanks in advance!All application users details are stored in FND_USER table (whether they logged in or not).
To find the list of those users, please run this query:
SQL> select *
from FND_USER
where LAST_LOGON_DATE is NULL
and END_DATE is NULL;Thanks,
Hussein -
Find User Form throws a query and return "result" attribute with user's list. Where's this Query?
Yes, I'd really love to know this too.
Anybody have an idea where this Query can be found?
Thanks -
Any Date function to find date on last friday?
Hi all,
Is there any date function module to find out the date on last friday....
And one more thing....any function module to findout the range of dates for the last week...(i.e) date from last week monday to last week friday.
Thanking u all in advance.
Regards,
Chandra SekharREPORT ZSN_FRIDAYTEST .
data: days type p.
data: date type sy-datum.
parameters: p_date like sy-datum default sy-datum.
*-- Get the last Friday
call function 'DAY_IN_WEEK'
exporting
datum = p_date
IMPORTING
WOTNR = days.
days = days + 2.
date = p_date - days.
write:/ '(Assuming Monday is the first day of the week)'.
write:/ 'Date Entered:', p_date.
write:/ 'Last Friday:', date.
*- Range of dates in last week
data: date1 type sy-datum.
data: date2 type sy-datum.
data: days1 type p.
data: days2 type p.
call function 'BWSO_DATE_GET_FIRST_WEEKDAY'
exporting
date_in = p_date
IMPORTING
DATE_OUT = date1
date1 = date1 - 7.
date2 = date1 + 4.
write:/ 'Range:', date1, '-', date2. -
Query to find users based on Resource Status
Hi All,
I'm working on OIM 9x version.I need to find out set of users for a resource which is in "Ready" status under their resource profile
let say Resource A is there and for some users the staus of this Resource under their resource profile is in "Ready".I would like to fetch those users.
Kinly help me by providing SQL query for this.
Thanks
MadhuTry this query:
select usr.usr_login, obj.obj_name, ost.ost_status from usr, obj, obi, oiu, ost where usr.usr_key = oiu.usr_key and obi.obi_key = oiu.obi_key and obi.obj_key = obj.obj_key and ost.ost_key = oiu.ost_key and obj.obj_name='<resource object name>'
you can add : and ost.ost_status = <status value > to search status as well.
regards,
GP -
SQL Query - To Find Users with end dated responsibilities
Oracle Apps ver: 11.5.10.2
Oracle DB - 9i
How can i list users and the access assigned to them for a specific division irrespective of the responsibility being end dated at responsibility levelHi Sakshi,
Try out this query if it can help you !
SELECT a.user_name, a.description, c.responsibility_name, c.creation_date as ASSIGNED_DATE>FROM apps.fnd_user a,
>apps.fnd_user_resp_groups b,
>apps.fnd_responsibility_vl c
>WHERE a.user_id = b.user_id
>AND b.responsibility_id = c.responsibility_id
>AND a.creation_date < = '01-JUN-07'
ORDER BY a.user_name;Thanks,
Anchorage :) -
Query to find user who doesn't own object
Hai all,
I want a query to get the list of the user who doesn' t have a particular object in the DB :
OBject name is apps_ddl..
All users in the DB should have this object.. want to know who are all the users in the DB who doesnt have apps_ddl
Please suggest
KaiHave access to it, or actually have it in their own schema?
select username from dba_users
minus
select owner from dba_objects where object_name = 'APPS_DDL'; -
SQL Query to find menus and submenus attached to responsibility
Hi,
I am looking for help to find out a sql query to pull out the list of all the menu's associated with each of the responsibilities assigned to users. Please let me know any SQL query to find out menus attached for responsibilities assigned to users.835129 wrote:
I was asked by my lead to list out responsibilities and attached menus and I was asked to submit the output from production. In the metalink note provided by you it was asked to create table collecting all menu id's and I cannot create any tables in production. Apart from this there were 1000's of users with different responsibilities and different menus. I cannot collect all of the users menu ids.
I just want to list out responsibilities and attached menus. Is that something you can helpout withhttps://forums.oracle.com/forums/search.jspa?threadID=&q=fnd_responsibility_vl+AND+fnd_menu&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=fnd_responsibility_tl+AND+FND_MENU_ENTRIES_TL&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Please search the forum for these tables/views and you should get many hits:
FND_MENU_ENTRIES_TL
FND_MENU_ENTRIES_VL
FND_RESPONSIBILITY_TL
FND_RESPONSIBILITY_VL
Thanks,
Hussein -
Query to find the space required to reduce the thershold.
There are tablespaces where the current usage is crossed 90% and we are getting alerts.
I want to know how much space required to add for these tablespaces ( datafiles) so that current usage can be reduced to 80 %. or 70 %
Is the any SQL query to find this information .
oracle 10 g database.If I got the calculation right, this may be what you are looking for:
select b.tablespace_name, (b.used_space/b.new_size) * 100 new_used_percent, b.used_percent,
b.add_size_MB
from (
select tablespace_size + (((round(used_percent, 5) - 90)/100) * tablespace_size) new_size,
(((round(used_percent, 5) - 90)/100) * tablespace_size) add_size_MB,
a.*
from dba_tablespace_usage_metrics a
) b; -
Finder Window Remembering Last Position?
Sometimes when i am working and in say Photoshop or Dreamweaver and i go to find an image from a folder i move through them until i find it.
A few moments later i might need to find something else in that folder.
Is there any way to make finder remember the last folder i was in, via maybe an app?
As sometimes the folder i need to get to is buried in multiple ones.
The only quickest way i can find is to put the folder i am working in into the places areas of the finder window.
I know from the drop down it lists recent places, but only remembers certain instances and not this one...Default Folder X - VersionTracker or MacUpdate.
-
SQl query to find incompatibility defined
If two programs are defined as incompatible with one another, the data these programs cannot access simultaneously must also be identified.
This can be found from concurrent program->define from front end ebs login, but is there any SQL query to find this for a particular program or request set??
Thanks in advance.Please search the forum before posting similar questions.
Concurrent-Conflict
Re: Concurrent-Conflict
Thanks,
Hussein -
SQL query to find out last login for each database
Hi everybody,
I have a view with following columns:
DatabaseSid, lastLogin, firstLogin.
I want to now the newest last_login date for every database.
SID First Login Last Login
e.g. Database1, 11.11.2011, 01.12.2011
Database1, 01.04.2012, 01.05.2012
Database3, 03.03.2004, 03.06.2005
Database 3 07.09.2012, 12.10.2012
How can I do a query to find out for eacht DB (DB1, DB2 and so on) the Last_Login Date?
Thank you in advance
SteveSteve wrote:
Hi everybody,
I have a view with following columns:
DatabaseSid, lastLogin, firstLogin.
I want to now the newest last_login date for every database.
SID First Login Last Login
e.g. Database1, 11.11.2011, 01.12.2011
Database1, 01.04.2012, 01.05.2012
Database3, 03.03.2004, 03.06.2005
Database 3 07.09.2012, 12.10.2012
How can I do a query to find out for eacht DB (DB1, DB2 and so on) the Last_Login Date?
Thank you in advance
SteveI'm curious as to how you collect this information from multiple databases into one database, and of what value the data is once you have it. -
Cannot find the "Database query" in CUIC 10.5
Hi Everybody,
I am trying to create a custom report in CUIC (UCCX10.5)
By following the instruction below:
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cust_contact/contact_center/intelligence_suite/intelligence_suite_1051/user/guide/CUIC_BK_CAD76E49_00_unified-intelligence-center-cust-report/CUIC_BK_CAD76E49_00_cisco-unified-intelligence-center-report_chapter_0101.html#CUIC_TK_C8A91801_00
In "Create a Report Definition of Type Database Query" section, Step 7 "From the Query Type drop-down list, select Database Query"
I cannot see this option, do I miss out anything ?
Anybody can help?
Thanks in advance
SamThere are two version of CUIC, standard and premium.
CCX comes with the standard version.
In order to create new reports you need the premium version, this has the Report Definitions drawer that allows you to select the Database query and upload your SQL.
You will need to create a report on a premium CUIC and then export and upload to the CUIC on your CCX system.
You will need to install a premium CUIC system and you can get a demo premium license from the Cisco licensing portal that I think lasts for 90 days.
Sorry you won't be creating any new reports on your CCX you can only customise the display of existing reports.
Graham
Maybe you are looking for
-
Hiding a value available in JTable Cell
I have a JTable with 10 columns and mutilple rows depends on the data available. Some time I will get redundant values displayed in the table. Since I am using the Jtable Header sorting, I need all the values in all the columns. But those duplicate v
-
Is it safe to update to the newest firmw
Ok, so my Zen MicroPhoto got broken beyond recovery (the famous "Hardware Problem"-problem) and Creative Belgium is going to send me a new one/fix my old one.... When I receive my repaired/replaced mp3 player, is it safe for me to apply the latest fi
-
Spacing of Spry Menu submenu items, and inserting background images
Hiya, need a bit of help, could someone possibly guide me with this? I've created a Spry Menu in DW CS5 - so far, so good.. However I'm pretty new to CSS Styles so need pointers at what to change to get the result I need. I've created the spry menu,
-
hi sap gurus. i wanted to change the date of joining of an employee(assue that an employee is already hired in to the system from 1980. only hiring action has been taken place no pay roll has been run.) in this case i want to change that empl
-
Configuring AlwaysOn Availability across DataCenters (multi subnet)
Hi, We are working on configuring AlwaysOn SQL availability in azure across multi subnets. Following are list of steps which we are comepleted, Creating primary domain controller in VNet1 Established VNet to Vnet connectivity across virtual networks