LOV in iexpenses

Hi,
I am new to OAF.We have a requirement to change an LOV in iexpenses.Appreciate if someone could guide me on how this can be achieved.
Regards,
J

Please check the section on Extensions and Substitutions in user guide. Then if you have questions, we can clarify.

Similar Messages

  • How to change a LOV into a Checkbox in OIE (iExpenses)

    Hi again Gurus!
    I needing some help here.
    I needed to add a checkbox at page in OIE (iExpenses)
    /oracle/apps/ap/oie/entry/lines/webui/DetailsPG
    so first i did was add an descriptive flexfield segment into Payables - "Expense Report Line"
    inside Global Data Elements i set a field pointing to an standard value set named "Yes_No"
    so now when i go in that page, the new fields appear OK.
    the problem is that this new field looks like an input text with a LOV.
    but i want to change this look to a checkbox because is a Yes/No and will look better
    is there is any chance to do this?
    how?
    thanks a lot!!!!
    and im sorry for my poor english

    Hi,
    I am not sure how you have configured the flex field,
    I think the VO associated with the data is EO based, use one of the Attribute1 to Attribute15.
    Make sure that attribute is not being used by some other customization.
    And just add a new field of type Chexbox via personalization and then associate the VO instance and VO Attribute (say Attribute15)
    and then check the value is getting saved in the Attribute15.
    Thanks,
    With regards,
    Kali.
    OSSI.

  • Unable to default a value in LOV in Expense Allocations page of iExpenses

    Hi friends,
    I am trying to default a value in a Lov (Which is a one of the segments in KFF).
    This Lov is in a HGrid region of "expense allocations page" of iExpenses.
    But i am unable to default that.
    I am using the below code.
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OADBTransaction dbTran = am.getOADBTransaction();
    OAApplicationModule am1 = pageContext.getRootApplicationModule();
    dbTran.writeDiagnostics(this,"tnv AM, AM1 : "+am+", "+am1, 2);
    // AllocationsHeaderVO
    OAViewObject vo = (OAViewObject)am.findViewObject("AllocationsHeaderVO");// AllocationsHeaderVO
    dbTran.writeDiagnostics(this,"tnv AllocationsHeaderVO : "+vo,2);
    Row row = vo.getCurrentRow();
    dbTran.writeDiagnostics(this,"tnv AllocationsHeaderVO row: "+row,2);
    String arr[]= row.getAttributeNames();
    Object arrVal[] = row.getAttributeValues();
    for (int i = 0; i <arr.length ; i++)
    try
    dbTran.writeDiagnostics(this,"tnv arr[i] : "+arr,2);
    dbTran.writeDiagnostics(this,"tnv arrVal[i] : "+arrVal[i].toString(),2);
    }catch(Exception e)
    dbTran.writeDiagnostics(this,"tnv null Exp arrVal[i] : "+i,2);
    OAMessageLovInputBean busAreaSeg2 = (OAMessageLovInputBean)webBean.findChildRecursive("KffSEGMENT2");
    OAMessageStyledTextBean busAreaSeg2Desc = (OAMessageStyledTextBean)webBean.findChildRecursive("KffSEGMENT2Desc");
    busAreaSeg2.setText("100"); // A -- I am able to default this value, but user is having no option to change the value, if i go with this.
    busAreaSeg2.setText(pageContext, "100"); // B -- Unable to default with this....
    busAreaSeg2.setValue(pageContext, "100"); // C -- Unable to default with this...
    Could somebody please help me out, in defaulting this.
    Thanks in advance,
    Naresh

    Hi Guys,
    I am trying to Default Task LOV field based on the Project selected in Project LOV field, But i am not able to get the handle for Task LOV field in iExpenses of ExpenseAllocationDetailPG.
    Please provide me some hint to achieve the same.
    Thanks in advance.
    Regards,
    Naren.

  • 11.5.9 iExpense DFF LOV issue

    Hi All,
    in 11.5.9 iExpense implementation i am facing a issue in the DFF LOV's.
    In 11.5.9 the DFF's are dynamically rendered in detailsCO. Some of the DFF's have a LOV attached. which is rendered along with a torchlite symbol
    1. if user types in say 'Yes' and there is one matching value ideally it should not open the search region, but it always opens the search window.
    * This issue is not there in any other object (non Dff objects) which has serach capability.
    * This issue is not there in 11.5.10 instance , as Oracle has removed the DetailsCO completely.
    is this something do with a property?
    2. Can i set the property to show an advance search window (with and or options) instead of standard one (with one search criteria at a time - current functionality)? if yes means which property i have to set ?
    thanks in advance

    Hi Saurabh,
    Thanks for your advice. The usage of context sensitive flexfield is working for most of the scenarios, but failed while trying to add an employee as contact to other emplyee.
    In the contact screen, the newly added contact is reffered with contact type as employee.
    The error message is given below.
    PP-FND-01242: Cannot read value from field PERSON.EMPLOYEE_NUMBER
    Cause:  The field PERSON.EMPLOYEE_NUMBER could not be located or read.
    Action:  This error is normally the result of an incorrectly-entered field name string in a trigger, or a field name string that does not uniquely specify a field in your form.  Correct your trigger logic to precisely specify a valid field.
    Thanks.

  • VO Extension or Substitution Help Please - Urgent (iExpenses)

    Hi All,
    I am trying to limit the data of the Projects and Tasks LOV (on the ExpenseAllocationsPG) in iExpenses Module. I tried a VO substitution and failed with an error.
    ERROR: oracle.jbo.NoDefException: JBO-25002: Definition type View Definition not found
    basically it could not find my custom VO that i created, so i deleted it from the database.
    This is basically what i want to do:
    The standard Projects LOV from the ExpenseAllocationsPG
    1.oracle.apps.ap.oie.server.ProjectsLovVO
    SELECT * FROM (SELECT P.PROJECT_NUMBER PROJECT_NUMBER, P.PROJECT_NAME PROJECT_NAME, P.PROJECT_ID PROJECT_ID, P.START_DATE START_DATE, P.COMPLETION_DATE COMPLETION_DATE, (select O.NAME from HR_ALL_ORGANIZATION_UNITS O where P.CARRYING_OUT_ORGANIZATION_ID = O.ORGANIZATION_ID)PROJECT_ORGANIZATION_NAME FROM PA_PROJECTS_EXPEND_V P) QRSLT ORDER BY PROJECT_NUMBER
    2.oracle.apps.ap.oie.server.ProjectsVO
    SELECT * FROM (SELECT P.PROJECT_NUMBER PROJECT_NUMBER, P.PROJECT_NAME PROJECT_NAME, P.PROJECT_ID PROJECT_ID, P.START_DATE START_DATE, P.COMPLETION_DATE COMPLETION_DATE, O.NAME PROJECT_ORGANIZATION_NAME FROM PA_PROJECTS_EXPEND_V P, HR_ORGANIZATION_UNITS O WHERE P.CARRYING_OUT_ORGANIZATION_ID = O.ORGANIZATION_ID) QRSLT ORDER BY UPPER(PROJECT_NUMBER)
    I tried to do a substititution on both LOV's
    I then created custom Project LOV in a custom folder and i changed the the query a bit as follows to restrict the LOV to user projects:
    SELECT P.PROJECT_NUMBER PROJECT_NUMBER,
    P.PROJECT_NAME PROJECT_NAME ,
    P.PROJECT_ID PROJECT_ID ,
    P.START_DATE START_DATE ,
    P.COMPLETION_DATE COMPLETION_DATE ,
    (SELECT O.NAME
    FROM HR_ALL_ORGANIZATION_UNITS O
    WHERE P.CARRYING_OUT_ORGANIZATION_ID = O.ORGANIZATION_ID
    )PROJECT_ORGANIZATION_NAME
    FROM PA_PROJECTS_EXPEND_V P,
    PER_ASSIGNMENTS_F per,
    HR_ORGANIZATION_UNITS O,
    FND_USER fu
    WHERE per.person_id = pa_utils.getempidfromuser(fnd_global.user_id)
    AND per.primary_flag = 'Y'
    AND SYSDATE BETWEEN per.effective_start_date and per.effective_end_date
    AND p.project_id IN(select project_id from pa_transaction_controls
    where person_id = pa_utils.getempidfromuser(fnd_global.user_id)
    UNION ALL
    select project_id from pa_transaction_controls
    where person_id is null
    and expenditure_category = 'Labour'
    UNION ALL
    select project_id from pa_transaction_controls
    where person_id = pa_utils.getempidfromuser(fnd_global.user_id)
    and expenditure_category = 'Labour')
    AND p.carrying_out_organization_id = o.organization_id
    AND fu.employee_id = per.person_id
    **all that is in bold is what i added.
    my VO substitution does not work. i got errors.....
    Can someone please help me.....am i doin the right thing or is there another approach. It would greatly appreciated. I guess if i can get the Projects LOV to work then the Task Lov would be the same.
    Thanks
    Kresen

    hi Kresen,
    if u r unable to see that extended VO then verify wheter all these steps are done...
    after extending that VO in jdeveloper......Please FTP all the 3 (VO.xml, Voimpl and VORowImpl)
    into to $JAVA_TOP/<custom directory>/oracle/apps/ap/oie/server/ProjectsLovVO
    this thing looks very silly but important......
    Please Substitute the Seeded VO to the Extended VO in the Jdeveloper......then check in the .jpx file whether the substituion has taken place
    in .jpx file
    <Substitutes>
    <Substitute OldName ="oracle.apps.ap.oie.server.ProjectsLovVO" NewName ="xxxx.oracle.apps.ap.oie.server.ProjectsLovVO" />
    </Substitutes>
    this thing should be present....import that jpx file...
    Please convert the java files Voimpl and VorowImpl to Class files in the Server using javac command
    bounce the apache
    regards,
    sravanth

  • Convert a textfield item to an LOV in seeded page(AttendeeDetailPG.xml)

    Hi
    I have a requirement to create an LOV on AttendeeDetailPG.xml in iExpense
    The page already has AttendeeName as textfield item. I want to convert this textfield item to an LOV and change the LOV query to point to some other view.
    What do i need to do ?
    do i need create a new AM, CO and VO?
    can you please let me know the steps?
    Thanks

    Hi I get this error when i add LOV using personalization
    oracle.apps.fnd.framework.OAException: oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/ap/oie/entry/lines/webui/ExpenseDetailsPG.bio.oracle.apps.ap.oie.webui.BioPrescribersVO, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:597)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1585)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
         at oa_html._OA._jspService(_OA.java:86)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/ap/oie/entry/lines/webui/ExpenseDetailsPG.bio.oracle.apps.ap.oie.webui.BioPrescribersVO, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.adf.mds.internal.MUnResolvedState.resolveState(MUnResolvedState.java:193)
         at oracle.adf.mds.internal.ElementData.resolveState(ElementData.java:509)
         at oracle.adf.mds.internal.ElementData.getUntransAttrVal(ElementData.java:922)
         at oracle.adf.mds.internal.ElementData.getAttrVal(ElementData.java:835)
         at oracle.adf.mds.internal.ElementData.getAttributeValue(ElementData.java:260)
         at oracle.adf.mds.internal.Cache.getAttribute(Cache.java:237)
         at oracle.adf.mds.internal.MetadataManagerBase.getAttributeValueInternal(MetadataManagerBase.java:1091)
         at oracle.adf.mds.internal.MElementImpl.getAttrValueOrExpression(MElementImpl.java:620)
         at oracle.adf.mds.internal.MElementImpl.getAttributeValue(MElementImpl.java:230)
         at oracle.apps.fnd.framework.personalization.PersonalizationHelper.getElementHintOrID(PersonalizationHelper.java:2932)
         at oracle.apps.fnd.framework.personalization.PersonalizationHelper.getElementHint(PersonalizationHelper.java:2864)
         at oracle.apps.fnd.framework.personalization.PersonalizationHelper$ActionItem.load(PersonalizationHelper.java:1753)
         at oracle.apps.fnd.framework.personalization.PersonalizationHelper$ActionItem.isInserted(PersonalizationHelper.java:1440)
         at oracle.apps.fnd.framework.personalization.webui.DeletePGCO.processRequest(DeletePGCO.java:69)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1585)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
         at oa_html._OA._jspService(_OA.java:86)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)
    oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/ap/oie/entry/lines/webui/ExpenseDetailsPG.bio.oracle.apps.ap.oie.webui.BioPrescribersVO, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.adf.mds.internal.MUnResolvedState.resolveState(MUnResolvedState.java:193)
         at oracle.adf.mds.internal.ElementData.resolveState(ElementData.java:509)
         at oracle.adf.mds.internal.ElementData.getUntransAttrVal(ElementData.java:922)
         at oracle.adf.mds.internal.ElementData.getAttrVal(ElementData.java:835)
         at oracle.adf.mds.internal.ElementData.getAttributeValue(ElementData.java:260)
         at oracle.adf.mds.internal.Cache.getAttribute(Cache.java:237)
         at oracle.adf.mds.internal.MetadataManagerBase.getAttributeValueInternal(MetadataManagerBase.java:1091)
         at oracle.adf.mds.internal.MElementImpl.getAttrValueOrExpression(MElementImpl.java:620)
         at oracle.adf.mds.internal.MElementImpl.getAttributeValue(MElementImpl.java:230)
         at oracle.apps.fnd.framework.personalization.PersonalizationHelper.getElementHintOrID(PersonalizationHelper.java:2932)
         at oracle.apps.fnd.framework.personalization.PersonalizationHelper.getElementHint(PersonalizationHelper.java:2864)
         at oracle.apps.fnd.framework.personalization.PersonalizationHelper$ActionItem.load(PersonalizationHelper.java:1753)
         at oracle.apps.fnd.framework.personalization.PersonalizationHelper$ActionItem.isInserted(PersonalizationHelper.java:1440)
         at oracle.apps.fnd.framework.personalization.webui.DeletePGCO.processRequest(DeletePGCO.java:69)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1585)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
         at oa_html._OA._jspService(_OA.java:86)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)

  • Error while creating a custom LOV

    Hi All,
    We have a requirement to open a custom page on the click of an LOV
    inside a table(n Number of rows will be there in the table). We need to
    populate the base page field after selecting a value from the custom page.
    We are using a flow layout with a text box and a torch icon. On the
    click of torch icon we are using javascript to open the custom Page.
    Everything works fine. When we use the cancel/apply in the custom popup
    page, we are using javascript to submit the base page. The popup closes,
    but the base page is erroring out saying
    "You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please
    select Home to proceed. "
    Can we achive this functionality by any other approach?
    We cannot use the standard LOV as the page should have much more
    functionality than what the standard LOV offers. The client want the
    functionality to be in the same way as LOV works.
    We have set the Security property of the custom page to 'SelfSecured'.
    The javascript used on the click of the torch icon is given below.
    function popupWindow(pageUrl,formName,rowId,retainAM,isModal)
         var Nav4 = ((navigator.appName == "Netscape") &&
    (parseInt(navigator.appVersion) >= 4))
         if(rowId != null)
              pageUrl += "&xxbgRowId=" + rowId;
         if(retainAM)
              pageUrl += "&retainAM=Y";
         if(isModal)
              if(navigator.userAgent.indexOf("Firefox")!=-1) // For Mozilla --
    added for BUG#2339
                   var versionindex = navigator.userAgent.indexOf("Firefox")+8;
                   if (parseInt(navigator.userAgent.charAt(versionindex))>=1)
                        openWindow(self, pageUrl,formName ,{width:650, height:450,
    resizable:'yes'},'modal','dialog', true);
              else if(Nav4) // For Netscape -- For Mozilla also Nav4 will be true,
    but if the browser is mozilla it would be caught in the previous block only
    open(pageUrl,'self','width=600,height=400,toolbar=no,menubar=yes,status=1,resizable=yes,scrollbars=yes,modal=yes');
              else // For IE
                   openWindow(self, pageUrl, 'modal',{width:650, height:450,
    resizable:'yes'}, true);
         else
    open(pageUrl,'self','width=600,height=400,toolbar=no,menubar=yes,status=1,resizable=yes,scrollbars=yes');
    The javascript used on the click of the cancel button on the custom
    popup page is below.
    function closeAndSubmitBasePage()
         window.close();
    window.opener.submitForm(0,0,{serverValidate:'0',FromPopup:'selectSubmit'});
    }

    Mukul,
    I have tried with the bound value approach also. The popup is coming fine, but when the base page is submitted , it is still erroring out. Also if we close the popup with the browser close (X), and then do some action on the base page, it is erroring out saying
    "You cannot complete this task because you accessed this page using the browser's navigation buttons (the browser Back button, for example).".
    Now our client has agreed to navigate to another page and come back to the originating page instead of bringing the popup. Since we are close to the release point, I am going ahead with this approach., there is lot to do with the page functionality.
    I will try to use the popup again , once the functionality of the page is done and will update you on the same.
    Thanks a lot Mukul
    --Anoop                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • LOVs in Reports6i

    When building my LOV on the parameter screen, I want to limit the values of one field based on a value from another field. When I tried it, I got an error about using a bind variable in the where clause. Any suggestion on how to do this?

    greg,
    the capabilities of the reports parameterform are limited as it was only designed to provide simple form capabilities. if you need more complicated parameter form functionality, you need to use oracle forms or regular html-forms/javascript functionality.
    regards,
    philipp

  • Error While Running LOV

    Hello,
    I am using APEX 4.0.1.00.03 and 11g DATABASE, and I'll explain my problem on the following lines.
    I've started using functions in PACKAGES to return results to my LOVS in APEX, so that I can change the code of LOV without having to make any change in the application (I've created a generic table type t_varchar_number). The problem is I've started to get this error:
    "ORA-06550: linea 1, columna 71: PL/SQL: ORA-0947: no hay suficientes valores ORA-01007: la variable no está en la lista de selección ORA-06550: línea 1, columna 7: PL/SQL: SQL Statement ignored ORA-01007: la variable no está en la lista de selection".
    Strangely it doesn't appear every time and if I push F5 a given number of times it will disappear and stop giving the error for a time. I've also placed a logging mechanism on the code so that I can see the query strings I use on my "execute immediate" instructions, when the error appears and there is no difference from when it doesn't give the error. Also if I run the string I place on the log manually there is no error.
    On each LOV I use the following code:
    select * from table(PACKAGE_NAME.function_name(args))
    Can anyone help me out? What other steps can I take to try and track this problem?
    Thank you,
    Miguel

    Hi Scott,
    I'm also facing the same problem as Monika.
    I have an LOV with the following query which returns 8774 records, when I copied and pasted those records into a text file it shows as 220KB in size.
    SELECT
    p.name d,
    p.pers_id r
    FROM people p,
    people_contacts pc
    WHERE SYSDATE BETWEEN NVL(start_date,SYSDATE) AND NVL(end_date,SYSDATE)
    AND     p.used_by_orc = 'Y'
    AND     pc.pers_id = p.pers_id
    AND     pc.group_id IN ('ORC','SHARED')
    ORDER BY 1
    After searching the forum, I think there's a 32K limitation on the fetched rows in tabular forms, can you please let me know how to overcome this problem?
    I'm selecting the persid in the (tabular form) SQL query updatable report.
    I'm trying to display the field as Name instead of PERSID by changing it to select list(based on named LOV) or whichever way it can work.
    Please help me.
    Thanks in advance.
    - Pradeep

  • Firefox 4 download. Since, Windows start button options changed. Should be browser agnostic, can you please tell me how to fix this? While I love Firefox, this has me livid! (1 irony, Firfox is no longer in my Start button menu.)

    I first noticed an issue when looking for something normally located in the Accessories folder of MS programs. What I found upon clicking on "All Programs" was not the program file/folder tree I expected but rather a direct list of all files in the Program Files folder. I then went to open a new session of Firefox to research that issue and noticed my basic Start button options were also changed. Now, even focus for event-driven events is not working correctly. Again, while I love Firefox, this needs to be fixed immediately or I will be forced to uninstall the product just to function.

    Unfortunately I tried that and it didn't work. Thanks for the help though. I tried to uninstall and it said I couldn't because the file is corrupt or something, but I think I finally got it uninstalled and/or deleted or whatever, but now I try to reinstall/download it again from the beginning and I can't. No matter what I do I can not get Firefox working again. No matter how many times I try to redownload it. Any other suggestions?

  • How to restrict Sales Order LOV in Transact Move Orders

    Hello
    We would like to restrict LOV in the Transact Move Orders screen to only those orders that were created in that specific Operating Unit. Also, we would like to control the LOV for Release Rules to a specific OU.
    I believe the LOVs for both these screens pull from MTL_SALES_ORDERS. Therefore, I guess we would need to create a Value Set of type Table, value will be SEGMENT1 (Sales Orders) but unsure about the where condition.
    Any help would be appreciated.
    Sanjib

    Sanjib
    Release Rules: Why don't you use the SRS version if pick releasing rather than the screen. Ofcourse you lose some flexibility to enter order number and customer information. If screen is a must you can take the LOV from the existing form and create a new record group in the new form instance trigger. Add this peice to the lov sql to control the pick release rules result:
    (select 1 from org_organization_definitions cust_org
    where org.organization_id=cust_org.organization_id
    and operating_unit=FND_PROFILE.VALUE('ORG_ID'))
    This org is mtl_parmeters table used in LOV.
    2. Transact Move Orders: Instead of changing the LOV and playing with the Sales Order Flexfield, you can use the inventory organization security to control who can do a transaction. This will not change the LOV but definitely will control the access to the records after you have queried. As you know this is inventory or warehouse function not the OE function.
    You can try one idea though:
    Segment2 is order_type which is OU specific. You can create value set that picks the LOV from the order types table for a specific OU, assign that to the segment2 and create a security rule. This rule will have include and exclude rules. You include all the Order types that are in a specific OU and assign that rule to the resp of that OU where move order is transacted. This will limit the LOV of the order types to only those that are availble for that resp. I have not tried this but give it a shot.
    Thanks
    Nagamohan

  • Love / Hate Relationship with Photoshop Elements

    I am having a love/hate relationship with Photoshop Elements!  Love the page design capabilities and hate the lack of capability on the print end.  Kodak does not give any choice in the book they will print from Elements.  All I can get is a #$%& die cut cover!  Is there anyway that I can order other options that I know Kodak has available when creating a book using Elements and their site.  I want to be able to choose a custom cover!  I have tried Kodak to get answers.  I have tried Adobe (impossible, unless maybe you pay).  Neither are very helpful!  The only answers I get are use the Elements designed pages and place them onto pages that you create in their software.  Problem is that one needs a jpeg file to do this.  No online program seems to recognize .PSD or .PSE file types.   HELP!
    Bob, Barbara you both seem to be very knowledgable...any ideas...
    Anyone with any help can answer here or [email protected]
    Terry

    Terry:
    Yeah, the photobook print options are limited. (Although, the built in Kodak and Shutterfly books are very nice)
    One thing to try differently is to use the Print At Home selection on that first screen after the clicking on the PhotoBook option (assuming you are using PSE8 here) (use Photo Collage with PSE7)
    Down that path, you will get a few more choices in page size. It will still create a multi-page document (a .pse) while your building your book, and when done, you can print the pages of the book out as a .pdf. Many book printing services will take in a PDF.
    Another option is to do a single page at a time and save them as .jpg's. A little more work in keeping your various files together and ordered properly, but it would give you ultimate flexibility.

  • Error in updating records brought by LOV

    Hi everybody
    I am using Oracle 10 g
    when fetching data from the database by choosing a specific record from LOV then trying to make "save" means "commit" I have this error
    FRM-40509: Oracle error: unable to update record
    I think there is a problem in mapping btw the record in the form and the cursor pointing to that record in the database because when i execute "next_recod" button after choosing one in LOV it go to the record next the one specified before choosing from LOV
    knowing that updating process working correctly when choosing by ("first_record, previous_record, next_record or last_record)
    so what is the solution
    please help
    thank you very much

    yes please
    I didn't know what do you mean by customized or default menu
    I build LOV using the wizard and bind it by a query to a table then make Show_LOV from the form
    so when I choose one of the rows and they brought to the text boxes assigend to them after that when I make "Commit" I got that error
    thank you for help
    and sorry for bieng late in reply, I don't have enternet after 2:00 pm

  • How to refresh page after selecting value from LOV item , in a tabular form

    Hi ,
    I have a tabular form, which contains 2 items(columns), of type "Select List - named LoV".
    Now, couple of issues here.
    1.
    2nd item(column) in tabular form, that LoV should get populated based user's selection value in first item LoV. So how do i refer to the value, that user selected in first item's LoV? I will have to use this reference in LoV query of my 2nd item ( on this tabular form)
    2.
    How can we refresh the page, when user selectes value in first item ( from LoV). As this is a tabular form, here item type is Select List, we dont have an option to pick item type as Select List with Submit. So problem is that when user selects value for item 1, refresh does not happen and item 2 LoV does not get populated as per user's selection in item 1.
    Please help here. Would be really appreciated.
    Thanks and Regards,
    Rave.

    Thanks Ben and Dan for your responses.
    Ben, your solution helped me with refresh of page, as page got submitted.
    This answers to my 2nd question. However, I still need to know first question, which basically is, how do i refer to the value, that user selected in first item LoV.
    Issue is, I selected the value in first item LoV, it got submitted and page fot refreshed. But after page refresh, first item LoV loses its value that I had selected last time. It does not retain the selected value after refresh.
    I have an unconditional process, that on every submit(refresh) of page, I set my items with their corresponding values. But problem is what do i mention there to refer to this item.
    I looked in view source of my page, this item is referred as f03.
    So i used "apex_application.g_f03", to set this item to its value, in my uncoditional submit process. But it did not work. I tried to refer this item as "f03" in this unconditional submit process. But still it did not help, the selected item loses its value after page refresh(submit).
    Any help here would be really appreciated. Please suggest how do we refer to this item's selected value.
    Thanks and Regards,
    Ravi.

  • Not Able to put LOV in search form fields

    Hi
    I created the search form using Bindvariables.In my application i am using only JSF,ADF BC,trindad components(In Mobile apps,we have to use only trinidad comp's).
    I want search fields as LOv's .
    In AppModule,under view,ExecuteWithParams i have bindvariables.while dragging them i selected the selectonechoice ,in Edit List Binding Window,for base datasource i am giving one VO,and for list Data Source i am giving different VO .
    everithing is fine.but when i click 'ok' Button,it is giving th efollowing error.
    The selected target attribute has read-only access.please select an updateable attribute
    what is the Wrong i am doing?
    PLease anyone help me in figuring out my problem?
    I want to make the search fields as LOV in search form.so that user no need to enter the data in to them.simply can select the value from LOVand find out the results .
    Sailaja.

    what actulay is the problem.. i triied it , this is working fine.
    I guess just in the lov you have made make both the fields updatable
    Edited by: Rohit Hoon on Apr 23, 2009 2:13 AM

Maybe you are looking for