Accurate OM booked orders report

My objective is to develop a Booked Orders Report in Discoverer and I'm pretty new to Discoverer 10g.
My logic to property display the records is -- for each order in OM that header status is booked, determine if ANY lines are still open by looking at the Open Flag and if any line is still open, display all lines associated with that order.
example: SO# 100 has 4 lines where line 1 is open awaiting shipping (open_flag = 'Yes') and other 3 are closed (open_flag = 'No').
maybe I'm going about this the long way so if you know a cleaner way, please share....
The best logic in discoverer that I can come up with (based on the various line status fields) is that I can build a new calculation called l_open_flag that is setup as CASE WHEN "Order Lines".Open Flag = 'Yes' THEN '1' ELSE '0' and when I run the discoverer report, the l_open_flag is working and returning 1 or 0 as expected for each line.
The next step is to setup a second calculation to sum the l_open_flag called sum_l_open_flag and add a second non-display parameter to display any order where header level status is 'booked' and the sum_l_open_flag > 0.
the problem is that when I try to sum l_open_flag discoverer throws up a warning that I'm combining detail data point and an aggregated data point -- which I agree.
After adding the new condition to include orders where sum_l_open_flag > 0, I still only get just the one line item out of the 4 lines on the order that is still open.
Hope this is clear like oracle and thanks,
Rob

Hi rob,
From your example i understood is if open_flag=Yes it is open and when No then it is closed.Your going in the right path by taking the case as you mentioned.
But why are you taking the second condition sum(l_open_flag).definately it will throw warning.Why do you need this condition?Can you be clearer
I sugest you take a second calculation as calculation2=l_open_flag>0,this suggests that when you are giving zero(0) it says that you want all closed sales orders.
Anything more can you give more explanation.
Best Wishes,
Kranthi.

Similar Messages

  • Low budget image proofing for iPhoto book order

    Hello!
    I want to prepare my photos the best I can for iPhoto book ordering (Christmas present for family).
    I have a Dell U2711 attached to a Mac Mini running OS X 10.6.8 and iPhoto '11 9.2.1. and a Canon Selphy CP520 dye sub printer which I thought to use as a precheck of what my JPG sRGB images would look like when printed in a book.
    Here's my headache:
    If I set up the monitor and calibrate the display profile as suggested in post #1 under this thread then such setup makes me color correct the photos by RADICALLY pushing the midtone slider in the levels adjustments to the left (brightening the picture). Prints that come out of the Selphy under this setup are a perfect match to what I see on the monitor and that is wonderful. However, I hesitate to order a book using such images because they appear far too bright on an iMac for example. (Perhaps I should mention that Google logo in Safari looks like its on steroids in this setup).
    On the other hand, if I set up the monitor as it came from factory (PC gamma, standard preset), and use the default DELL U2711 display profile in SystemPreferences, then pictures look relatively ok on screen without any radical color correction. But prints that come out of Selphy with this setup don't match what is on the display, prints are too dark, and again I hesitate to order a book with such images.
    Any suggestions?
    Thanks.
    Mato

    Yes - don't try so hard and use your Mac and iPhoto - not a PC
    iPhoto is designed as a consumre level program for point and shoot comeras - many people (including me) report excellent results using it that way - load sRGB photos form a digital camera and do minimal processing on them - never do major color adjustments - using iPhoto - preview rthe book -
    Before ordering your book preview it using this method - http://support.apple.com/kb/HT1040 - and save the resulting PDF for reference - the delivered book will match it.
    and order
    Apples comments on this are here
    Of the negative comments posted here nearly all of them were from people who spend lots of time and energy adjusting photos trying to second guess the printing process and failing to do so - Apple does have an unconditional sastisfaction guarentee - do it the simple way - less is more in this case
    LN

  • Iphoto book order cancelled - Totally dissatisfying customer service

    This message to alert you that Apple might cancel your iPhoto book order for no reason !
    This is what just happened to me, leaving me in a totally dissatisfying and frustrating situation, as I did everything to have this book in time for Christmas, had to go through over an hour on the helpline with Customer Services, whose agents are badly informed on the solutions that they can offer you when such mistakes happen ---
    I ordered an iphoto book on December 14, in order to have it in time for Christmas.
    Nothing was reported wrong or erroneous when I placed the order and uploaded the book. Two days later, Apple cancelled my order without any notification sent to me. I have only learned about it on December 21, worried that my book had not arrived yet. I checked online about my order status, which then said "order cancelled". No explanation why. I waited for Monday December 23 in order to be able to talk from someone at Customer Services. I was then told that my order had been cancelled because one picture and text was overlapping, but they could not tell me exactly which one. It was then suggested to me that I should replace the same order and call back so that they could accelerate the process.
    I placed the order and sent the exact same book to Apple again and then called back. Another assistant from Customer Services advised me that there was nothing they could do in order to accelerate the printing and delivery process. All they COULD HAVE offered me was 15% discount, which the first assistant did not mention and which now was too late for me to benefit from since I had already placed the order. Also, I was told that my exact same order did not produce any issue for printing, so that the first cancellation was in fact made without any reason.
    This leaves me with the following situation: Although I have placed my first order in time for it to arrive before Christmas, I end up with no Christmas present, over an hour lost on the phone with customer services, no discount, no accelerated printing or delivery process or any other gesture in order for my infuriating situation to be less so, and a photo book that will arrive in early January when I will have already left my family to work abroad again.
    I am entirely dissatisfied with the quality of the Apple iphoto book service and Apple customer services. I have not obtained any help or remedy from your customer services although several mistakes had been made on their side.
    You are well advised to consider alternatives before spending hours on creating an iphoto book...

    Anne, that is really outragious. And I cannot understand why the support did nothing to rectify their mistake and help you to get your book printed in time.The support teams at the Print Products Stores probably will not read these these Forums, these are user-to-user discussions. So, to make Apple listen to your justified complaint, use the feedback form.
    http://www.apple.com/feedback/iphoto.html

  • Iphoto Book ordering problems

    After 3 weeks of constant attempts I feel I need to see if anyone out there has a thought on why I receive a return email from my book order "Problems with your order - you have not been charged etc etc"
    I have done everything possible from deleting photos, trying EVERY theme, deleting maps, background photos. I have corresponded by email with the Apple help, and I have spent about an hour at the Genius Bar at Apple to see if anyone can solve my problem. Everyone has comeback with "we don't know"
    I work with a MacBook Pro Mac OS X 10.6.4, have plenty of memory, all software is up to date.
    I am just about to reinitialise my hard disk, install iLife 11 and make the book again, as I can see no other way to try to get this book ordered. Hopefully, oh every so hopefully this will solve my problem.
    Any guru help?

    Since yesterday there have been many reports from all over the world of people unable to buy a book or any print products from Apple.
    Apple has to fix this on the servers.
    See for example this link:  Re: Trying to buy book I created. When I hit "checkout" nothing happens. It's not like Apple to not want to make more m…

  • Purchase Order Report

    When Iam trying to take Purchase Order report,
    Fields in PO Report are as follows:
    Posting date, Purchase Order number,Vendor Name, Item Name, Qty, Unit Price, Total Price, & Status.
    For eg:
    PO Num 100 contains 5 Items, Out of which Goods Receipt PO has been raised for 3 Items. and Goods Receipt PO for remaining 2 items have not been raised.
    In this case PO status is OPEN.
    When iam generating PO Report, It shows Status for all the Items are OPEN. bcoz status for the PO is OPEN.
    I want the report to show the status is Closed for the Items for which Goods Receipt PO has been raised. and similarly status must be OPEN for the items for which Goods Receipt PO has not raised. ( PO number is same ).
    Your answers will be very helpfull.
    Thankyou.

    Hi,
           I have created a Column in Purchase Order Screen and i have given two options by name Open/Close.
    I have Created new field by going into......................      Path: ToolsUserdefined FieldsManage User defined fieldsmarketing documentsrows.
    And i have selected check box  set valid values for fields  and i have given Open and Close Options.
    This is effecting in new Purchase Orders which iam creating from now. But it is not reflecting in Purchase docs which i have created earlier.
    So Please let me know what to be done inorder to reflect this change in all Purchase Order Doc's.
    Your Answers will be very much helpfull.
    Thankyou.

  • Open and closed order reports

    Hi,
    Please anyone tell me how we can find which orders are open order & which are closed orders??
    Also the difference in the recognition between WIP Sales order and Closed Sales order??
    Regards,
    Roma

    Hey,
    I know about open and sales order. Actually i have to make an open order report, a WIP order report and a closed order report. And i know we can make these reports from the following:-
    CHARACTERISTICS: Bill-to-party,Ship to party, sold to party, Company code,Plant,Sales organization ,Sales Office,Material Number,Deliver block
    KEY FIGURES:orders,Open Orders,Order items,Subtotal,Net weight, open Quantity,Gross weight
    But i dont know which characteristics and key figures we will use for open order report, which one are for WIP order report and also for closed order report.
    Please do tell me how can i make these three reports.
    Regards,
    Roma

  • Open sales orders report

    Hi,
         Does anyone know of any open sales orders report ? VA05 ? Table join between VBAP-VBAK ?
    Thanks

    Hello,
    Does anyone know of any open sales orders report ? VA05 ? Table join between VBAP-VBAK ?
    If your basic requirement is find out the open Sales Order then you can look out for the below standard report:
    VA05/VA05N
    If your requirement involves some values to be included then kindly urge you to go for SQVI technique involving tables like VBAK,VBAP,VBUK and other Sales table based on requirement.
    Regards,
    Sarthak

  • Open Work Order report and shortage report

    Hello,
    First of all, I am very new to SAP and sap forum. I do need to learn SAP very fast. I work as Buyer and Planner. I would like to know how do you run open work order report and also how do run shortage report.
    I appreciate different feedback.
    Thanks
    Raj

    Hi,
    Use tcodes CO24. First you need to activate that report PPCOXPR1 in SE38 enter report name and execute
    In COOIS select list components you can be requirement qty and withdrawn qty , here you can find out open work orders also
    Thanks
    Diwakar

  • Open Sales Order Report

    Hello..
    my client wants to have the open sales Order report in following format :
    ======================================================================================================
    Customer Name | Item 1 code  | Item 2 code  | Item 3 code  |  Item 4 code  |  Item 5 code  |  Item 6 code  | Item 7 code  |
    =======================================================================================================
    Jack Inc.......................987.................865.....................654.................543.......................739..................543...................987
    Colt Inc.......................237.................213.....................799..................321.......................875...................187...................122
    IOUU LLC...................127.................535.....................654..................777.......................211...................345...................777
    =====================================================================================================
    .................................1351..............1613...................2107.................1641.....................1825.................1075..................1886
    =====================================================================================================
    pls help me to create sql query for the above
    rekha
    Edited by: Rekhatiwari on Dec 16, 2010 10:46 AM
    Edited by: Rekhatiwari on Dec 16, 2010 10:47 AM

    Hi,
    Try this:
    SELECT T0.CardName,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%2\]') Item1,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%3\]') Item2,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%4\]') Item3,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%5\]') Item4,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%6\]') Item5,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%7\]') Item6,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%8\]') Item7
    FROM ORDR T0
    WHERE T0.docdate between [%0\] and [%1\]
    That might be the only way close to your requirement.
    Thanks,
    Gordon

  • Purchase Order Report In R12

    Hi All,
    I have created a purchase order report in R12,in the test instance the report is running perfectly for all the operating units but when i moved the rdf to the LIVE instance the report is running for only one operating unit(nothing is hard coded in the rdf) and the report says completed normar but after clicking on view output i am getting a msg as the output is not generated for the concurrent request.
    After clicking on the view log i am getting an error msg as
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.US7ASCII
    Enter Password:
    REP-0004: Warning: Unable to open user preference file.
    Report Builder: Release 10.1.2.2.0 - Production on Tue Aug 19 16:41:18 2008
    Help me in fixing this issue.
    Thanks in advance

    Somu,
    chk note:
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=210795.1

  • Customized R12 Standard Purchase Order report with custom data and layout

    Hi all,
    We need to customize the seeded Purchase Order report in R12 to add an additional section to include cost data coming from our custom table. The key is that our customized report should be launched instead of the seeded report via various PO forms (e.g. View Document menu option, PO Communications form to email, fax and print PO, etc).
    I manually set up a custom Document Type Layout for the Document "Standard Purchase Order" to use my customized template so my custom layout is shown instead of the R12 layout, but according to Oracle support the report can only draw data from a set of seeded Oracle views like po_headers_xml,po_lines_xml etc.
    Any suggestions how we can add our custom data to PO report in R12?
    Thanks! Mike.

    Hi Mike
    thats a tough one, the PO generation is a bit restrictive to say the least when it comes to customizing. It sounds like you have worked out how to get your own template in there to render the PO.
    On the data front, all I can think of is to customize and replace the seeded PO view with one that incorporates your extra data.
    Or, get into the page customization world and write your own extract and format concurrent program/procedure and then hook it onto the buttons where you want to launch it.
    You might have more luch, response wise from the EBS PO forum.
    Procurement : Procurement
    OAF: OA Framework
    Regards
    Tim

  • XML Pub: Purchase Order  Report (Portrait) running too long

    Hi:
    "XML Pub: Purchase Order Report (Portrait)" running too long. It should be 1min. but now over 20min. This is 11.5.10.2 on unix.
    The log file is like the following. It stops there. I checked another one ran before, there are more data...
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_report_type='R'
    P_po_num_from='6640015'
    P_po_num_to='6640015'
    P_test_flag='N'
    P_user_id='14955'
    P_QTY_PRECISION='4'
    P_fax_ind='N'
    P_EMAIL_IND='N'
    P_REQUEST_SOURCE='MANUAL'
    Environment will now switch to UTF-8 code-set.
    Parts of this log file may not display correctly
    as a result. This is an expected behavior.
    XML_REPORTS_XENVIRONMENT is :
    /oracle/product/8.0.6finshdw/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /oracle/product/8.0.6finshdw/guicommon6/tk60/admin/Tk2M
    otif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    ===============================================
    From the internal Manager log:
    Process monitor session started : 29-APR-2011 12:35:56
    Internal Concurrent Manager found node APPSNOTE2 to be down. Adding it to the l
    ist of unavailable nodes.
    Process monitor session ended : 29-APR-2011 12:36:00
    Process monitor session started : 29-APR-2011 12:38:00
    Process monitor session ended : 29-APR-2011 12:38:04
    Process monitor session started : 29-APR-2011 12:40:04
    Process monitor session ended : 29-APR-2011 12:40:09
    Process monitor session started : 29-APR-2011 12:42:09
    Internal Concurrent Manager found node APPSNOTE1 to be down. Adding it to the l
    ist of unavailable nodes.
    Process monitor session ended : 29-APR-2011 12:42:15
    ======================
    please advise.

    last lines of FNDCPGSC29793.tx
    )]:BEGIN :[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.sleep()]:Waiting 10 seconds (10000 ms)
    [ 1:STATEMENT:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.run()]:Running loop from the top.
    -1:-1:PROCEDURE:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.processControlEvent(String)]:BEGIN (noEvent)
    :-1:-1:STATEMENT:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.processControlEvent(String)]:Did not receive any control events.
    -1:PROCEDURE:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsm.GSMQueueProcessor.process()]:BEGIN
    :-1:PROCEDURE:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsm.GSMQueueProcessor.read()]:BEGIN
    :-1:STATEMENT:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.run()]:Running loop from the top.
    -1:-1:PROCEDURE:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.processControlEvent(String)]:BEGIN (noEvent)
    :-1:STATEMENT:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.processControlEvent(String)]:Did not receive any control events.
    :-1:PROCEDURE:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.SvcComponentMonitor.process()]:BEGIN
    -1:-1:PROCEDURE:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.SvcComponentMonitor.startAutomaticComponents()]:BEGIN
    -1:STATEMENT:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.SvcComponentMonitor.process()]:On-Demand monitoring will not occur this round; the count is 3 out of 5
    [Apr 29, 2011 1:19:5 :-1:-1:STATEMENT:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.run()]:Resetting Error Count
    [Apr 29, 2011 1:19:51  1:-1:PROCEDURE:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.sleep()]:BEGIN :1304097591452:Thread[ComponentMonitor,5,main]:0:-1:
    -1:STATEMENT:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.sleep()]:Waiting 60 seconds (60000 ms)
    [Apr 29, 2011 1:20:00 PM EDT] 1:-1:PROCEDURE:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.sleep()]:BEGIN
    [Apr 29, 2011 1:20:00 PM EDT]: 4:-1:-1:STATEMENT:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.sleep()]:Waiting 10 seconds (10000 ms)
    Edited by: user9231603 on Apr 29, 2011 10:22 AM
    Edited by: user9231603 on Apr 29, 2011 10:25 AM

  • Printed XML Purchase Order Report - Printing blank Blanket PO page

    Hi,
    When printing the xml report of a Blanket PO Release, the release lines and headers print first but the last page is a page for the primary blanket PO (PO Num without any releases attached). This page does not contain any information in the header or line fields therefore it is a waste of paper. Looking into the XML code the blanket PO page is pulled in the same manner as the Release lines, against G_Headers. I'm going to look into the Reports Developer SQL to see if I can find something but I would rather not mess with the configuration of the SQL if I did not have to.
    Any ideas on how to get rid of this extra unnecessary page?
    Thanks,
    -Steve

    Hi,
    RDBMS : 11.2.0.1.0
    Oracle Applications : 11.5.10.2
    OS: Unix
    The issue can be reproduced.
    The report in question has had customization but the blank page prints in the Printed Purchase Order Report(Portrait) seeded function as well. From what I see the SQL might be able to modified based off of the input paramet "Print Blanket PO". When this is selected "No" the Blanket header is printed with no lines (that's where the blank PO page is coming from). When selected Yes the blanket header with all the blanket lines are printed. So I may be able to go in and change how that input parameter changes the output, unless there is a better way.
    -Steve

  • Customizing 'Print Purchase Order' Report

    Hi All,
    We need to customize the 'Print Purchase Orders' report, for communicating the PO to supplier. But the Fax commnds, and the output format we have to change accordingly. Also we need to move the generated output file to another directory.
    Please let me know the recommended customizing procedure for the above.
    Thans,
    Gowri.

    Hi,
    If you want to modify Print PO Report (POXPOPDF), refer to the following document.
    Note: 305307.1 - How To Modify Print PO Report POXPOPDF With Custom Template
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=305307.1
    Regards,
    Hussein

  • Customize printed purchase order report

    Hi all
    i need to customize Printed purchase order report
    i need to add supplier item number to printed purchase order report
    where(group) i need to add item number i think it g_lines right?
    item number is sengment from tml_system_items_b is it correct
    ple reply it is urgent
    ashok

    Ashok,
    Try to get a sample and understand the concern from your users. See if that is already customized to not show the supplier item number (as far as I remember I don't think there are any conditions in the standard report that qulify the printing of the supplier item number, it should print as long as it is entered in the supplier item number field in the PO lines). So see where your users are entering this in PO lines.
    Yes it is vendor_product_num in PO lines table.
    Thanks
    Nagamohan

Maybe you are looking for

  • ME22N change Exchange rate type at price condition level

    Hello, In ME22N exchange rate type is 'M' by default. When a price condition has currency different than purchase order this 'M' rate is used. Now I need to change this 'M' rate but for particular price conditions (and exchange rate type can be diffe

  • How to pass waveform chart in a loop in a sub vi to calling vi

    It has been awhile since I made my last application.  It has escaped me how to run a VI with a loop in it as a sub VI and still pass the waveform chart up to the calling VI.  I am trying to use the Bridge Continuous example as a sub VI and pass that

  • Can Sentinel RD reports be in CSV format instead of PDF

    Hi, I am working with Sentinel RD and generating custom reports using iReport. I was wondering if I can generate a custom report where the output is in CSV format instead of PDF and can be scheduled in the same way as the PDF are. What do I need to d

  • KeyListener on combobox calander not working?

    Am trying to add keylistener on this combobox calander, but somehow its not working right. The calendar is added to a JTable and the keyListener on it works, when i gets focus, but when the popup is visible it looses the keylistener? Can someone help

  • Media Center Deluxe (pc mega 180) ???

    Hello everyone, Do you know where you can have a update of Media Center Deluxe? Because at the moment I use one, but it is so slow and full with bugs !!! greetz Tom