Users Responsibility END DATE

Hello Gurus,
I required a script which will check the END_DATE of the responsibilities assigned of a particular user.
Also how can I extend the END_DATE of the assigned responsibility from backend.
Please suggest.
Thanks-
Pokhraj Das

Hello Gurus,
I ran the below sql to check the end of any responsibilities.
=================
select a.USER_NAME, a.EMPLOYEE_ID, b.RESPONSIBILITY_ID, c.RESPONSIBILITY_NAME, b.START_DATE, b.END_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 user_name = UPPER('&user_name');
===========
From the above query NO END_DATE is showing so far/
But when I am checking from FROENT_END it is showing the responsibility end date as 10-Sep-2013.
Please help to fix the issue.
Regards-
Pokhraj Das

Similar Messages

  • Behaviour of "Disable/Delete User After End Date" Task

    Hi Expert,
    We ran the given OOTB task "Disable/Delete User After End Date" and the behavior is always delete. How,if possible, to change the behavior to disable?
    Thanks in advance.
    SK

    In order to change the behavior, you have to set the system manager preference called "Period to Delay User Delete" to something bigger than the task will make the user disabled and will automatically delete them at a future date.

  • Urgent -- User responsiblity end dates

    Hi,
    Needed some clarification about end dating some responsibilities.
    I am given this huge excel mentioning around 1000's of users of various responsibilities which we need to end date.
    In case all the users under a responsibilty are to be end dated the entire responsibilty can be end dated.
    Going manually is very difficult so wanted to confirm the tables that apps affects while doing the same through front end.
    How much i know they are fnd_user ,fnd_user_resp_groups
    and fnd_responsibility.
    Would be a great help if somebody can confirm this ASAP as this is quite urgent.
    Regards,
    Neelam

    Neelam,
    Do you want to end date or want to end date users after a specific time period?
    Both of then can be end dated either manually or using a custom package( Create a custom packege, register the same with Apps and run the same)
    Hope this will be of help.. do let me know in case of further help..
    Thanks
    Yogi
    [email protected]
    Needed some clarification about end dating some responsibilities.
    I am given this huge excel mentioning around 1000's of users of various responsibilities which we need to end date.
    In case all the users under a responsibilty are to be end dated the entire responsibilty can be end dated.
    Going manually is very difficult so wanted to confirm the tables that apps affects while doing the same through front end.
    How much i know they are fnd_user ,fnd_user_resp_groups
    and fnd_responsibility.
    Would be a great help if somebody can confirm this ASAP as this is quite urgent.

  • Need to add number of days to users end date.

    Hi,
    I have a code where we are adding number of days(30) to current date and then updating user's end date in IDM DB.
    Now we have a requirement where we need to add number of days(30) to existing end date of user instead of adding to current date.
    *public String incrementDate(int daysToAdd)
         // Start date
         log.info("NotifyLastDayOfService::incrementDate(): Enter");
         SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd 00:00:00");
         Calendar c = Calendar.getInstance();
         c.add(Calendar.DATE, daysToAdd); // number of days to add
         String newDate = sdf.format(c.getTime());
         log.info("NotifyLastDayOfService::incrementDate(): Exit");
         return newDate;
    Have any body implemented this scenario?
    Please suggest.
    Thanks,
    Kalpana.

    Hi Nayan,
    Here is the code:
    System.out.println("----inside increment date method-----");     
              HashMap<String, String> hm = new HashMap<String, String>();
              HashMap<String,Date> modifyMap=new HashMap<String,Date>();
              SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd 00:00:00");
              tcResultSet usrList = null;
         String enddate = null;
         hm.put("Users.Key",usrKey );
         try {
         usrList = this.usrIntf.findUsers(hm);
         usrList.goToRow(0);
         Date endDate =usrList.getDate("Users.End Date");
         System.out.println("-----users end date-----"+endDate);
         String userEndDate=sdf.format(endDate);
         System.out.println("-----String value of users end date-----"+userEndDate);
         Calendar cal=null;
         System.out.println("-----Calender date-----"+cal);
         cal.setTime(endDate);
         System.out.println("-----end date-----"+endDate);
    cal.add(Calendar.DATE, Integer.parseInt(daysToAdd)); // number of days to add
    Date newEnddate = cal.getTime();
    System.out.println("-----new end date-----"+newEnddate);
    //usrList.setEndDate(Edate);
    modifyMap.put(userEndDate,newEnddate);
    usrIntf.updateUser(usrList, modifyMap);
    System.out.println("updated user's end date in OIM DB");
    //System.out.println("-----updated user's end date in OIM DB-----");
    logger.info("NotifyLastDayOfService::incrementDate(): Exit");
         System.out.println("-----new date-----");
         } catch (tcAPIException e) {
         logger.error("Error in finding end date for user" + e);
         } catch (tcColumnNotFoundException e) {
         logger.error("Error in finding end date for user" + e);
    In th log file, I can see that the code is not executing this line:
    cal.setTime(endDate);
    end date is of type Date and stores users end date from DB. Please help in resolving this issue.
    Thakns,
    Kalpana.

  • Manager extending user End Date

    I am trying to create a new form in OIM for internal purpose so that a user who is a Manager for other users can go in and change user's end date. He should be able to see only users who he is a Manager of. So I cannot give him access to Users Manage page.
    Is there any existing OIM functionality that I can use for this purpose. Like creating an automated request so that manager can approve it to extend the Date.
    Also If I create a new form for this purpose and use OIM API to update, should I do anything else other than creating jsp and Actions?

    Could be 2 possible solutions:
    - Organization Hierarchy : If you don't have any existing organizations defined then you can use this approach but it would end up in a state where OIM would have huge number of organizations but this would allow you to assign menu item and then only direct reports would be visible to the manager. Could be unmanageable in future.
    - Custom Object/Process Form : Create an object form and have a couple of fields ('User Login' and 'Extended End-Date' where 'User Login' being a lookup type field. Now have dependent look-up defined so that it would only return the direct reports for the logged in user. Select a user and a new end-date, later in *process definition' update the user/contractor with the selected end-date.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Duplicate responsibility on end date

    Hi,
    We have EBS 11.5.10.2 on AIX servers. When I try to end date one responsibilty it ends but it duplicates and I can not end the new one. I checked metalink and found patch 5121512 which is superseded by patch 6241631.
    I am a newbie and I dare not try to apply this patch which will be hard for me because of the prerequisite patches and mini-packs. So what I want is to learn which table(s) hold these user responsibility data and what will be the outcome if I directly delete this data? Is there any other non-patch workaround to this problem(any scripts etc.)?
    I will be very grateful for any help. Thanks.
    Burak

    Hi,
    I am a newbie and I dare not try to apply this patch which will be hard for me because of the prerequisite patches and mini-packs. So what I want is to learn which table(s) hold these user responsibility data and what will be the outcome if I directly delete this data?Do not update the tables directly as this is not supported. Instead, clone your production instance, and apply all the necessary patches on this new cloned instance, test the instance after patching and make sure all work properly, then apply the same patches on your production instance.
    Is there any other non-patch workaround to this problem(any scripts etc.)?Log a SR and check with Oracle Support if there is any workaround you can implement to avoid applying those patches.
    Thanks,
    Hussein

  • Query to end date all reponsibilities of a user

    Hi,
    One of the user in our 11i has around 120 responsibilities. I wanted to end date them at a time. If you do have a query, pl post here.

    I agree with Kevin, try to avoid updating FND tables and use APIs instead.
    Note: 394784.1 - Is there a Stardard API Which Can be Used to Disable or End Date a Responsibility?
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=394784.1

  • SQL Query to put end date to user account from Backend.

    We are using Oracle Apps 11.5.10.2. with oracle 9i Database.
    I want to put end date to user account who has left a week ago, (Responsibility ->Sysadmin - Go to : User)
    i cannot give the enddate as sysdate, i need to put the end date (25-JUN-09) from back end.
    I want a query so that the workflow tables also get updated accordingly.
    Regards,
    Jenny

    Yes i can give the back dated end date, but when i check the record history from Front end,
    (Help ---> Record History) These details are not updated , they will show the Updated By : username and Updated Date to sysdate and not the back dated date given.

  • How to end date a responsibility?

    How to end date a responsibility from backend?can any body plz suggest

    Sami,
    Please check the other thread:
    Delete responsibility from backend that is assigned to user
    Re: Delete responsibility from backend that is assigned to user

  • Allow certain users to capture quotation after bid end date

    Hi
    Is it possible to allow certain users to be able to capture quotation on behalf of suppliers using surrogate bid after the end date has been reached but before the opening date? How would I do this?
    Regards

    Hi
    As the end date and opening date are at the header level common to all bidders/vendors, we cannot manually capture quotation for specific suppliers using surrogate bidding. I dont think there is even a BADI for this.
    Rgds
    Reddy

  • OIM 11g Modify User Profile for Updating End Date

    Hi Gurus!
    We have an OIM implementation where users may request the creation of other users by means of a Create User request template. In this template we set the End Date to be 3 months after the request date.
    In order for the requester to extend the period of a user's OIM user account (along with its provisioned resources) we customized a Modify User Profile by displaying the End Date field and automatically populate it again to 3 months after the request date. Also we developed a custom event handler to enable the user when it is disabled and the End Date is updated to a future date.
    This Modify User Profile is working great when the user is still enabled (the End Date is still in the future), however, when the End Date has passed (and the user is Disabled) the requester is not able to see the user when selecting the Modify User Profile request template.
    Is there a way to allow requesters to also see disabled users in the Modify User Profile request template?
    Thank you in advance.
    Regards,

    Hi Kevin,
    thanks for your reply!
    But, in this case, when the user is already disabled due to his End Date, how can a requester, through the Self Service TAB, enable it?
    The Enable User request template does not work since when trying to enable the user, OIM sees the End Date is already passed and the DataSet validation throws an exception.
    The only way I saw was providing a Modify User Profile Request template to change the End Date and developing a custom event handler to enable the user upon the extension of the End Date...
    How can, in this situation, a requester enable the user and extend its End Date?
    Thank you!
    Regards,

  • For disable any responsibility we are end date that from front end.

    for disable any responsibility we are end date that from front end. what nay command from backend for disable the responsibilty.?

    Refer the following thread
    delete a responsability
    Re: delete a responsability
    Regards
    -Mahesh

  • Problem in setting user end date from oim to account expiry date in AD process form

    Hi all,
    i am updating the user end date from oim to user account expiry date in ad process form using oim api.
    i am able to get the end date value from oim but when i am setting it using api it through exception but all other attribute i am able to update in process form.
    i am facing the problem only with end date field because of different date format in OIM and  AD .
    so please suggest me what are date format in Active Directory and how can i change the oim date format to Active directory time format in in my java code.

    Thanks for the reply.
    But all iplanet users need not contain end date attribute, and its an update on existing user.
    Can you please ellaborate more on Transformation class..?? example should be helpful.

  • Help-ColdFusion - enabling a user to search for records in a database by entering a startand end date - (CREATEODBCDATE)

    I want to enable a user to enter a start and end date to
    define the period they want to search for records of members who
    joined on certain dates. Funny thing is...I've got it to work half
    of the time. For e.g. I have 4 records between 26/10/2005 and
    1/08/2006. When I enter 01/01/2005 as startDate and 31/08/2006 as
    endDate, I get the 4 records. However, if I alter the endDate to
    01/09/2006 I get every record in the database!!!??? Why's this? I
    can't get my head around it!
    Here's my code:
    First the code for the form the user input the search
    criteria on:
    <html>
    <body>
    <FORM action="memberJDateSearch.cfm" method="post">
    <p>Start Date: <input type="text"
    name="startDate">
    <br>End Date: <input type="text" name="endDate">
    <input type="reset" value="Clear">
    <input type="submit" value="Submit">
    </FORM>
    </body>
    </html>
    Simple enough. Now the code for the process and display page:
    <html>
    <body>
    <cfquery name="memberJDateSearch"
    datasource="jpkelle2-access">
    SELECT *
    From members
    WHERE ((joinDate BETWEEN #CreateODBCDate(startDate)# AND
    #CreateODBCDate(endDate)#))
    </cfquery>
    <table border=1 bgcolor="beige" cellpadding="3"
    cellspacing="0">
    <tr>
    <th>Member ID</th>
    <th>Name</th>
    <th>Sex</th>
    <th>Date of Birth</th>
    <th>Address</th>
    <th>Email</th>
    <th>Date Joined</th>
    </tr>
    <CFOUTPUT Query="memberJDateSearch">
    <tr>
    <td><center>#memberID#<center></td>
    <td width="15%">#forename# #initial#
    #surname#</td>
    <td>#sex#</td>
    <td width="10%">#disp('#dob#')#</td>
    <td>#address#, #town#, #county#, #postCode#</td>
    <td>#email#</td>
    <td width="10%">#disp('#joinDate#')#</td>
    </tr>
    </CFOUTPUT>
    </table>
    <hr><p>End of members list.</p>
    </body>
    </html>
    any ideas? please help me.

    Try formatting your dates first (before the CreateODBCDate
    call). I just tried this on my test page and it worked properly. I
    removed the DateFormat calls, keeping the dates in your format and
    it didn't work. See if something like the following will help:
    <cfset startDate =
    DateFormat("31/01/2006","dd/mm/yyyy")/>
    <cfset endDate =
    DateFormat("01/09/2007","dd/mm/yyyy")/>
    <cfquery name="memberJDateSearch"
    datasource="jpkelle2-access">
    SELECT *
    From members
    WHERE ((joinDate BETWEEN #CreateODBCDate(startDate)# AND
    #CreateODBCDate(endDate)#))
    </cfquery>

  • Fnd_user_pkg.updateuser - Remove End Date from Users

    As part of an upgrade, we need to end-date the vast majority of our users.
    I've used the fnd_user_pkg.updateuser API to populate the end_date on the fnd_user table.
    However, when I've come to test removing the end-date, I can't seem to do it. In the example below, the end_date remains populated.
    DECLARE
       CURSOR usercur
       IS
          SELECT fu.user_name
            FROM apps.fnd_user fu
           WHERE user_name = 'TEST_ACCOUNT';
    BEGIN
       FOR myuser IN usercur
       LOOP
          fnd_user_pkg.updateuser(
             x_user_name      => myuser.user_name
           , x_owner          => 'CUST'
           , x_end_date       => NULL
       END LOOP;
    END;On the example on this post:
    http://apps2fusion.com/forums/viewtopic.php?f=99&t=108
    They removed the end-date via:
    x_end_date => SYSDATE + 10000);
    However, that's not really removing the end date, it's just setting it to a long time in the future.
    I wondered if I might be missing something obvious?
    Any advice much appreciated.
    Thanks

    Only obvious thing you are missing is that you have posted this to the wrong forum, you need to be on e-business forum.
    BTW - have you tried re-setting the password at the same time?
    regards,
    Robert.

Maybe you are looking for