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

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

  • Not able to see Query caused no records to be retrieved

    I have created a form in master detail relation ship.
    When there are no records form will give
    frm 40301 Query caused no records to be retrieved.
    Iam not getting this message
    Otherthan this everything is working fine.
    Can anyone help me in this.
    Thanks
    ,in advance

    see if this helps:
    Form's messages not appearing in status bar

  • Query Caused no record

    dear all
    I have database block with two list items.
    I am populating that list from record group. it is ok.
    one in country and second is city
    when i try to query record it is not.
    frm-40350 query caused no records to be retrieved
    frm-40301 query caused no records to be retrieved
    please guide me how to cover this issue.
    thanks.

    Hi,
    After entering data whether your storing the data into table.
    this is my gtalk id [email protected]
    Can you add it out,that would be better to help you out.
    Regards
    Sri

  • 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

  • Error message:FRM-12001: Cannot Create the record group(check your query)

    Requirement: Need to get employee name and number in the LOV in search criteria.
    So I created LOV "full_name" and Record group Query under Employee Name property palette with
    select papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name
    ,papf.employee_number
    from apps.per_all_people_f papf, apps.per_person_types ppt
    where sysdate between papf.effective_start_date and papf.effective_end_date AND papf.person_type_id=ppt.person_type_id AND ppt.system_person_type IN ('EMP', 'OTHER', 'CWK','EMP_APL')
    AND PPT.default_flag='Y' and papf.BUSINESS_GROUP_ID=1
    order by papf.full_name
    I was unable to save and getting error message "FRM-12001: Cannot Create the record group(check your query)".
    I cant use PER_ALL_PEOPLE_F.FULL_NAME since full name here is last_name||title||middle_names||firstname.
    But my requiremnet is papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name .
    Can any one of you help me.

    First, Magoo wrote:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">create or replace function emp_full_name ( p_title in varchar2,
    p_last_name in varchar2,
    p_first_name in varchar2,
    p_mid_names in varchar2 ) return varchar2 is
    begin
    for l_rec in ( select decode ( p_title, null, null, p_title || ' ' ) ||
    p_last_name || ', ' || p_first_name ||
    decode ( p_mid_names, null, null, ' ' || p_mid_names ) full_name
    from dual ) loop
    return ( l_rec.full_name );
    end loop;
    end;</font></pre>
    Magoo, you don't ever need to use Select from Dual. And the loop is completely unnecessary, since Dual always returns only one record. This would be much simpler:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">create or replace function emp_full_name
    ( p_title in varchar2,
    p_last_name in varchar2,
    p_first_name in varchar2,
    p_mid_names in varchar2 ) return varchar2 is
    begin
    Return ( Ltrim( Rtrim ( p_title
    ||' ' ||p_last_name
    ||', '||p_first_name
    ||' ' ||p_middle_names )));
    end;</font></pre>
    And second:
    user606106, you did not mention how you got your record group working. However, you DO have an issue with spaces. If you change this:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">select papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name
    ,papf.employee_number </font></pre>
    to this:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">select Ltrim(Rtrim(papf.title||' '||papf.last_name||', '
    ||papf.first_name||' '||papf.middle_names)) AS emp_full_name,
    papf.employee_number</font></pre>
    it should work. The Ltrim(Rtrim()) removes leading and trailing spaces from the resulting full name.

  • 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

  • FRM-40400: Transaction complete: 1 records applied and saved

    Dear All,
    Hope all of you are doing well,
    Pls go through my problem...
    here is an application developed based on Oracle Forms & Reports 6i.
    I wrote a code, like for some specific Users, various permissions.
    Ex: User A (Payroll Person), User B (HR)
    for employee Master Data HR is the right person to modify master data and all the remain are not permissible.
    I query one person (from Non HR user), try to modify Master Data  then it given user defined message -
    "you are not authorized person to modify Master Data" [OK] - so no changes done
    then I clicked the Query button directly,
    it gave the message - "Do you want to save the changes you have made"  [Yes] [No] [Cancel]
    when I clicked Yes :
    " FRM - 40400 : Transaction complete : 1 records applied and saved "
    In database also it is saving the record..
    Mean for unotherised user also It's modifying the data.
    Please help me the way to handle this issue..
    Thanks in Advance...

    As salamualikum, Md Sirajoddin
    You wrote
    I query one person (from Non HR user), try to modify Master Data  then it given user defined message -
    "you are not authorized person to modify Master Data" [OK] - so no changes done
    That means your code works in some condition. Right ?
    Place your code at Pre-Commit trigger at form level.
    Hope this helps
    Hamid

  • AQM query on Desktop recording

    Hi All
    I have a query regarding desktop recording
    My setup has:
    AQM : version 8.5.2
    UCCX :vesion 8.5
    cucm :version 8.5
    AQM is not integraded with the AD and as per i am aware of for desaktop recording we need to assign a windows login in the AQM administrator for every agent .
    Now in my case it is not integratewd with AD hence i can't use AD credential and if i use the Local windows mchine credential then i have to manually put is for every users which will cause issue during configuration.
    My question is
    1. Is there any other method i can do that without asking the user to share his/her windows machine credential,Is there a way so that i can create a common account in each machine say admin and give it a privelege for the desktop recording service and use the same common"admin" account in the AQM for every users.
    If this is not possible is there any other alternate way to do that .
    Regards
    RC

    Hi
    AQM needs to know the windows username of each user, as this is what ties the calls that are recorded back to a particular user when you are searching for calls etc.
    If you had the same account for each user, it would appear that all calls were made by the same agent... so no, it's not really possible. The desktop software also detects who is logging on to the PC console, so it's not a matter of changing the account the service runs as.
    You say you are not integrated to AD, but are you not using AD at all for your desktop PC logons?
    Aaron

  • Number for every record that is retrieved from (query)

    Hello
    I wish to put a number for every record that is retrieved
    from the record that is output by this query
    For example
    For the first recored/row
    Generated number, ksnumber, date
    1, gg111 11/05/05
    2, oo235 12/06/05
    the query returned 2 records 1 and 2 are the number that is
    generated with this code.
    In addition if there is a built in function, where in the
    code do I put it???
    <cfquery name="gelov datasource="kl90">
    SELECT
    FROM
    WHERE
    ORDER BY
    <cfswitch expression="#Form.orderBy#">
    <cfks value="KSNUMBER">
    KS.KS_NBR
    </cfks>
    <cfks value="CREATIONDATE">
    KS.KREATDAT
    </cfks>
    </cfswitch>
    </cfquery>
    <!---html report--->
    <cfswitch expression="#Form.outputFormat#">
    <cfks value="HTML">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Ctwye Kss Report</title>
    </head>
    <style type="text/css">
    table{
    font-family:Arial, Helvetica, sans-serif;
    font-size:10px;
    td{
    font-family:Arial, Helvetica, sans-serif;
    font-size:10px;
    th{
    font-family:Arial, Helvetica, sans-serif;
    font-size:10px;
    h2{
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    h3{
    font-family:Arial, Helvetica, sans-serif;
    font-size:13px;
    </style>
    <body>
    <cfoutput>
    <table border="0" cellpadding="3" cellspacing="0">
    <tr>
    <td align="center">
    <h3>Ctwye Kss
    Report</h3><br><br></td>
    </tr>
    <tr>
    <td align="center">
    </h2>report returned #getCtwyeKss.RecordCount#
    records</h2></td>
    </tr>
    <tr>
    <td>
    <table border="1" cellpadding="2" cellspacing="0">
    <tr>
    <td width="160">Ks Number</td>
    <td>Creation Date</td>
    <!--- <td class="dataField">Address</td>
    <td class="dataField">Type</td>
    <td class="dataField">Description</td>--->
    </tr>
    <cfloop query="getCtwyeKss">
    <tr bgcolor="<cfif currentrow mod
    2>GHOSTWHITE<cfelse>WHITE</cfif>">
    <td>#KS_NBR#</td>
    <td>#dateformat(KREATDAT,"mm/dd/yyyy")#</td>
    </tr>
    </cfloop>
    </table>
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>
    </cfoutput>
    </cfks>
    <cfks value="CSV">
    <CFHEADER NAME="Content-Disposition" VALUE="attachment;
    filename=ctwye.csv">
    <cfcontent type="application/msexcel">"Ks
    Number","Creation Date"
    <cfoutput
    query="getCtwyeKss">#ltrim(KS_NBR)#,"#dateformat(KREATDAT,"mm/dd/yyyy")#"
    <tr #IIF(getCtwyeKss.CurrentRow MOD
    2,DE(''),DE('backgroundColor="##999"'))#>
    <!---<tr bgcolor="<cfif currentrow mod
    2>##808080<cfelse>##ffffff</cfif>"> --->
    </cfoutput>
    </cfks>
    </cfswitch>

    <cfks> is not a Coldfusion tag. Use <cfcase>
    instead.
    The following code will print the row numbers
    <cfquery name="gelov" datasource="kl90">
    select ksnumber, date
    from yourTable
    </cfquery>
    <cfoutput query="gelov">
    #currentrow#, #ksnumber#, #date#<br>
    </cfoutput>

  • Finding the Text of SQL Query causing Full Table Scans

    Hi,
    does anyone have a sql script, that shows the complete sql text of queries that have caused a full table scan?
    Please also let me know as to how soon this script needs to be run, in the sense does it work only while the query is running or would it work once it completes (if so is there a valid duration, such as until next restart, etc.)
    Your help is appreciated.
    Thx,
    Mayuran

    Finding the Text of SQL Query Causing Full Table Scan

  • Using index in a query return few records than full table access

    Today we have an issue with a query, when it use the ok index the returned are not all records that apply to where clause condition.
    See bellow
    explain plan for
    select * from movdb.zan_m03 where
    M00AF = TO_DATE('11/01/28','YY/MM/DD') AND
    M00za = 10 AND
    m00AC = 50 AND
    M00AD between 136906 and 136999
    SELECT * FROM TABLE(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 1882720105
    | Id | Operation | Name |
    | 0 | SELECT STATEMENT | |
    | 1 | TABLE ACCESS BY INDEX ROWID| ZAN_M03 |
    |* 2 | INDEX RANGE SCAN | PK_ZAN_M03 |
    Predicate Information (identified by operation id):
    PLAN_TABLE_OUTPUT
    2 - access("M00AF"=TO_DATE('11/01/28','YY/MM/DD') AND "M00ZA"=10 AND
    "M00AC"=50 AND "M00AD">=136906 AND "M00AD"<=137141)
    filter("M00AD"<=137141 AND "M00AD">=136906)
    Note
    - rule based optimizer used (consider using cbo)
    20 rows selected.
    The query above return only one row insted 1579 record that apply to this conditions.
    When forcing a full table acess with a hint, the query return all records that apply, the 1579 record.
    select /*+ FULL(zan_m03) */ M00AF, M00za, m00AC , M00AD from movdb.zan_m03 where
    M00AF = TO_DATE('11/01/28','YY/MM/DD') AND
    M00za = 10 AND
    m00AC = 50 AND
    M00AD between 136906 and 137141
    Can you help me to identify what's happening?
    I am with Oracle 10g R2 10.2.0.4 standard edition
    the statistics are up to date
    the opitimizer_mode are rule, but altering in session level to all_rows happens the same issue.
    Nothing about corruption in the alert log.
    Thanks in advance
    Regards
    Cristiano

    Yes the query are the same and correct restriction for where clause are M00AD between 136906 and 137141.
    I've pasted, by mistake, another test query
    The corrects are:
    select M00AF, M00za, m00AC , M00AD from movdb.zan_m03 where
    M00AF = TO_DATE('11/01/28','YY/MM/DD') AND
    M00za = 10 AND
    m00AC = 50 AND
    M00AD between 136906 and 137141
    This use pk index and return one row
    select /*+ FULL(zan_m03) */ M00AF, M00za, m00AC , M00AD from movdb.zan_m03 where
    M00AF = TO_DATE('11/01/28','YY/MM/DD') AND
    M00za = 10 AND
    m00AC = 50 AND
    M00AD between 136906 and 137141
    This does a full table access and return 1579 records
    I´ve been searching for wrong results bugs on my oracle support, but not found one that mentions something like our issue.
    I checked the dba_tables and dba indexes and the number of rows are different, and I think this would be the same because it's is a pk.
    Look this
    SQL> select NUM_ROWS from dba_tables where table_name = 'ZAN_M03'
    2 /
    NUM_ROWS
    228527878
    select NUM_ROWS from dba_indexes where index_name = 'PK_ZAN_M03';
    SQL> select NUM_ROWS from dba_indexes where index_name = 'PK_ZAN_M03';
    NUM_ROWS
    217510185
    Is normal a index for pk having much fewer rows than table? I think not, but not sure.
    Again
    Thanks in advance
    Regards
    Cristiano

  • Query  for getting records  max  reported  timestamp and 2nd max report

    query for getting records in between
    max reported timestamp and 2nd max reported timestamp
    HERE IS ALL RESULT SET
    TIME DOMAIN
    30:jun:2006:20:08:45 TOMCAT
    30:jun:2006:20:08:45 TOMCAT
    30:jun:2006:20:07:04 TOMCAT
    30:jun:2006:20:07:04 TOMCAT
    30:jun:2006:20:07:24 TOMCAT
    30:jun:2006:20:07:24 TOMCAT
    30:jun:2006:20:07:45 TOMCAT
    30:jun:2006:20:07:45 TOMCAT
    30:jun:2006:20:08:05 TOMCAT
    30:jun:2006:20:07:04 TOMCAT
    30:jun:2006:20:08:05 TOMCAT
    PD_REPORTED_TIMESTAM PD_USER
    30:jun:2006:20:08:25 TOMCAT
    30:jun:2006:20:08:25 TOMCAT
    30:jun:2006:20:08:45 TOMCAT
    30:jun:2006:20:08:45 TOMCAT
    30:jun:2006:20:07:24 TOMCAT
    30:jun:2006:20:07:04 TOMCAT
    30:jun:2006:20:07:24 TOMCAT
    30:jun:2006:20:07:45 TOMCAT
    30:jun:2006:20:07:45 TOMCAT
    30:jun:2006:20:08:05 TOMCAT
    30:jun:2006:20:08:05 TOMCAT
    PD_REPORTED_TIMESTAM PD_USER
    30:jun:2006:20:08:25 TOMCAT
    30:jun:2006:20:08:25 TOMCAT
    QUERY RESULT TO COME
    TIME DOMAIN
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45
    Message was edited by:
    user517983

    Hi,
    can we write query like this.
    1 select pd_user,PD_REPORTED_TIMESTAMP
    2 from sp_process_detail_current spdc
    3 where host_id='DSCP02469'and pd_user='TOMCAT'
    4 and exists(
    5 select PD_REPORTED_TIMESTAMP from sp_process_detail_current
    6* having max(PD_REPORTED_TIMESTAMP)-spdc.PD_REPORTED_TIMESTAMP=0)
    SQL> /
    PD_USER PD_REPORTED_TIMESTAM
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45

  • How to get query from a record group

    HI
    do we get the query from which record groupis based on in oracle forms with out checking in to the properties.

    Hello,
    No, you cannot get the initial SELECT order from the Record Group.
    Francois

  • How to modify query  statement in record grp of LOV in standard form

    Hi,
    We are using Service contracts in Production environment.
    Duplicate rows selected for LOV query.
    By adding a line userenv('language') we solve the problem.
    But the coding was written inside the standard "OKSITMSL.pll". Here For the Field "NAME", LOV
    record group "CUST_SYSTEM" assigned dynamically based on
    other fields "ITEMSEL.FILTER = SYSTEM" and "ITEMSEL.CUSTOMER_FILTER = CUSTOMER".
    I have added piece of the details below.
    Form is Standard form "OKSITMSL", Which is calling om parent form "OKSAUDET".
    Form : OKSITMSL
    Block : ITEMSEL
    field : NAME
    pll : OKSITMSL.pll
    oksitmsl.pll coding-------------
    ELSIF NAME_IN('ITEMSEL.FILTER') = 'System' THEN
    If UPPER(Name_In('ITEMSEL.CUSTOMER_FILTER')) = 'CUSTOMER' then
    l_group_name := 'CUST_SYSTEM';
    Elsif UPPER(Name_In('ITEMSEL.CUSTOMER_FILTER')) = 'RELATED' then
    l_group_name := 'REL_CUST_SYSTEM';
    Elsif UPPER(Name_In('ITEMSEL.CUSTOMER_FILTER')) = 'BOTH' then
    l_group_name := 'BOTH_SYSTEM';
    Elsif UPPER(Name_In('ITEMSEL.CUSTOMER_FILTER')) = 'ALL' then
    l_group_name := 'OKS_SYSTEM';
    End If;
    Set_Lov_Property('ITEMSEL_LEVEL', GROUP_NAME, l_group_name);
    “CUST_SYSTEM” Record group present in “OKSITMSL” form.
    I need the advice how to solve my problem by adding a line in query of "CUST_SYSTEM" record group without touching/alter standard form.
    Thanks in advance.
    Navas

    thank you shadow,
    I think you mean like below:
    and trim(leading 0 from a.DD_DRX_BSID_NID) = nvl(trim(to_char(SUBSTR('00042',6,5),'XXXXXXXXX')),0)
    and trim(leading 0 from a.DD_DRX_BSID_BSC) = nvl(trim(to_char(SUBSTR('00042',11,5),'XXXXXXXXX')),0) ))But i think it compares with all 0's record ... but that's not correct
    Edited by: josh1612 on Dec 22, 2008 2:50 AM

Maybe you are looking for

  • Problem to open a file in a file server

    Hello everbody, I've a problem with Adobe Illustrator. When I want to open a file that is on a file server, I have to pass by the software (File - > Open) and to select the file that I wish to open. If I cross by the explorer Windows and what I try t

  • Photoshop, Illustrator, inDesign... cannot perform operation error code - anyone familiar?

    Whenever I'm using photoshop, illustrator, inDesign, it doesn't matter, when I go to open or place files I run into a message window that alerts it cannot perform this operation. So now what?  I have to launch the file external of photoshop, from the

  • Is it possible to add additional fonts when creating an iPhoto book?

    Is it possible to add additional fonts when creating an iPhoto book? I have some additional fonts that would add a lot to the overall appearance of my i Photo book but cannot find a method for installing them into iPhoto. Thanks for your assistance.

  • My options window will not open

    I opened my options to delete cookies and browsing history and mozilla crashed. When I re-opened and tried to do it again the options window will not open. I have re-opened browser windows several times and still nothing happens when I click on optio

  • Automatic Data Filter??

    Dear Friends I have Oracle 10g forms, and i would like to add an automatic filter on the fileds, so each time the user enters charcater the results must be filterd, like when you want to add new trigger in oracle forms for example when you type "W" a