Problum in results

Hi friends i have to query in reports9i
Query 1.
SELECT g.id as challan,g.issue_date,gd.item_type,g.sale_order_id,g.supplier_name,g.prod_name,g.colour,g.xs,g.s,g.m,g.l,g.xl,g.pcs,g.issue_for FROM
gin g,gin_detail gd
where g.id = gd.id
and g.id = :p_id;
Query 2.
SELECT rownum,id,name,issue_qty,unit FROM
item,gin_detail
WHERE item.code = gin_detail.item_code AND
id =:challan;
i have two two repeating frames and set the field
Query1 as master and Query 2 as detail
and the result is ok on reports when i call through forms it will not show the desired result
second query is not showing any result
thanks
vikas singhal

And how did you link your queries together? If the second query doesn't return any data, did you try to run the same query in SQL*Plus?

Similar Messages

  • PROBLUM IN RESULT OF IF ELSE

    Hi all i have table and data like this
    sale_order_id  QTY     item_type
    12554          58     DYEING
    12554          30     CUTTING
    12554          58     PRINTINGAND MY CODE IS LIKE THIS
    DECLARE
         a_qty NUMBER;
         a_sale_order_no VARCHAR2(100);
         a_item_type VARCHAR2(100);
      CURSOR gin_c IS SELECT gd1.sale_order_id,SUM(nvl(gd1.s,0)+nvl(gd1.xs,0)+nvl(gd1.m,0)
                                                  +nvl(gd1.l,0)+nvl(gd1.xl,0)+nvl(gd1.pcs,0)) qty,gin.item_type
                    FROM gin,gin_detail1 gd1
                    WHERE gin.id=gd1.id and sale_order_id=:sale_order_no
                    GROUP BY gd1.sale_order_id, gin.item_type;
    BEGIN
         open gin_c;
         LOOP
         fetch gin_c INTO a_sale_order_no,a_qty,a_item_type;
         IF a_qty IS NULL THEN
              :item6:='NOT_PROCESSED';
         ELSIF a_qty<>:item and UPPER(a_item_type)=UPPER('dyeing') THEN
              :item6:='PROCESS In DYE';
         ELSIF a_qty<>:item and UPPER(a_item_type)=UPPER('CUTTING') THEN
              :item6:='PROCESS In CUTTING';
      ELSIF a_qty<>:item and a_item_type='PRINTING' THEN
              :item6:='PROCESS In PRI';
         ELSE
              :item6:='dddddd';
         END IF;
              EXIT when gin_c%NOTFOUND;
         END LOOP;
         CLOSE gin_c;
    end;:item6 get the value dddddd but as per my table data the result must be 'PROCESS In CUTTING.
    Please Guide
    Thanks And Regards
    Vikas

    a_qty:item and UPPER(a_item_type)=UPPERWhat exactly is this condition testing for? I get the and UPPER(a_item_type)=UPPER..., but what does IF a_qty:item checking? Does this code compile? I'm not familiar with this notation. Your first check is to ensure a_qty is not null. Do you care what the quantity is if it is not null? I believe this might be where your bug is because you are simply checking that a_qty:item is TRUE (it has a value) and the item type matches a condition. If a_qty simply has to have a value, you could simplify your code. For example:
    DECLARE
       CURSOR gin_c IS
          SELECT gd1.sale_order_id
                 ,SUM(nvl(gd1.s,0)+nvl(gd1.xs,0)+nvl(gd1.m,0)
                     +nvl(gd1.l,0)+nvl(gd1.xl,0)+nvl(gd1.pcs,0)) qty
                 ,gin.item_type
            FROM gin,gin_detail1 gd1
           WHERE gin.id=gd1.id and sale_order_id=:sale_order_no
           GROUP BY gd1.sale_order_id, gin.item_type;
    BEGIN
       FOR rec IN gin_c LOOP
          IF ( rec.qty IS NULL ) THEN
             :item6:='NOT_PROCESSED';
          ELSIF ( rec.qty = 'something' AND UPPER(rec.item_type) = 'DYEING' ) THEN
             :item6:='PROCESS In DYE';
          ELSIF ( rec.qty = 'something' AND UPPER(rec.item_type) = 'CUTTING' ) THEN
             :item6:='PROCESS In CUTTING';
          ELSIF ( rec.qty = 'something' AND UPPER(rec.item_type) = 'PRINTING' ) THEN
             :item6:='PROCESS In PRI';
          ELSE
             :item6:='dddddd';
          END IF;
       END LOOP;
    END;Craig...

  • How urgent:how can we know the size of a record from result set

    hi proffesionals i attend on problum with arrangment,for that what i am doing is i am fetching datas from database and printing in a row vertically.it is not looking good.i want to print it horizontaly like
    ae00023 as3333 a6556 a457864 a6576
    ae00025 as3336 a6556 a457866 a6578
    i wrote the coding like
    <%while(resultsetdisplay.next())
    {%>
    // try to print the datas in horizontal way
    <tr>
         for (int i=index;i<resultsetdisplay.getFetchSize()-10;i--)
    <td class=display><%=resultsetdisplay.getObject(4)%></td>
              int i=index;
    </tr>
    <%}%>
    is it prints horizontaly.
    help me soon

    Hi
    You can the Meta Data for the result set and then get the getColumnCount() from the MataData to get the number of columns in the resultset.
    Bye

  • Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    You can seach the net for solutions like this one http://appletvvpn.com/how-to-connect-apple-tv-2-to-vpn/ another idea is to use a PC as the control and fit that with a wireless card and set up a ad hoc wireless network that the Apple TV uses. 

  • Refresh of Data in Xcelsius from Web Intelligence Results

    Hello,
    I am new to the forum but not to Business Objects/Xcelsius.  I attended the SAP Sapphire Event last May and spent time in the Business Objects lab.  Two Product Managers demonstrated how I would be able to refresh the data in an Xcelsius dashboard using Live Office by retreiving results from a Webi document without refreshing the Webi query. 
    For example, my Webi document contains 100,000 result rows.  I want to be able to select a dropdown in my dashboard and have Live Office retreive only a subset of the 100,000 rows.  This being done without having the Webi query being refreshed from the database.  The Webi query would be refreshed nightly.
    The Product Managers advised that this functionality would be available in Service Pack 3 or before.  As of now I cannot find out how to make this work.  Any help or information would be appreciated.  Thanks.

    Hello Charles,
    WebIntelligence Input Controls are a way to enhance and customize user experience with report filters, they are therefore based on report filters and the feature is more focused on user interface & experience rather than exposition outside web intelligence.
    Anyway, AFAIK, report filters are not available from Live Office report parts, you can only filter content with prompts, which requires the document to be refresh from the database, which has a direct impact on performance and scalability for consumers.
    However, if you are with WebIntelligence XI 3.1 SP2 you have the alternative to publish from WebI Rich Client, report elements (any table or chart) as web services (called BI Services).
    This tool is based on Qaaws technology, and share some of its features (main being that is uses the same Xcelsius Data Manager connection), it exposes a large part of WebI interactions to external consumers (esp. Xcelsius) : report filters, drill, prompts.
    Besides this tool provides a set of call input parameters to tune web service consumption for best performance and scalability, enabling to leverage WebI document management features like scehduling, publishing and refresh, so consumers can balance performance with real-time data.
    More information is available from WebIntelligence Rich Client user documentation from section sharing webi content with other web applications.
    I recommend you install the latest fix pack (SP2.5 and above), as some initial fixes were required to ensure full compatibility with Xcelsius.
    Hope that helps,
    David.

  • When i login to yahoo, my first click results in the spinning wheel. Could i have a virus Or why does it only happen when i login to yahoo?

    When i login to yahoo, my first click results in the spinning wheel. Could i have a virus? Or why does it only happen when i login to yahoo?

    Firefox allows to select part of a word. You can select a word with a double click and use Shift + left click to set the end of the selection, so you need to click at the end of the last word instead of in it.

  • Sales Analysis Report - Items -- blank result

    Hi,
    I'm testing a setup and running the sales analysis report. It works for the Customer version but I get no results when running on Items.
    I'm on SBO 2007A SP01 PL07. There are open and closed invoices for inventory items; no credit memos have been posted. All Item type invoices.
    When I run by Customer, I get the correct data - open and closed invoices for that customer.
    When I run by Items, I get no results. The date range is the same for both reports.
    When I run the purchase analysis on Items, I get data for the same items I am trying to see in the sales analysis.
    Any ideas what could be causing this?
    Thank you,
    Heather

    HI Gordon,
    I left the default settings: 
    - Annual Report, Invoices, Individual Display, No Totals
    - Posting Date:  whole fiscal year
    - Main selection:  left blank/default (group = all, no properties)
    I have double/triple/quadruple-check even the Secondary SElection to make sure there's nothing there.
    I have also run it on Due Date instead of Posting Date, still no results (if run on Items).
    As I mentioned, the selection criteria is what I want but for some reason that one version, Items, does not work. The other 2 tabs work with the same selection.
    Heather

  • BW Web Report Issue - Result set too large

    Hi,
    When I execute a BEx Query on Web I am getting “Result set too large ; data retrieval restricted by configuration (maximum = 500000 cells)”.
    Following to my search in SDN I understood we can remove this restriction either across the BW system globally or for a specific query at WAD template.
    In my 7x Web template I am trying to increase default max no of rows parameters, As per the below inputs from SAP Note: 1127156.
    But I can’t find parameter “Size Restriction for Result Sets” for any of the web items (Analysis/Web Template properties/Data Provider properties)….in the WAD Web template
    Please advise where/how can I locate the properites
    Instructions provided in SAP Note…
    The following steps describe how to change the "safety belt" for Query Views:
    1. Use the context menu Properties / Data Provider in a BEx Web Application to maintain the "safety belt" for a Query View.
    2. Choose the register "Size Restriction for Result Sets".
    3. Choose an entry from the dropdown box to specify the maximum number of cells for the result set.
                  The following values are available:
    o Maximum Number
    o Default Number
    o Custom-Defined Number
                  Behind "Maximum Number" and "Default Number" you can find the current numbers defined in the customizing table RSADMIN (see below).
    4. Save the Query View and use it in another Web Template.
    Thanks in advance

    Hi Yasemin,
    Thanks for all help...i was off couple of days.
    To activate it I can suggest to create a dummy template, add your query in it, add a menu bar component add an action to save the query view. Then you run the template and change the size restriction for result set then you can save it by the menu.
    Can you please elaborate on the solution provided,I created dummy template with analysis and Menu bar item...i couldn't able to configure menu bar item...
    Thanks in advance

  • IR: aggregation result in report footer

    Hello!
    This quote from "Beginning Oracle Application Express 4.2" at page 174 (about aggregation in IR):
    "The results are displayed at the end of the report."
    There is a simple method to print the results of aggregation to the report footer on each page?

    I asked - and I answered
    For making this I create on-Demand process for calculation results of aggregation (using APEX_IR_PKG) and make ajax request to him in "After Refresh" event of IR.
    There is the detailed manual with sample http://devsonia.ru/2013/11/14/oracle-apex-aggregation-in-interactive-report-on-each-page-en/.

  • TS2518 Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the

    Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the library. I have tried every thing. I updated the other libr but now it will not open the main to update. What do I do?

    Try starting Aperture with the command and option keys held down.  You'll get 3 options.
    Try each, starting at the top, in order, checking after each to see if it fixes the issue.

  • How can i display the result of java class in InputText ?

    Hi all,
    How can i get the result of java class to InputText Or OutputText ???
    also can every one in the forum give me road map for dealing with java in oracle adf because i'm beginner in oracle adf
    i saw some samples in oracle adf corner but it's difficult for me.

    User,
    Always mention your JDev version, technologies used and clear usecase description (read through this announcement : https://forums.oracle.com/forums/ann.jspa?annID=56)
    How can i get the result of java class to InputText Or OutputText ???Can you elaborate on your requirement? Do you mean the return value of a method in a class as output text? Or an attribute in your class (bean?) as text field?
    -Arun

  • How can I use ONE Text search iView to event/affect mutliple Result Sets?

    hello everyone,
    i have a special situation in which i have 6 flat tables in my repository which all have a common field called Location ID (which is a lookup flat to the Locations table).
    i am trying to build a page with a free-form text search iView on Table #1 (search field = Location ID).  when I execute the search, the result set for Table #1 is properly updated, but how do I also get Result Set iViews for Tables #2-6 to also react to the event from Text Search for Table #1 so that they are updated?
    i don't want to have to build 6 different text search iViews (one for each table).  i just want to use ONE text search iView for all the different result set tables.  but, in the documentation and iView properties, the text search iView doesn't have any eventing.
    if you have any suggestions, please help.
    many thanks in advance,
    mm

    hello Donna,
    that should not be a problem, since you are detailw with result sets and detail iviews because custom eventing can be defined for those iviews.
    Yes, it says "no records" found because an active search and record selection havent' been performed for it (only your main table does).
    So, yes, define a custom event, and pass the appropriate parameters and you should be fine.
    Creating a custom event between a Result Set iView and an Item Details iView is easy and works. I have done it.
    See page 35 of the Portal Content Development Guide for a step-by-step example, which is what I used.
    For my particular situation, the problem I'm having is that I want the Search Text iView's event (i.e., when the Submit button is pressed) to be published to multiple iViews, all with different tables.  Those tables all share some common fields, which is what the Search iView has, so I'd like to pass the search critera to all of the iViews.
    -mm

  • ITunes Match Unable To Get Past "Waiting for Apple to deliver your iTunes Match results..."

    Been trying for days but it just gets to "Waiting for Apple to deliver your iTunes Match results..." and then stops and allows me to press the Start button again to start the match process.  Sometimes I get error -3231.
    I've called Apple and they want $19 to solve the issue even though I paid the $25 for Match.
    I've turned iTunes Match off.  Turned Genius off.  Logged out of my iTunes account.  Quit iTunes.  Restarted. Logged back into iTunes account.  Turn Genius on.  Turn iTunes Match back on and let it go through the process again with no success.
    My library has a couple hundred songs less than the 25,000 max but it is pretty large.  Had the same issue when I tried with a smaller library some time ago.  I've created a new library and have the same issue.

    Hi,
    You should consider rebooting your internet router
    Then try holding option key whilst turning off match. Close iTunes and then reopen. Turn on iTunes Match and select add this computer.
    Jim

  • How to get the results in one line

    Hi
    if i use the script below i get the name of path and then : and in next line i get the results.is there a way to get the results from every path after the : and not in the next line?
    another question - is there a way that the script will not show the server name on every path?
    (Get-Counter -ListSet LogicalDisk).PathsWithInstances | Get-Counter
    THC

    If you take you script and pipe it to get member, it will give you a list of various script properties.
    (Get-Counter -ListSet LogicalDisk).PathsWithInstances | Get-Counter | get-member
    You will see that the object type returned by "Get-Counter" is Microsoft.PowerShell.Commands.GetCounter.PerformanceCounterSampleSet.
    TypeName:
    Microsoft.PowerShell.Commands.GetCounter.PerformanceCounterSampleSet
    Name MemberType Definition
    Equals Method bool Equals(System.Object obj)
    GetHashCode Method int GetHashCode()
    GetType Method type GetType()
    ToString Method string ToString()
    CounterSamples Property Microsoft.PowerShell.Commands.GetCounter.Perfo...
    Timestamp Property datetime Timestamp {get;set;}
    Readings ScriptProperty System.Object Readings {get=$strPaths = ""...
    You can try grabbing different properties, and they will print out differently, displaying the data on the same line in some cases. For example, pipe your output to a "foreach-object" block, and then for each object print out the CounterSamples property.
    (Get-Counter -ListSet LogicalDisk).PathsWithInstances | Get-Counter | foreach-object { ($_).CounterSamples }
    This should all print on one line now. However, you also asked if there was a way to not have the server print out on every line. The way to control the format of these outputs is to use the "format-table" cmdlet. So you would pipe your output to format-table
    and then give it various options. This is how you would pipe it (without any options).
    (Get-Counter -ListSet LogicalDisk).PathsWithInstances |
    Get-Counter | object { ($_).CounterSamples | format-table }#OR USE YOUR ORIGINAL CODE(Get-Counter -ListSet LogicalDisk).PathsWithInstances |
    Get-Counter | format-table }
    Now, it's up to you to give format-table the options you want. With no options, output will look unchanged. To see what options are available to you, use get-help.
    get-help format-table
    I hope this helps!
    Thank for all the info...

  • My iPod touch is stuck in landscape view.  Even when held vertically if I open facebook or safari is rotates to landscape.  Have tried turning on and off, same results. Any ideas to fix?

    My iPod touch is stuck in landscape view.  Even when held vertically if I open facebook or safari is rotates to landscape.  Have tried turning on and off, same results. Any ideas to fix?

    Try switching it back from landscape to vertical. Or, go to settings and see if you have any special setting turned on that enable only landscape view. Also, try hooking it up to your computer and charging it to see what happens.

Maybe you are looking for

  • APEX 3.1.2 spellcheck URI Too Long Problem

    Hello, My customer is using the APEX 3.1.2 spell checking functionality. It seem like there is a limitation with the size for the textarea for spell checking and we get a "URI Too Long" error when the size is larger than 1840 for IE and 7900 for Fire

  • Broadcast quality output

    I've just spent hours chroma keying and I want to be sure of the quality of my output. As this is going to television, it needs to be broadcast quality. I'm I correct in assuming that I should output it as a quicktime movie and not use quicktime conv

  • Problème iTunes match étape 3

    J'ai vu que je ne suis pas le seul à être bloqué à cette étape 3 mais c'est rageant. Il me reste un peu moins de 2000 titres à télécharger et ça bloque à tous les coups après 4 à 40 titres. Des idées...?

  • Can not recive message nokia n73 ( Very Urgent )

    i have nokia n73 , i am facing this problem "sometimes" when someone send me a message , i will recive it after long time (in one case i recive it after 10 hours and now soemone send me a message from about 1.5 hour but i did not recive it yet), even

  • "emails to all names in a group"

    When I try to email all the names in a group I've created in my contacts, it will only take the first 3 names in the group.  Is there something else I need to do.  I have 50 names in this group I would like to email all at once.