Employee specific LOV's on timecard

We have added the new LOV to the timecard Layout which displays all upgrade jobs for given employee (We are using the fnd_global.employee_id in the query). It is working fine when employee logs-in and enters the time.
When manager tries to enter time for their employees, LOV is not displaying values specific to employee instead it is showing upgrade jobs for manager because we are using the FND_GLOBAL.EMPLOYEE_ID in the query.
When I am doing research in metalink I have found the similar requirement for Timekeeper screen, and Oracle suggested using the profile fnd_profile.value('OTL_TK_RESOURCE_ID').
Do we have similar functionality in Timecard Layout so that we can control the LOV values based current employee.
Thanks,
Rama

LoAnn,
This will never work. RESOURCE_IDENTIFIER_ID will always bring back the value for the person who is logged on and hence if a line manager tries to enter timecard for a subordinate, LOVs will be based on manager's credentials and not that of subordinate.
--Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Personalizing LOVs in Create Timecard

    Hello,
    i have to personalize the "Create Timecard" page in "Self Service Time and Expenses" under Apps 11.5.10.
    If I choose the "Personalize page" link, in the personalized I find the following structure:
    Page Layout: Time Entry >
    Stack Layout: Recent Timecards >
    Stack Layout: Timecard Container >
    Table Layout: Required Field
    I have to make my changes at this level, but I can't find the items I must modify. I[b] have to Personalize Project, Task, Type LOVs, but I don't find them in the Personalization Structure!!!) How to Personalize these items ?.
    I've also gone through metalink document 304340.1 but not find anything regarding how to Personalize LOVs functionally.
    Can you help me, please?
    Thanks a lot.

    Time and Labor (OTL) has it's own method of configuring the timecard layout - have a look at the documentation on the OTL layout configuration. You can create as many Timecard layouts as you want, but when we did this it involved using FNDLOAD to dump an existing layout, modifying the ldt file and then loading up the new layout with FNDLOAD. Who gets which Timecard Layout is driven off the OTL Preferences, which would be why you saw different Create Timecard pages for different users.
    We haven't done exactly what you are trying to do, but we have created a custom LOV and to get that called from the Create Timecard screen we need to create a custom Timecard layout that referenced the custom LOV and then update the preference groups to use the new custom Timecard layout.
    Having said that, the content of the LOVs are not driven off the Timecard layouts (but how they are called is) - they are just OAF regions as far as I know. I thought that we had used personalisation on one of the standard LOVs to reorder columns, but that was back on 11.5.9, so I don't know whether the 11.5.10 changes in personalisation have affected that.

  • Filtering project LOV on OTL timecard

    Hi,
    Is there a way filtering project LOV on timecard base on logon user id? Can it be done within HR/Project modules? or I have to use OA extension to modify code?
    Thanks & Regards,
    Kevin

    Kevin,
    Personalization may not work in this case, as it would only allow you to filter based on existing data in the LOV (restrict only some values to be dispalyed), but you would not be able to dynamically alter data based on logged on person. So the alternative would be to extend the VO.
    Regards,
    Vikash

  • How to run a specific LOVs within a single form? [SOLVED]

    Hi people,
    I am new to forms.I have two LOVs in a single form LOV7 and LOV25.one is created through wizard and other is created manually.while i execute the form automatic lov(LOV7) gets displayed.but what i should do to run the manually created LOV25?.am using forms 6i with oracle 9i.thanku
    With Regards
    VIDS
    Edited by: vidusnat on Apr 25, 2009 2:39 AM

    Hai vidusnat,
    In forms, set the control property List Of Values.
    In this case the property will be set by the LOV name which u have created through wizard(LOV7).
    select the LOV name(LOV25) which u created manually.
    Or U can set this property by code also.
    SET_ITEM_PROPERTY('control NAME', LOV_NAME, 'lov name');
    or in the KEY-LISTVAL Procedure, u can call the desired LOV.
    DECLARE
         Bln_Temp BOOLEAN;     
    BEGIN
         IF condition1 THEN
              Bln_Temp := SHOW_LOV('lov 1 name');
    ELSE
              Bln_Temp := SHOW_LOV('lov 2 name');
         END IF;
    END;     
    Regards,
    Manu.

  • Validation of LOVs in Timecard while update/while trying to view details

    Dear gurus of OTL,
    I have followed this forum a lot while implementing OTL for a project and gained lots of interesting things.I have come across another interesting scenario .I have 3 LOVs in my timecard which are based on 3 xml queries.I fill out a timecard with 3 values in these lovs,i submit it and get it approved.After few days for audit purpose we check the approved timecards by clicking on the details of a timecard.Amazingly the 3 values i have entered once again get validated against the 3 xml queries and if it doesn't meet the criteria i see null there.How reasonable is this validation?
    Another observation is when we enter a timecard and save it and defer submission to a later time seeing more changes.we then try to update them and it does it again the previoulsy entered lines in the timesheet get validated against the xml queries which is a Performance issue in this case.Let me know your insights on this.
    Thanks & Regards,
    Sameer.T

    It might be something to do with the way the field is defined in the LDT file which defines the timecard layout.
    On a data entry timecard, the LOV is based on a ViewObject which in turn is a view which retireves the data from its source (a value set or some other table(s) on the database). The VO usualy returns two columns, the display value and the id of the record. The user selects the value from the display list, and then OTL stores the id of the record on the datbase.
    When the system retrieves the data to display, for example in your details page, it must read the id of the stored record and convert it back to the display value. Perhaps the VO associated to this process is not accounting for end dated projects?
    Regards
    Tim

  • [UIX] How To: Return multiple values from a LOV

    Hi gang
    I've been receiving a number of queries via email on how to return multiple items from a LOV using UIX thanks to earlier posts of mine on OTN. I'm unfortunately aware my previous posts on this are not that clear thanks to the nature of the forums Q&A type approach. So I thought I'd write one clear post, and then direct any queries to it from now on to save me time.
    Following is my solution to this problem. Please note it's just one method of many in skinning a cat. It's my understanding via chatting to Oracle employees that LOVs are to be changed in a future release of JDeveloper to be more like Oracle Forms LOVs, so my skinning skills may be rather bloody & crude very soon (already?).
    I'll base my example on the hr schema supplied with the standard RDBMS install.
    Say we have an UIX input-form screen to modify an employees record. The employees record has a department_id field and a fk to the departments table. Our requirement is to build a LOV for the department_id field such that we can link the employees record to any department_id in the database. In turn we want the department_name shown on the employees input form, so this must be returned via the LOV too.
    To meet this requirement follow these steps:
    1) In your ADF BC model project, create 2 EOs for employees and departments.
    2) Also in your model, create 2 VOs for the same EOs.
    3) Open your employees VO and create a new attribute DepartmentName. Check “selected in query”. In expressions type “(SELECT dept.department_name FROM departments dept WHERE dept.department_id = employees.department_id)”. Check Updateable “always”.
    4) Create a new empty UIX page in your ViewController project called editEmployees.uix.
    5) From the data control palette, drag and drop EmployeesView1 as an input-form. Notice that the new field DepartmentName is also included in the input-form.
    6) As the DepartmentName will be populated either from querying existing employees records, or via the LOV, disable the field as the user should not have the ability to edit it.
    7) Select the DepartmentId field and delete it. In the UI Model window delete the DepartmentId binding.
    8) From the data controls palette, drag and drop the DepartmentId field as a messageLovInput onto your page. Note in your application navigator a new UIX page lovWindow0.uix (or similar) has been created for you.
    9) While the lovWindow0.uix is still in italics (before you save it), rename the file to departmentsLov.uix.
    10) Back in your editEmployees.uix page, your messageLovInput source will look like the following:
    <messageLovInput
        model="${bindings.DepartmentId}"
        id="${bindings.DepartmentId.path}"
        destination="lovWindow0.uix"/>Change it to be:
    <messageLovInput
        model="${bindings.DepartmentId}"
        id="DepartmentId"
        destination="departmentsLov.uix"
        partialRenderMode="multiple"
        partialTargets="_uixState DepartmentName"/>11) Also change your DepartmentName source to look like the following:
    <messageTextInput
        id=”DepartmentName”
        model="${bindings.DepartmentName}"
        columns="10"
        disabled="true"/>12) Open your departmentsLov.uix page.
    13) In the data control palette, drag and drop the DepartmentId field of the DepartmentView1 as a LovTable into the Results area on your page.
    14) Notice in the UI Model window that the 3 binding controls have been created for you, an iterator, a range and a binding for DepartmentId.
    15) Right click on the DepartmentsLovUIModel node in the UI Model window, then create binding, display, and finally attribute. The attribute binding editor will pop up. In the select-an-iterator drop down select the DepartmentsView1Iterator. Now select DepartmentName in the attribute list and then the ok button.
    16) Note in the UI Model you now have a new binding called DCDefaultControl. Select this, and in the property palette change the Id to DepartmentName.
    17) View the LOV page’s source, and change the lovUpdate event as follows:
    <event name="lovSelect">
        <compound>
            <set value="${bindings.DepartmentId.inputValue}" target="${sessionScope}" property="MyAppDepartmentId" />
            <set value="${bindings.DepartmentName.inputValue}" target="${sessionScope}" property="MyAppDepartmentName" />
        </compound>
    </event>18) Return to editEmployees.uix source, and modify the lovUpdate event to look as follows:
    <event name="lovUpdate">
        <compound>
            <set value="${sessionScope.MyAppDepartmentId}" target="${bindings.DepartmentId}" property="inputValue"/>
            <set value="${sessionScope.MyAppDepartmentName}" target="${bindings.DepartmentName}" property="inputValue"/>     
        </compound>
    </event>That’s it. Now when you select a value in your LOV, it will return 2 (multiple!) values.
    A couple things to note:
    1) In the messageLovInput id field we don’t use the “.path” notation. This is mechanism for returning 1 value from the LOV and is useless for us.
    2) Again in the messageLovInput we supply “_uixState” as an entry in the partialTargets.
    3) We are relying on partial-page-refresh functionality to update multiple items on the screen.
    I’m not going to take the time out to explain these 3 points, but it’s worthwhile you learning more about them, especially the last 2, as a separate exercise.
    One other useful thing to do is, in your messageLovInput, include as a last entry in the partialTargets list “MessageBox”. In turn locate the messageBox control on your page (if any), and supply an id=”MessageBox”. This will allow the LOV to place any errors raised in the MessageBox and show them to the user.
    I hope this works for you :)
    Cheers,
    CM.

    Thanks Chris,
    It took me some time to find the information I needed, how to use return multiple values from a LOV popup window, then I found your post and all problems were solved. Its working perfectly, well, almost perfectly.
    Im always fighting with ADF-UIX, it never does the thing that I expect it to do, I guess its because I have a hard time letting go of the total control you have as a developer and let the framework take care of a few things.
    Anyway, I'm using your example to fill 5 fields at once, one of the fields being a messageChoice (a list with countries) with a LOV to a lookup table (id , country).
    I return the countryId from the popup LOV window, that works great, but it doesn't set the correct value in my messageChoice . I think its because its using the CountryId for the listbox index.
    So how can I select the correct value inside my messageChoice? Come to think of it, I dont realy think its LOV related...
    Can someone help me out out here?
    Kind regards
    Ido

  • Error when navigating based on lov in second page navigation

    hi am not able to navigate based on the lov selection am geting this error ,this happen after i enter my departmentname and able to navigate to next page,but when i make selection in my lov next page to navigate to another page i get below error
    JBO-25020: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    Error     
    View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    i re-upload the sample http://www.datafilehost.com/download-023d31b6.html
    <SimpleSelectOneRenderer> <_getSelectedIndex> Could not find selected item matching value "2" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=soc1]
    neworg 105
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    oracle.jbo.RowNotFoundException: JBO-25020: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowInRSI(DCJboDataControl.java:1520)
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowWithKeyValue(DCJboDataControl.java:1416)
         at oracle.adf.model.binding.DCIteratorBinding.setCurrentRowWithKeyValue(DCIteratorBinding.java:3513)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1588)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at view.SelectedEmp.showSelectedOrg(SelectedEmp.java:64)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <RegionRenderer> <encodeAll> The region component with id: r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
    <SimpleSelectOneRenderer> <_getSelectedIndex> Could not find selected item matching value "2" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=soc1]
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    oracle.jbo.RowNotFoundException: JBO-25020: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowInRSI(DCJboDataControl.java:1520)
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowWithKeyValue(DCJboDataControl.java:1416)
         at oracle.adf.model.binding.DCIteratorBinding.setCurrentRowWithKeyValue(DCIteratorBinding.java:3513)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1588)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at view.SelectedEmp.showSelectedOrg(SelectedEmp.java:64)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)am in jdeveloper 11.1.1.6.0
    Edited by: adf009 on 2013/03/26 4:52 PM
    Edited by: adf009 on 2013/03/27 1:42 PM

    hi is it not possible to use two root components. because i what to dipslay employee information based on what department entered in inputtext and after that i what to have a list of employee from that department and select the employee in lov and navigate to next page and list that selected employee details in my next page you can check my sample

  • Select lists empty or POPup LOV needed with redirect

    Hi all,
    I have a form where i need 6 select lists with redirect or 6 POPup LOV with redirects.
    These select lists are separated in three groups
    like this
    group 1
    departments select list with redirect
    employees popup lov (query based on the value of department)
    group2
    Order select list with redirect
    OrderItem popup lov but needs a redirect here for employees (query based on the value of countries)
    employees popup lov (query based on the value of department)
    group 3
    some status select list with redirect
    When I choose the first select list the popup LOV is populated with good values
    when i select a value from the second select list the value in the first list disappears, including the value of the first popup lov. etc.
    How is it possible to keep the values stored in the first selects list when selecting some value of the second list.
    How is is possible to make a popup lov with redirect so that the values are in session
    and can be used in another popup lov?
    Is someone there who have experiences with this issue?
    thanks in advance,
    Hugo

    Hi Hugo,
    I don't think that you need a redirect for that. Check out my AJAX cascading popup lov solution.
    http://inside-apex.blogspot.com/2006/11/generic-solution-for-depending-select.html
    Hope this helps
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com

  • Change of Default feature of LOV

    Hi All,
    If user clicks the LOV field,the pop up window should not take the messageLovInput vallue as criteria and the pop up should display all the values based on one id.
    Example:
    In my page,two fields are there one is Employee name LOV and Employee Role LOV.
    If user selects the Employee name,Emp id will be stored as a formValue in the page and i am displaying the default role in the Employee Role LOV
    of the Employee based on emp_id.Now my Reqirement is ,if User selects the Employee Role LOV,the pop window should display all the Emp Roles related to that perticular Employee.But currently if i click the Emp Role LOV,pop window is displaying the default Role only.
    Can any one give ideas like how to display all Emp Roles in pop up window with out considering the Base page Emp Role as criteria.
    Thanks,
    Sai
    Edited by: user610183 on Jan 14, 2009 7:24 PM

    Hi,
    try and experiment with
    public void onLauchLov(LaunchPopupEvent launchPopupEvent) {
            String submittedValue = [... get your ID ..]
            //only perform query if value is submitted
            if (submittedValue!=null &&submittedValue.length()>0){
                RichInputListOfValues lovComp = (RichInputListOfValues)launchPopupEvent.getComponent();
                FacesCtrlLOVBinding.ListOfValuesModelImpl lovModel = null;
                lovModel = (FacesCtrlLOVBinding.ListOfValuesModelImpl) lovComp.getModel();      
                lovModel.getCriteria().getCurrentRow().setAttribute("<the attribute value to set>",submittedValue+"%");
                lovModel.applyCriteria();
                lovModel.performQuery(lovModel.getQueryDescriptor());
        }in a launch listener
    Frank

  • Workflows not created for timecards submitted

    We have an issue with workflows.
    When employees submit their timecards, some of them randomly do not have associated workflows created. The submitted timecards are just stuck in 'SUBMITTED' status.
    The workaround is for the preferences for the employees with this issue to be updated so they can resubmit timecards which are in 'SUBMITTED' status so the employee can resubmit his/her timecards. This time, the associated workflows are created fine.
    Has anyone else come across this issue? Any idea why this is happening?

    Are you using the Workflow Background Process or do you have 'OTL: Defer approval process on timecard submission' System Profile set to No?  There could be a delay in the notifications being sent if you have the WBP set on autoscheduler to only run at certain times.   I would suggest changing the profile option instead if you haven't already, this means notifications are always sent immediately without delay.
    If this is all fine, are you receiving an error in the workflow before resubmission?
    Hope this helps.
    Charlie

  • Posting of Employee Loans.

    Dear Experts,
    In HR module I want to post employee loans (infotype 45) directly to personal account of employees (and not to fixed customer code like "Loans to Employees").
    SPRO says maintain table <b>T030</b>, But that Table 'Transport Automatic Posting' , seems to be non - modifiable.
    Can anybody help me on this?????????????
    Saurabh

    Hi Asahn,
    AFAIK there's no simple way, like just assigning foreign accounts.
    If you have activated "Posting to Company Code Clearing Accounts" in SPRO, you can however, assign items employee-specific, by using either Infotype 0027 Cost Distribution, or by using cost assignment as in Infotype 0014, 0015 ...
    Thus, you specify which costs are to be cleared by the other company.
    As an alternative, leave the problem to the accounting guys. Just assign one or two accounts for clearing with 2000 and state, that whatever amount is posted to these, has to be cleared by company 2000.
    Regards Jörg

  • Cascading LOV behavior

    Hi,
    I have created a Cascading LOV for Employee-> Dept No and unchecked Hierarchical View in u201CCreate Cascading List of Valuesu201D option.
    Then I created a Webi report and applied u201CDept Nou201D as Prompt with LOV option enabled.
    When I refresh the report it is displaying two prompts, one for Dept No and other for Employee.
    I selected the value for Dept No. Then accordingly Employee prompt is also filtered based on Dept No, and I selected one employee number.
    When I view the report after specifying prompt values, it is showing all the employees under that Dept, but I would like to see only for the Dept No and Employee selected in the prompt window.
    When I check the Report Query, I find a where condition only on Dept No, and not on Employee.
    Is this the kind of behavior one would expect in BOXI 3.1. Please let me know.
    Thank you.

    Hi Mohamed,
    The Employee parameter should appear only once. You might have done some thing additional.
    Had you tried to create any cascading LoVs? If yes then delete it. The definition of the objects should be as given below.
    Please check the definitions of the objects as:
    Employee: tobe dragged in the query
    Select: Table Emp.Name
    Lov Employee
    Select: Table Emp.Name
    Where: @Select(Table Dept.\Name) In @prompt('Select Employee','A','Table Dept.\Name,multi,constrained)
    Dept
    Select: Table Dept.Name
    Prompt (Predefined Condition): to be dragged in the query
    @Select(Emp\Name) InList @prompt('Select Employee','A','LoVs\Lov Employee',multi,constrained)
    Regards,
    Rohit
    Edited by: rohit12 on Mar 9, 2010 5:54 AM

  • R1208 Self Service Timecard Error ORA-01422 HXC_TIMECARD line 830 HXC_LOCKS

    Hi,
    After applying HRMS RUP 8 on 12.0 we are intermittently seeing this error when an employee is trying to update an existing timecard (usually a timecard that was previously submitted). The user just gets the generic unexpected error page, but FND_LOG_MESSAGES shows the error:
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "APPS.HXC_TIMECARD", line 830
    Somehow there are sometimes rows in HXC_LOCKS that are not being released when the timecard is submitted, so the row in HXC_LOCKS has the old time_building_block_ovn, and when the employee goes to update the timecard then it inserts a new row in HXC_LOCKS with the latest OVN (without clearing the HXC_LOCKS row with the old OVN), so when they try to save the changes to the timecard then the query at "APPS.HXC_TIMECARD" line 830 selects both rows and throws the ORA-01422.
    We can't reproduce this on demand, but it's happening in production several times a week. We first started seeing this immediately after applying the HRMS RUP 8 patch 9301208. Our SR seems to be going nowhere without a reproducible test case.
    I was wondering if anyone else is seeing this error.
    The query below tells us where we have these old hxc_locks, and if we try to update one of these timecards then it will produce the error.
    Would anyone mind running this in your instance to see if any rows come up?
    select *
    from apps.hxc_locks hl,
    apps.hxc_time_building_blocks ht
    where ht.time_building_block_id = hl.time_building_block_id
    and hl.time_building_block_ovn < (select max(hb.object_version_number)
    from apps.hxc_time_building_blocks hb
    where hb.time_building_block_id = ht.time_building_block_id)
    and ht.object_version_number = (select max(hb.object_version_number)
    from apps.hxc_time_building_blocks hb
    where hb.time_building_block_id = ht.time_building_block_id);
    The workaround we have found is to create a new timecard for the same period instead of trying to update the existing timecard, when you do this then it removes the old row from HXC_LOCKS.
    Any other thoughts?
    Thanks for reading this long post
    Thomas

    It definitely looks like code issue. Best option is to raise an SR and follow with oracle.
    --Shiv                                                                                                                                                                                                       

  • OTL Timecard Rejection/Resubmission

    Hi All,
    I am working on OTL Timecard Approval Workflow. I have a requirement as mentioned. Please let me know if it is feasible or not.
    Approval Style used is Project Manager.
    Hence when timecard is submitted, it is split into the number of projects in the timecard and sent to project manager's approval.
    I have a second level of approval also which I have achieved through workflow customization.
    The main scenario is as below.
    An employee submits a timecard with 2 different projects.
    Project manager of first project approves and is routed to next level of approval.
    Project Manager of second project rejects the timecard.
    Requirement
    In that case, employee has to resubmit the timecard after making necessary changes and should be routed only to the person who rejected the timecard.
    But, in general, when a timecard is submitted again, the previous workflow is cancelled and whole new workflow is triggered, which will send notifications to all.
    Is there way to achieve this?
    Waiting for your inputs.
    Thanks,
    Anand

    HXCEMP workflow is not responsible for displaying the timecard information in the notification. It just routes to the relevant approver,
    Did you configure the Notification layout as well (along with Time entry layout)? You need to have the similar changes to Notification layout.
    Ramu

  • OAF: Lov- storing n displaying different attribute

    Hi Everyone,
    I have created one Item 'Employee' with Item Style:messageLovInput and under that one region with Region Style:listOfValues under this created 3 items.(eno, ename, phone)(this is from one VO).
    like this i have different items for employee creation page. And also one button Save.
    when user clicks on Save button then the data in the page should be saved in other table(employeedataTable).
    My requirement is: when user run the page and see the output page the ename should be displayed in the lov (Employee) but when user clicks on the save button then eno should be saved in the table employeedataTable.
    Plz help me to get out of this.
    Any suggestions will be really useful.
    Thanks.

    Hi,
    Take a form value item and get the eno corresponding to Employee by lov mapping.
    After clicking save button get form value and set that value in the table.
    Regards,
    Shrawan

Maybe you are looking for

  • How to Consolidate MULTIPLE iTunes Libraries?

    I've found myself in a situation where my iTunes file organization has gotten out of hand. Originally this occurred because I had an iBook with only a 60GB HD, storage was tight, so I had to keep my music on both an external HD as well as the iBook's

  • Need help identifying this in-ear headphones!

    Can anyone name the model of these old headphones I have? http://tinypic.com/view.php?pic=2ptz1qp&s=8 Thank you in advance!

  • How to call portal from R3

    Hello Gurus, I have a new requirement to call portal from r3. Its regarding KM. When ever a end user is using R3 Tcode, he will get a button of online user manual about that perticular T-code,,when he clicks on that button ,,he is directed to portal

  • Creating MDM repository for Material Master Data

    Hello MDM Gurus, I am new to SAP MDM. I want to create MDM repository for Material Master. What I unddertand is, I can create repository using Bussiness Content shiped with MDM software. I will copy *.a2a file to archive folder of MDM server and unar

  • How to add an iview as a link

    Hi, I have a requirement like i need add an iview (For Ex : Contact Us) as a link at the bottom of the page/currently viewing iview. Not in a navigation panel as a related links or not as a favourite link, a link should be added at the bottom of a pa