CG$STARTUP_MODE='AUTO QUERY'  and  FRM-40350

Hello
In a machine SUN with Form Builder 6.0.8.12 and Oracle
Enterprise Edition 8.1.7 the forms generated from Designer
doesn't execute the autoquery (using Ofgnavl.pll). In other
environments (NT or Linux), the same forms and the same
Ofgnavl.pll execute correctly.
During the execution I receive the message FRM-40350 unless
there are data that answer to the query required
Some ideas?
Thanks

I got this error once when I generated a ReadOnly form. This was a result of the fact that the CG$STARTUP_MODE parameter is not generated: this is a Designer bug.
A workaround for this bug is supressing the 47023 error message with qms$forms_errors.add_suppress_message.
regards,
Harm van Zoest

Similar Messages

  • FRM 40350: Query Caused no records to be retrieved in INVTVTXN

    Dear All,
    When Trying to View the Material Distributions for the Transaction Type Sales Order Issue. I am unable to get the accounting entries for the Transaction. On selecting the form the error shows :
    FRM 40350: Query Caused no records to be retrieved
    Please help
    Thanks
    Dinesh

    Ensure that the cost manager is running (Inventory -> Setup -> Transactions -> InterfaceManager )...and ensure that you are giving the correct date range.
    normally you should be able to see distributions as Inv valuation Cr and Deferred Cost of Goods Sold Dr ...
    Some times Cost Manager shows as Active but it does not process transaction records, take help from your system administrator/ DBA to get cost manager restarted.
    Thanks,
    Hrishikesh

  • FRM-40350: Query caused no records to be retrieved

    hi
    apps--12.0.6 os--IBM AIX on POWER Systems (64-bit)
    When trying to find service request (e.g. 33599) throws a FORMS note: “FRM-40350: Query caused no records to be retrieved”. This is happening in FORMS.
    Regards

    When trying to find service request (e.g. 33599) throws a FORMS note: “FRM-40350: Query caused no records to be retrieved”. This is happening in FORMS.Some Service Requests Are Not Accessable - Error FRM-40350 [ID 602803.1]
    Service Requests Cannot Be Retrieved When Using Folders - Error FRM-40350 [ID 744321.1]
    How To Research An Item That Errors FRM-40350 And Cannot Be Queried In The Master Or Organization Items Form [ID 413104.1
    Unable To Access Upgraded Service Request In the CSXSRISR Form [ID 462543.1]
    R12: Cost Management Drilldown Throws ORA-01403: No data found [ID 782062.1]
    FRM-92100 Error in The Workbench Tab After Find For A Service Request [ID 458115.1]
    "Frm-40301: Query Caused No Records To Be Retrieved. Re-Enter" While Querying Some SRs In Create Service Request Form [ID 1324909.1]
    Thanks,
    Hussein

  • Passing a default value to the master block and do the auto query

    Hi
    My problem is i have a MD FORM to which i have to pass a default value and do an auto query so that when i run the form the form should open with this default value and do the query and get the details.
    I tried many things like trying to set the value of the column using p_session.set_value and then calling the same form using wwa_app_module_link by using the value in the condition but every time unless i press the query button i did not get the values.
    Now i don't know what to do.
    My portal version is 3.0.7.6.2
    Some body please help me
    thanks
    Sreedhar

    I don't think this works for 3 parameters, but I know it will work for 1. Maybe you can do something with it.
    1. Create a link to the destination component (YourProvider.YourLink)
    2. Use the code below to use that link to pass the value of a form field to the destination component. 'FieldName' is the field on the destination component you want to query, and '_FieldName_cond' is the condition. This creates the destination URL.
    3. wwa_app_module.set_target(l_url) will send you to the URL you generated.
    l_url := PORTAL.wwv_user_utilities.get_url('YourProvider.YourLink', 'FieldName', v_YourParameterValue, '_FieldName_cond', '=');
    portal.wwa_app_module.set_target(l_url);
    I'm not the best at this, but this works for me in most cases.

  • Results from query are not shown (FRM-40350)

    When I do a query on a form I get the message FRM-40350 Query caused no records to be retrieved. But when I use count query there are records fetched..
    I would like to know what can be causing this.
    I am using Designer 2.1.2 with Headstart 2.1.2.

    Dear Prakash,
    you have saved our day!!
    That was exactly to step needed to bring the key figures into the query.
    Why is this not documented anywhere?
    Thank you very much,
    Mathias

  • Auto Query Form on Page not working

    Hi,
    I created a simple form portlet and want to autoquery it on a certain record. I added this code to "Before displaying the page" :
    p_session.set_value(p_block_name => 'DEFAULT',
    p_attribute_name => 'A_STC_SAMPLINK',
    p_value => 620352);
    p_session.set_value(p_block_name => 'DEFAULT',
    p_attribute_name => '_CALLED_FROM_LINK',
    p_value => 'STC_SAMPLINK');
    PORTAL.wwa_api_module_event.do_event('DEFAULT', 'QUERY_BOTTOM', 1, 'ON_CLICK', True, '', p_session);
    This performs the query but i see this first record of my table, while it should show the record with STC_SAMPLINK = 620352. When I remove the do_event statement, i can see the field filled in correctly and when pressing the query-button manually, it does show the record with STC_SAMPLINK = 620352.
    What am I doing wrong?
    Using Application Server 10.1.2.0.2 on HP-UX

    I just discovered that it does work using p_session.set_shadow_value (with extra p_language parameter). Does this mean that note 316158.1 on metalink (based on Auto Query Form on Page is no longer valid for 10g ?

  • Auto-Refresh and Order By for view accessors

    Hi,
    We have set auto-refresh to true on a VO(LovVO) in shared AM and used the same to create an lov in another VO. Now if we have Order By in LovVO then we get the exception:
    ORA-29983: Unsupported query for Continuous Query Notification
    This is because of the Order By clause. When i remove the order by then there is no error. But we need the data to be ordered. So I have added the below code LovVOImpl.java executeQueryForCollection method:
    if(this.getSortBy() == null){
    this.setSortBy("Name");
    super.executeQueryForCollection(object, object2, i);
    and this is working fine. Is there any other declarative solution for this scenario?
    I tried setting the order by in the view accessor but that also appends to the sql query and throws the above error.
    Thanks
    Thiru

    Please see http://download.oracle.com/docs/cd/E11882_01/appdev.112/e17125/adfns_cqn.htm#CHDGEBFH. Look like OREDER By is supported only in Best-Effort mode.
    When you call .setSortBy("Name"), it happens in memory not part of SQL, apparently that works

  • Custom Search Portlet: How to specify a page in the auto query?

    I want to specify a page in an auto query (Automatically display search results).
    I'm able to specify a pagegroup (Tab What to Search), but unable to select a specific page and to include/exclude subpages.
    This option is available on the SearchForm Tab. We are running 9.0.4.

    A similar question was asked in this discussion:
    Custom Search Portlet
    A Portal Search Team member replied that this feature might be included in 9.0.4.
    We are testing 9.0.4 and it's not available. When is feature this scheduled?

  • Auto Query Form on Page

    Hi,
    I'd like to have a form on a page and when the user navigates to that page I'd like the form to pick up a session variable and put it in a field on the form and run a query. So effectively auto querying a form.
    I've seen it done before but cant seem to find it again.
    I think that it was done by putting some PL/SQL in the 'before displaying the page' area of the additional PL/SQL section. The code would load the session, get the value, set the field value and somehow make it run a query. doQuery doesn't work here.
    Any help with this would be great.
    Thaks,
    Michelle

    I have a similar problem. In particular:
    There is a private form (named MOD_ANAGRAFE_DITTA) based on a database table. The URL to
    run this form is
    https://portal.websanity.it/pls/portal/PORTAL.wwa_app_module.new_instance?p_moduleid=6994683181.
    There is also a page from which the MOD_ANAGRAFE_DITTA form is called. To do this, a URL element was added to the page in whi
    ch the above url was specified.
    Based on some of the OID attributes of the user who connects to the page, when the user runs the form, the form would have to show only the record that satisfies those attributes.
    To do this the following code was entered in the 'BEFORE DISPLAY PAGE' section of the FORMs Wizard:
    declare
    scopo varchar2(50);
    user varchar2(200) := portal.wwctx_api.get_user;
    BEGIN
    select attrvalue into scopo
    from ods.ct_scope
    where entryid in (select entryid
    from ods.ct_uid
    where attrvalue=lower(user));
    p_session.set_value(p_block_name => 'DEFAULT',
    p_attribute_name => 'A_ID',
    p_value => to_number(substr(scopo,1,1)));
    p_session.set_value(p_block_name => 'DEFAULT',
    p_attribute_name => 'A_SEDE',
    p_value => substr(scopo,5));
    p_session.set_value(p_block_name => 'DEFAULT',
    p_attribute_name => '_CALLED_FROM_LINK',
    p_value => 'SEDE');
    PORTAL.wwa_api_module_event.do_event
    ('DEFAULT','QUERY_BOTTOM',1,'ON_CLICK',True,'',p_session);
    END;
    where scope is the OID attribute of user; ID and SEDE are the two table columns must to be filtered
    The code to auto-query a form doesn't work as it should. The form shows all the table records. .
    Perhaps the attribute used to do the query is not a session variable?
    How can this be resolved?

  • LOV always auto-querying on second use

    Hi,
    I have an LOV with about 220,000 rows, so for obvious reasons, I've turned auto-query off (users must enter search criteria to use the LOV). This works great the first time someone populates a field in a multi-row table from the LOV, but the next time they use it, the LOV auto-queries all 220,000 rows. Am I doing something wrong? Is this a bug, and if so, is there a workaround?
    Thanks much,
    Avrom

    Avrom,
    We have fixed this for the upcoming release. You can apply a similar fix by creating a custom subclass of JhsDataAction for the Lov struts action, with the following code in it:
    public void onQuickSearch(DataActionContext daContext)
    HttpServletRequest request = daContext.getHttpServletRequest();
    if ("true".equals(request.getAttribute(LOV_CHECK_FIND_MODE)))
    return;
    super.onQuickSearch(daContext);
    Steven Davelaar,
    JHeadstart Team

  • Auto query LOV when window pop's up

    Hi,
    I have external LOV and I'm trying to auto query all raws when user opens LOV window.
    The thing is that user is too lazy to put % in criteria item and since its in Advanced table I can't initialize value there.
    Any idea?
    I putted this in my lov CO ProcessREquest
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObjectImpl vo = (OAViewObjectImpl)am.findViewObject("otItemsVO1");
    vo.executeQuery();
    but it is not working.
    I do not know why

    Hi.
    Thank you for your help.
    I tried your code and here is the result.
    the first time that I open the LOV printed query is the one below
    select distinct pll.inventory_item_id,
    pll.item_description,
    pll.list_price,
    lv.lookup_code
    from qp_price_list_lines_V pll,
    fnd_lookup_values lv
    where pll.price_list_id = lv.attribute5
    and lv.lookup_type = 'XXA_ASN_QT_TYPES'
    order by pll.item_description asc
    the second time I open the LOV the query is this one with bind variables
    SELECT * FROM (select distinct pll.inventory_item_id,
    pll.item_description,
    pll.list_price,
    lv.lookup_code
    from qp_price_list_lines_V pll,
    fnd_lookup_values lv
    where pll.price_list_id = lv.attribute5
    and lv.lookup_type = 'XXA_ASN_QT_TYPES'
    order by pll.item_description asc) QRSLT WHERE (( UPPER(LOOKUP_CODE) = :1 AND (LOOKUP_CODE like :2 OR LOOKUP_CODE like :3 OR LOOKUP_CODE like :4 OR LOOKUP_CODE like :5)))
    none of times I got the result queried.
    this is my LOV
    <oa:listOfValues version="10.1.3_1086" xml:lang="en-US" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:jrad="http://xmlns.oracle.com/jrad" xmlns:ui="http://xmlns.oracle.com/uix/ui" xmlns:user="http://xmlns.oracle.com/jrad/user" xmlns="http://xmlns.oracle.com/jrad" file-version="$Header$" amDefName="oracle.apps.xxa.qt.lov.server.qtLovAM" postDefault="false" controllerClass="oracle.apps.xxa.qt.lov.webui.qtOTItemsLOVCO">
    <ui:contents>
    <oa:table id="ssItemsTAB" serverUnvalidated="false" name="qtOTItemsLOV" blockSize="100">
    <ui:contents>
    <oa:formValue id="InventoryItemId" dataType="NUMBER" prompt="InventoryItemId" viewName="otItemsVO1" viewAttr="InventoryItemId"/>
    <oa:messageStyledText id="ItemDescription" dataType="VARCHAR2" prompt="Servicio" viewName="otItemsVO1" viewAttr="ItemDescription" maximumLength="240" queryable="true"/>
    <oa:messageStyledText id="ListPrice" dataType="NUMBER" prompt="Precio" viewName="otItemsVO1" viewAttr="ListPrice"/>
    <oa:messageStyledText id="qtType" viewName="otItemsVO1" viewAttr="LookupCode" selectiveSearchCriteria="false" rendered="false"/>
    </ui:contents>
    </oa:table>
    </ui:contents>
    </oa:listOfValues>
    and this part is my mapping
    <oa:messageLovInput id="itemDescription" externalListOfValues="/oracle/apps/xxa/qt/lov/webui/qtOTItemsLOV" viewAttr="Description" unvalidated="false" translatableDefaultValue="%">
    <lovMappings>
    <lovMap id="lovMap1" lovItem="InventoryItemId" resultTo="inventoryItemId"/>
    <lovMap id="lovMap2" lovItem="ItemDescription" resultTo="itemDescription"/>
    <lovMap id="lovMap3" lovItem="ListPrice" resultTo="grossAmount"/>
    <lovMap id="lovMap4" lovItem="ListPrice" resultTo="grossAmountDsp"/>
    <lovMap id="lovMap5" lovItem="ListPrice" resultTo="netAmount" useForValidation="no"/>
    <lovMap id="lovMap6" lovItem="qtType" requiredForLOV="true" criteriaFrom="Qttypecode"/>
    </lovMappings>
    </oa:messageLovInput>
    :(

  • Querying problem - FRM-41009 :Function Keys not allowed.. DIFFERENT!!

    amazin place ..this is... learned a lot from this place when it comes to developing oracle forms.... just such a lot of support... the issue at hand... yes
    the problem im facing is when im querying in my form.. it keeps giving me the FRM-41009 error. however it does execute the query and even i can find records by entering a value, so it really doesnt affect the functionality of the system. but the problem is this, if i search for something non-existent, then the error gets displayed in its pretty little box smack in the middle of the screen.. ruins the entire thing... and then at the bottom i see the 'query didnt return anythin' message.
    im extending an existing system which is not documented and everything is all compiled and stuff and im using some of their libraries.
    im sure somewhere there is a little bit of code that is disabling function keys.. but i dont seem to understand why must that be affected by a little button on my control bar and basically i just need to get rid of the darned message..
    so is there a workaround this???
    experts of the forums .... HELP!!!
    cheers

    thanks for the quick response prashant and greg..
    it works now..
    ok.. but is it also possible to make an error/message to appear?
    for example now, my 'query didnt match anything' message is displayed at the bottom.. id like to have it come in a window in the middle of the screen
    Message was edited by:
    Pradeep Shanmugham

  • In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    The query is re-issued as a flashback query and the client process can continue to fetch from the cursor. This is described in the Net Services Administrators Guide, the section on Transparent Application Failover.

  • What is the diff b/w logical query and physical query?

    Thanks In advance

    In OBIEE terms the logical query is how you query the BI Server, the Presentation services sends logical SQL to the BI Server, you can also write your own using JDBC , pull from BI Server using ODI etc.
    The BI Server engine takes this logical query and writes (a number of) phyiscal querie(s) to satisfy the logical request, depeninding on how your BMM and Physical layer is setup. There are a number of rules the BI Server evaluates before deciding the most appropriate Physical query to generate, rules include Physical Joins, Aggregate tales / Hierarchy levels and so on.
    Hope this helps,
    Good luck with interview :-)
    Alastair

  • I purchased an itrip Auto Pilot and require an app to use it according to my device I was setting up to play music in my car speakers.  I cannot find an app for this in the itunes store.  Help

    I purchased an ITrip Auto Pilot and when attempting to use it to play music from my Iphone through my car speakers, I was promptedd to get an app from the itunes store to enable it to work.  I went to the itunes store and searched for an app and could not find one.  Can anyone tell me the app I need and where to get it for this itrip auto pilot made by Griffin?  It is supposedd to enable my iphone and ipod to play on my FM radio in my car.

    You should go to the web site for the iTrip product and see what app it is, I'll bet there's a link there that will take you right to the app.  Don't worry, as you get more stuff it'll be easier to figure it all out, eventually it'll be plain old common sense that solves these types of issues for you

Maybe you are looking for

  • RIM ripping off everyone outside of US (pretty much)

    I am a ridiculously loyal Blackberry user. For a short while (two weeks) I defected to the iPhone, but quickly realized it was mistake and came straight back. I did buy an iPad when they came out, but I actually prefer my Playbook so the iPad is gath

  • JMS cluster configuration problem

    Problem description: I have a OC4J cluster with two OC4J instances (referred to as I1 and I2) each having their own JMS Server (referred to JMS1 and JMS2). For certain messaging scenarios (not all) it is necessary that I1 puts a message on a queue of

  • Constantly have to reinstall latest flash player

    I have a pain-in-the-***-problem! I'm running the latest Internet Explorer (IE8) and the latest flash player (on a Vista(32) platform). Everytime my computer has been turned off, I have to reinstall flash player eventhough it's activated, enabled, ru

  • Documentation on SyndicatorBatch

    I am going to set up batch syndications. For this i would like to: - define which map (saved syndication) I will use - define what to syndicate (based on a search) - the file I want to syndicate to I can not find any documentation for this. I guess I

  • Websphere 5.0 & JDBC : LocalTransaction rolled-back due to setRollbackOnly.

    Hello, I'm using WAS 5.0 & Oracle. I'm getting following error. Resource cp_fcatretail_user_A1 rolled back in cleanup of unresolved LocalTransactionContainment. LocalTranCoor E WLTC0032E: One or more resources rolled back. An unresolved LocalTransact