Dynamically change LOV in oracle apps forms

Hi,
I have one requirement the Item LOV need to change based on the condition. If the condition is X then it use the X record group and attach to the LOV (This record groups is I have already created at design time). I can able to attache the record group to the LOV based on condition but if I click the LOV it not pop up in a window it is simply not working (no error).
If I enter some text in the Item and press Tab then the LOV window is pop up.
Can you please post your suggestion or solutions for this issue.
I am giving my sample code the below code I am using to attache the record group to the LOV.
Item level KEY-LISTVAL Trigger
     Set_ITEM_Property('XXRULES.P_RULE_VALUE',LOV_NAME,'ZIP_CODE');
     Set_ITEM_Property('XXRULES.P_RULE_VALUE',LOV_VALIDATION,PROPERTY_TRUE);
     Set_LOV_Property('ZIP_CODE',GROUP_NAME,'ZIP_CODE');

Set_ITEM_Property('XXRULES.P_RULE_VALUE',LOV_NAME,'ZIP_CODE');Set_ITEM_Property('XXRULES.P_RULE_VALUE',LOV_VALIDATION,PROPERTY_TRUE);
Set_LOV_Property('ZIP_CODE',GROUP_NAME,'ZIP_CODE'); Is this all of your code? If so, you are missing the call to Show_LOV(). Remember, Show_LOV() returns a boolean so you have to catch the return value.
DECLARE
   b_selected  BOOLEAN := FALSE;
BEGIN
   Set_ITEM_Property('XXRULES.P_RULE_VALUE',LOV_NAME,'ZIP_CODE');
   Set_ITEM_Property('XXRULES.P_RULE_VALUE',LOV_VALIDATION,PROPERTY_TRUE);
   Set_LOV_Property('ZIP_CODE',GROUP_NAME,'ZIP_CODE');
   b_selected := Show_LOV('ZIP_CODE');
END;Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • Adding a  value to an LOV in an Oracle apps form

    Hi Guys
    Im new to forms and customizations in apps as im sure will be apparent with the questions i have :-)I have a requirement to add a value to an LOV on a field in an oracle apps form.
    My question is
    1: How do i get the lov query?
    2: How do i edit an existing query.
    3: How can i solve this problem.
    Thanks

    Since you are working with the E-Business Suite, most likely the LOV is based on a Value Set. I strongly recommend you confer with a coworker for guidance on how to investigate an Oracle EBS Form. Value Sets are defined within the EBS setup screens and you have to be assigned to a responsibility that will allow you to modify and create Value Sets. I also strongly recommend you visit the Oracle Applications Documentation web site and review the Oracle Applications Developer's Guide and Oracle Applications User Interface Standards for Forms-Based Products for your particular version of the EBS.
    Also, the General EBS Discussion is the more appropriate forum to post this type of question.
    Hope this helps.
    Craig...

  • Reusing oracle apps forms

    Hi,
    Is there a way that we can add more functionality to an
    already existitng Oracle Apps form without remaking it from
    scrap?
    Please let me know.......
    TIA
    vamsi

    Yes, all of the fmb files are stored somewher in your APPL_TOP
    tree, I think. They're out there though. Keep in mind that
    there are specific recommended methods on changing the default
    functionality of a form. Oracle will also not support your
    modifications. There is a 5 day Oracle Education course that
    specifically details how to accomplish what you're trying to
    do. "11i Extend Oracle Applications: Forms", Class 14464.

  • :system.last_record in Oracle Apps Forms

    Hi all,
    My requirement is when I give order number in header level in Oracle Apps Form, i want the lines to be displayed in lines block.
    I have written the query and a cursor.
    The Query returns 6 lines when passing the Order Number.
    But when i use the following code in forms, the form returns only one line in the lines block.
    BEGIN
    first_record;
    for i in xx_cur
    loop
    :REQUEST.CUSTOMER_NUMBER := i.party_number;
    :REQUEST.CUSTOMER_NAME := i.party_name;
    If :system.last_record = 'TRUE'
    Then
    Exit;
    ELSE
    next_record;
    End if;
    end loop;
    END;
    If i use the above code only the first line gets displayed in the form.
    If i didnt use the system_last_record condition the 6 lines are displaying.
    --If :system.last_record = 'TRUE'
    --Then
    --Exit;
    --ELSE
    next_record;
    --End if;
    end loop;
    END;
    Y the :system.last_record is not working.
    Please help me to solve this issue.
    Thanks in Advance,
    Jegan

    i'm assuming this is a non-database block? if so, you don't need FIRST_RECORD and :SYSTEM.LAST_RECORD is always true ...
    try
    BEGIN
        FOR i IN xx_cur
        LOOP
            IF :request.customer_number IS NOT NULL THEN
               CREATE_RECORD;
            END IF;
            :request.customer_number := i.party_number;
            :request.customer_name := i.party_name;
        END LOOP;
    END;

  • How to display WHO columns in oracle apps form

    Hi all,
    I have WHO columns in the Table and i need to add in the existing form and i have WNI trigger (execute_query) and i am trying to add columns in the Existing Database Block
    After opening the Form(oracle apps form) i am not getting/populate any records on the Block
    Please help and please give me the steps
    Thanks

    Hi ,
    This community is to discuss Oracle Application Server specific issues, you can post this query in for better response:
    Forms
    Oracle Forms - EBS (MOSC)
    Regards,
    Prakash.

  • Why record had been unlock in Oracle Apps form?

    I have a problem with lock in oracle apps forms.
    The problem occurs with all forms in the Oracle Financials (forms with standard oracle apps user-exit), the problem does not occur with standard Oracle default form (outside of the oracle apps, form without user-exit included in Oracle Financials).
    For exemple, I will take the Define Lookups forms.
    If USER1 modify a record (ex. modify the date from), the record is locked, if USER2 try to update the same record in an other session, he will received an error message indicating that the record is locked and he will not be able to update it. This is normal.
    But ..., if USER1 WAIT 1 minute, and just press TAB to go to an other field (WITHOUT SAVING, WITHOUT DOING ANYTHING ELSE), the record is unlock.
    USER2 can modify the same record without having the locked message. This is the problem, USER2 should receive an error message because USER1 did not save the record yet but the message do not appear. At this moment USER2 lock the record. If USER1 press SAVE key, his session will be freeze until USER2 save the record.
    Why the record had been unlock for USER1 session?
    My Oracle Apps version is 11.5.5.
    Does somebody ever seen this problem ?
    Thanks.

    There are forums specifically for posing questions relating to EBS. I would recommend you ask your question there.

  • Oracle Apex to Oracle Apps Forms migration

    Is it possible to migrate a form exsisting in Oracle Apex to Oracle apps forms?If so pl tell me how this could be achieved.

    Hey men!!
    In my opinio in not posible because in oracle Apex you have another kind of programming, and in Oracle forms you others type of tools for example: triggers, I said isn'tr posible because there isn't a tool or an application that can help you in convert from Apex to Form, it's very extrange circumstance.
    This is posible but... you have to program, typing and all of anything for converting to Oracle Form if you don't want to do anything you have to pay someone for developing that ,
    in others words you have/must (to) start from the beginning,
    from zero.
    Unfortunately today there is not application that can let you do that.
    I hope this helps,
    Best Regards my buddy.

  • Java class in oracle apps forms

    java class in oracle apps forms
    We developed a java class and its running perfectly on local machine (Over the web through java applet ) But when we deployed it in apps and run with the client machine its not running .so please suggest where we put our java class files and how to run it in apps? Is there any API's .
    regards,
    krishna

    Hi user;
    What is your Client Operayting system, what is your browser?
    This error happens for one client or for all? Did you try to login from one other machine(for instance XP) and dif. browser version?
    Please check below which could be helpful for your issue:
    FRM-92101:
    Recommended Browsers for Oracle E-Business Suite Release 12 [ID 389422.1]
    FRM-92101: There Was a Failure in the Forms Server During Startup After Fresh R12 Installation [ID 429627.1]
    R12 fresh install FORMS DO NOT LAUNCH - FRM-92101/500 [ID 427714.1]
    FRM-92101: Forms Server oracle.forms.net.ConnectionException: Forms session <1> failed during startup: no response from runtime process [ID 880088.1]
    Also check:
    http://onlineappsdba.com/index.php/2009/06/15/frm-92101-with-internet-explorer-8-how-to-uninstall-ie8/
    Re: R12 database and JRE Issue
    Regard
    Helios

  • Converting D2K form to Oracle apps Form

    Hi,
    How to convert normal d2k form into oracle apps Form.
    Thanks & Regards,
    Jayakumar

    Hi nvpjai
    u need 2 ask ur question there in General EBS Discussion
    Hope this helps...
    Regards,
    Amatu Allah

  • Oracle Apps Forms errors out with FRM-40735 while running from Oracle D2K

    Hi
    Will anybody please provide me a solution on Oracle Apps Forms which errors out with FRM-40735 while running from Oracle D2K
    Regards
    Nakul Venkataraman

    Hello,
    certain trigger in your form is throwing an exception and its not being catched by the exception part for your block. check the code of your trigger and pur exception handling into your trigger code

  • Oracle Apps Forms Re-usability

    Hi,
    Is there a way that we can add more functionality to an
    already existitng Oracle Apps form without remaking it from
    scrap?
    Please let me know.......
    TIA
    vamsi

    If you do not want to modify and existing form but want to add functionality to the existing form and can not use
    descriptive flexfields to add new functionality, you could use the custom.pll to accomplish this. Depending on
    how many enhancements you will be adding using this method, you could impact performance across the
    board due to the fact that the all forms execute the custom.pll to look for custom code. To find more information
    about the custom.pll review the developers guide.( Oracle Applications Developer's Guide A75545-02)
    Hop that helps.

  • Default value of combobox using dynamic LOV in Oracle Portal form

    We are trying to specify the deafult value of a combobox on a form that derives it options from a dynamic LOV. The option value is a number and the display is text.
    E.g.
    <Option value="1">Books
    <Option value="2">CDs
    We have tried various ways of setting the default option to be selected on the Combobox. First, we tried using a sql query to return a number from a table (sql query returns number -> in the default value type field). Next, we tried to use a constant number (default value: 2, default value type: constant). In neither case, did the Oracle Portal form pre-select our default choice in the drop-down list.
    Any suggestions? I browsed the other forum articles on this topic and noticed several folks believed it was a bug in Portal. We are using Portal version 3.0.9 (latest App Server for the Ebusiness Suite). Thanks in advance.

    You can manually add the select list (or for that matter anything else) to a wizard created form. If the select list is for an existing item, simply change the "Display As" setting from Text to a Select List based on the LOV you create. Any changes made will then be applied by the update process.
    cheers,
    Ron

  • Need practice material for Oracle Apps forms, reports and workflow

    Hi,
    I want to design new form using Forms Developer 6i/Template.fmb, report using reports developer 9i and new Workflow using WF builder by changing the subscription of the currently defined event in Oracle or totally creating new event and its subscriptions. I want to do all the above from scratch and upto Oracle Apps standards. I have vision instance here.
    Can I get practicing/training material any where in web to download like tutorial or practice lessons. I heard Oracle training centres material is very good for learning. Can I get it or any other material for the above practice.
    Please let me know.
    Thank you

    I heard Oracle training centres material is very good for learning. Can I get it You can get this material by attending a class in OU. Sharing this material in prohibited for obvious reasons.
    or any other material for the above practice.In addition to the link posted by Sami, you may refer to:
    Oracle Apps 11i
    http://www.exforsys.com/tutorials/oracle-apps/

  • Not to display Yes/No/Cancel message window, while closing Oracle Apps Form

    Hello All,
    I have a requirement,where we need to avoid displaying Yes/No/Cancel message window when trying to save the changes in Oracle Applications Form.
    Please do let me know how to achive this.
    Thanks a lot in Advance.

    Hi Ramesh,
    Thanks for the Update.
    I have used the below code in KEY-EXIT
    CLEAR_FORM(NO_VALIDATE);
    EXIT_FORM;
    Also the code behind the button which submits the conc.program:
    DECLARE
    l_request_id NUMBER;
    vRESP_APPL_ID number;
    vRESP_ID number;
    vUSER_ID number;
    BEGIN
    --vRESP_APPL_ID := apps.FND_PROFILE.VALUE('RESP_APPL_ID');
    --vRESP_ID := apps.FND_PROFILE.VALUE('RESP_ID');
    --vUSER_ID := apps.FND_PROFILE.VALUE('USER_ID');
    --apps.FND_GLOBAL.APPS_INITIALIZE(vUSER_ID,vRESP_ID,vRESP_APPL_ID);
    apps.FND_GLOBAL.APPS_INITIALIZE(2340,20420,1);
    l_request_id := FND_REQUEST.SUBMIT_REQUEST ('XXAHS',
              'XXAHSRPDSR',
         null,
                        sysdate,
                        FALSE,
                        '|020|080|031|161|030|100|131|',
                        '11-JAN-10',
                        '|41|42|43|45|',
    insert into temp_amk values(15);
    commit;
    message('request id:'||l_request_id);
    exception
    when others then
    message(sqlerrm);
    end;
    This code worked fine, in case I ran from SQL Prompt.
    Please let me know what must be missing.
    Thanks.

  • Dynamically changing LOV whenever another item changes

    I have two items on a page that are implemented as select lists based on LOVs, product and product category. The query for the product category lov references the product item. However, changes made to the product item are not reflected in the list of values for the product category item. As I understand, javascript is needed to make the LOV for product category dynamically change whenever the product item changes. Can somebody point me to documentation which details how to do this. Thanks for your help.

    See this and some other examples on that topic:
    http://apex.oracle.com/pls/otn/f?p=31517:119
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

Maybe you are looking for