Problem in Changing the Query of LOV using Forms Personalisation

Hi all,
I have a problem while trying to change the LOV of job field in the people--> assignment form. I am trying to do through forms personalisation. I defined all the rquired fields:
Following are the description of fields Idescribed in the form Personalisation:
Trigger Event: WHEN-NEW-FORM-INSTANCE
in actions tab:
10-- Built In--Create Record Group With Query
11-Property----LOV
Target Object--JOBS
Property Name--GROUP_NAME
vALUE--jobs(rECORD gROUP NAME created above)
It is validated successfully,
but when trying to open the form it is giving an error 'cannot create record group jobs'..
Can anybody help me with this..
Thanks and Regards
Raj

I found that there is no problem with code. My problem is not technical, its a functional problem.
It is related to Inventory's "System Items" KFF.
Can anybody tell me, to this "System Items" KFF, one value set is assigned. but it is of none type of value set. so from where the values in LOV are coming?

Similar Messages

  • Problem while changing the query of the field in Oracle apps 11.5.10

    Hello All,
    Requirement:
    User want to change the query of the LOV attached to Ordered item field on Line items tab on the Sales order form in Order managment
    Block name = 'LINE'
    Field name = 'ORDERED_ITEM_DSP'
    LOV attached to this field in FMB: ITEMS
    LOV attached to this field in front end: ENABLE_LIST_LAMP
    Problem: Following code is firing at all points (Debug messages are appearing at all points) but Query of the LOV attached to item is still same.
    How can in FMB LOV is "ITEMS" and in front end "ENABLE_LIST_LAMP"
    My guess is there is some problem with the LOV name which we are passing in the code below. Because LOV name attached to item are different in front end and FMB. There is no LOV in FMB which has “SYSTEM ITEMS Description” kind of structure.
    I have written following code in custom.pll (l_chr_rg_query is query taken from the record group attached to “ITEMS” named LOV with some modifications ex: rownum<6 so that it will show only 6 records in LOV if it is really firing our query for LOV)
    IF ( form_name = ‘OEXOEORD’
    AND block_name = ‘LINE’
    AND field_name = ‘ORDERED_ITEM_DSP’
    AND event_name = ‘WHEN-NEW-ITEM-INSTANCE’
    THEN
    MESSAGE (‘message1’);
    l_chr_rg_name := ‘XXLION_UNIFORM_CODE_RG’;
    l_chr_rg_query :=
    ‘SELECT item, item_id, item_description, inventory_item_id,item_identifier_type,null           item_identifier_type_meaning, ‘
    || ‘inventory_item, address, cust_address, item_definition_level ‘
    || ‘FROM oe_return_items_v ‘
    || ‘WHERE (sold_to_org_id = :parameter.lov_num_param1 OR sold_to_org_id IS NULL)’
    || ‘ and rownum < 6 ORDER BY item’;
    MESSAGE (‘message2’);
    l_rg_id := FIND_GROUP (l_chr_rg_name);
    MESSAGE (‘message3’);
    IF ID_NULL (l_rg_id)
    THEN
    MESSAGE (‘Creating record group here’);
    l_rg_id :=
    CREATE_GROUP_FROM_QUERY (l_chr_rg_name, l_chr_rg_query);
    END IF;
    errcode := POPULATE_GROUP (l_rg_id);
    MESSAGE (‘ERROCODE is : ‘ || errcode);
    L_lov_id := FIND_LOV (‘ITEMS’); --My guess is this LOV name is the source of problem.
    MESSAGE ('Error code is4');
    SET_LOV_PROPERTY (l_lov_id, group_name, l_rg_id);
    MESSAGE ('Error code is5');
    SET_ITEM_PROPERTY ('LINE.ORDERED_ITEM_DSP', lov_name, 'ITEMS');
    END IF;

    I found that there is no problem with code. My problem is not technical, its a functional problem.
    It is related to Inventory's "System Items" KFF.
    Can anybody tell me, to this "System Items" KFF, one value set is assigned. but it is of none type of value set. so from where the values in LOV are coming?

  • Problem to change the master page height using javascript

    Hi everyone,
    I've been trying it but no luck... appreciate any helps possible.. Thanks!
    I've a masterpage called 'UILayout':
    Long(Height)=100mm, Short(Width)=100mm
    I've a button click event with the script to set the Long to 160mm:
    ====================================
    //display current height
    var curHeight = xfa.form.form1.pageSet.UILayout.medium["long"];
    xfa.host.messageBox("Current Height = " + curHeight);
    //set height to 160mm
    xfa.form.form1.pageSet.UILayout.medium["long"]="160mm";
    //relayout the pageArea
    xfa.layout.relayoutPageArea(0);
    ====================================
    Doesn't work, I wrote another button click event to retrieve the height, and it returned 160mm. But the layout just doesn't refresh with the changed height....i'm using LC Designer 8.2, form saved as Dynamic XML PDF , compability set to 7.0.5, view in Acrobat Pro 7.1. Thanks...

    I do not think you will be able to adjust the Master page size as it is tied to the Content Area size as well. I tried to adjust the pageisze and the content size but it was ignored. I can get at the properties to change them but that is it.

  • Programmatically change the query used to generate Oracle Reports

    I have two queries. Depending on some parameter value, I would like to use one of these queries to generate my report. Is it possible to programmatically change the SQL query used to generate the Oracle Report.
    Thanks

    There are two options:
    - The easy way
    In the report paper layout create two frames, one for each query , and at runtime
    display only one based on your parameters. (using format triggers on the frames)
    - the not so easy way (but more elegant)
    create the query at runtime using xml customizations using the examples from
    the following documentation:
    http://download-
    uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_xml.htm#i1006734
    16.3 Creating XML Data Models
    16.4.1.3 Applying an XML Report Definition in PL/SQL
    16.4.1.3.2 Applying an XML Definition Stored in Memory
    Regards and Good Luck
    Ionut S

  • Changing the query on a view object

    I have a view object right now, based on an entity. It is the default view object, so that means the query in the view object is straight forward, it grabs all of the attributes from the table. And there is no WHERE clause.
    In reality I only want to show a finite set of rows from my table. Every time a record is changed/edited in this entity and committed, a new row in the database is created with the same information (I'm using CreateWithParams) except for a few columns.
    I actually don't really have update on this table, just creation of new rows. But to the user, I want it to 'look' like they are editing something in the table.
    Example:
    12, 11:32,Thompson, 60 (the user edits this information in an adf table, and a new row is created in the db)
    12, 11:55, Thompson, 75
    I have a timestamp (see above) field in the database that is used as part of my primary key, so that I know which record is the latest.
    When the VO query is run, I want the user to only see the latest row from the db.
    12, 11:55, Thompson, 75
    So...
    I went to my VO, and I changed the WHERE query to add this:
    where t1.TimeStamp = (Select MAX(t2.TimeStamp) FROM rcl.x t2 where t1.uid = t2.uid);
    Now, this isn't a mysql/sql question. There's actually a better query that I'd rather run, but the VO editor doesn't allow me to change the query itself....
    When I save the new WHERE to my VO, run my page again, I get the expected result (showing me only the latest records).
    However, when I try and sort on the table in which my data is displayed, I am now getting ORDER BY errors.
    I don't want my VO to be read-only sql based. I want to be able to update my table, so I have my VO running off of the entity.
    Why doesn't the VO allow me to change the query itself? (Like do a subquery, instead of having my where clause do the work)
    Why are order by errors being thrown when I sort on my adf table after changing the where clause in my view?
    Hopefully I wasn't too convoluted in the explanation of my problem..
    Thanks in advance,
    Joel

    HI Joe,
    Regarding your problem you can do one of the following tasks:
    1- easily to tuning on your view object, I mean in the tuning page of the view you can set that only return 1 record or 2-3 record fetch not all the record.
    in the order by you will order by the timestamp field and descending.
    2- you can order by the timestamp descending and in the where clause only set the rownum<2 (will return the last record) you can also set rownum<5 and get the 4 last record etc.
    3-editing the view query in the expert mode is not advised at all because of many consequences that you will face.
    4- maybe it is not bat that you add a readonly view for the table you mentioned and every time you unpdate the entity just re-execute the read-only view.( this method maybe is good maybe is not it depends on your business logic)
    Regards.
    Edited by: Amir Khanof on Sep 3, 2010 11:11 PM

  • JPA/Toplink changes the query logic

    Hi,
    Iam currently using JPA with Toplink implementation , i guess that toplink has its own way of optimizing the provided JPA query ; on another words , toplink sometimes changes the way you are using joins and exists statement to what looks optimized , but unfor. this caused me troubles tracking a query that should work on a certain way but its not cause the generated query by Toplink ( can be captured on the log ) does not represent the same logic , is this a known issue or do i have to write my JPA query on a way on which can be translated correctly by toplink , i know i should provide the query it self , but the model structure is too complex.
    Thanks in advance

    Hello,
    JPQL does not directly translate to SQL, so there might be some differences in what you may be expecting due to JPA requirements on the results that are returned. If there is a problem with specific queries, please let us know and file a bug if it is not behaving the way it should. A workaround would be to use a native SQL query directly.
    Best Regards,
    Chris

  • Multi Provider Changes - The Query cannot be executed

    Hello,
    I added a new characteristic to an existing multiprovider on which queries already exist.
    I changed one of the existing queries adding that newly added characteristic.
    Now the query cannot be executed. Please see the log...
    I could successfully execute the query in RSRT....
    Diagnosis
    Characteristic 0BILL_TYPE is used in the Query Designer, but was deleted from the InfoProvider.
    System response
    The query cannot be executed.
    Procedure
    Characteristic 0BILL_TYPE is used in the query to be executed even though it was deleted from the InfoProvider. The problem can be solved by changing the query in the Query Designer. Here, you get a repair proposal, which removes the missing InfoObject from the query. Afterwards, check whether or not the query was defined correctly.
    You can also delete the query.
    Additional technical information:
    IOBJNM = 0BILL_TYPE
    ELTUID = Sell-In Qty
    ELTTP = SEL
      Notification Number BRAIN 407 
    Close 
    Any siggestions of how to adjust the multiprovider.
    Thanks,
    Vish

    The check in query designer says that query is correct.
    Only when I try to execute using the web it says that Char doesn't exist in infocube.
    The query works fine in Analyzer & RSRT....I guess something got to do with the Browser or web..
    Thanks,
    Vish

  • Can you change the Bitrate when you use the "Compressor" High Quality...?

    I am having problems with the amount of video in DVD SP and I think I need to lower the bitrate when I compress out of FCP. Can you change the Bitrate when you use the "Compressor" High Quality setting?
    Thanks,
    Stone

    Can you change the Bitrate when you use the "Compressor" High Quality setting?
    Yes. Duplicate the preset, then customize it all you want.
    -DH

  • Error when trying to change the Query in Bex??

    Hi Gurus,
    I have a query based on infocube. When I am trying to change the query, its giving me the error "This component was edited with a more recent version of Editor. You also have to use the more recent version to edit further. Further processing not possible. Update your front end".
    Please help with this.

    Hi, I am actually stuck here. Can you please let me know which among these is the higher version.
    1) Final Release 3.50
       Version 3500.3.016
    2) Final Release 3.50
        Version (Revision 481)
    Because it is working fine in the 1st one whereas its throwing that error pop-up in 2nd one(as soon as we select the Change query global definition option) .

  • How to change the query of detailVO,

    Hi,
    I have 2 VOs, say HeaderVO and LinesVO, these VOs are used to create a view link - HeaderToLinesVL - HeaderVO is Master VO and LinesVO is DetailVO. These VOs and VL are used in HGrid. Depending on the search criteria entered by user I have to change the query of HeaderVO and LinesVO. I am able to change query of HeaderVO using setQuery, but when setQuery used on LinesVO, it is throwing an exception saying Query can't be changed because it is detail VO. Is there any other way to change the query. Or any other idea to implement this functionality.
    Thanks
    Shaneed

    Hi,
    I have 2 VOs, say HeaderVO and LinesVO, these VOs are used to create a view link - HeaderToLinesVL - HeaderVO is Master VO and LinesVO is DetailVO. These VOs and VL are used in HGrid. Depending on the search criteria entered by user I have to change the query of HeaderVO and LinesVO. I am able to change query of HeaderVO using setQuery, but when setQuery used on LinesVO, it is throwing an exception saying Query can't be changed because it is detail VO. Is there any other way to change the query. Or any other idea to implement this functionality.
    Thanks
    Shaneed

  • I live in Mexico but when I went to USA I opened an account there. I still have 0.04 usd on my iTunes account and i can't change the region until I use those 0.04 usd, how i can do it

    I live in Mexico but when I went to USA I opened an account there. I still have 0.04 usd on my iTunes account and i can't change the region until I use those 0.04 usd, how i can do it

    Contact iTunes support & request they clear the balance:
    http://www.apple.com/support/itunes/

  • Precautions to be taken while changing the Query read mode in PED system

    Dear Experts,
    I got a task to change the Query Read mode for more No. of queries in Production system directly itself.
    Request you to let me what are the steps to be followed/precautions to be taken while changing the Query Read mode in PED.
    one more doubt regarding this.....If i plan to change the Read mode of Query say Q1, how can i come to know weather the Q1 is executing or not executing by that time.
    Thanks in advance for valuable response.
    Thanks & Regards,
    Ramesh - Kumar

    Hello,
    You can change the query read mode in transaction 'RSRT', here are the steps:
    1) Access transaction RSRT and enter the query name
    2) Select the 'Properties' option
    3) Un-check the 'Info provider' setting next to the 'Read mode' --> This enables you to change the read mode of the query --> Execute
    4) Choose the option 'Generate Report' to re-generate the query program
    Hope this info helps.
    Thanks
    Bala

  • No question, I just wanna say thanks to the person who discovered how to change the correct dns to use FaceTime. The 8.8.8.8. Really work. Genius. Thanks again.

    No question, I just wanna say thanks to the person who discovered how to change the correct dns to use FaceTime. The 8.8.8.8. Really work. Genius. Thanks again.

    solved

  • How do I change the default email software used when clicking on a link?

    When I click on a link to email a page to someone, it defaults to outlook which is not my default email software. How do I change this?

    Change the '''Action''' for '''''mailto''''' in the Applications tab of Options.
    [http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox]

  • How to change the management agent to use new management service ?

    RDBMS Version:: 10.2.0.3
    Operating System and Version:: AIX 5L
    OEM Console Operating System and Version:: AIX 5L
    Configuring the Management Agent to Use a New Management Service
    Hi,
    I am trying to change the management agent to use new management service using following process.
    1. Stop management agent.
    2. Change in file Agent_home/sysman/config/emd.properties
    For values REPOSITORY_URL and emdWalletSrcUrl and emdWalletDest
    3. Delete all the files in the following directories:
    AGENT_HOME/sysman/emd/upload/
    AGENT_HOME/sysman/emd/state/
    4. Start the management agent.
    ./emctl status agent is showing the new URL for management server (OMS).
    But I am not able to locate the new host on the Web console at the OEM console where it is changed to.
    Can you suggest me workaround for the same?
    Thanks
    Dilipkumar Patel

    Hi,
    I am getting following error when trying to upload.
    tb152 /appl/oracle/oem/10.2.0/bin> ./emctl upload agent
    Oracle Enterprise Manager 10g Release 10.2.0.1.0.
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
    tb152 /appl/oracle/oem/10.2.0/bin>
    Regards
    Dilipkumar Patel.

Maybe you are looking for