Detail Reports must be Refreshed if Bind Vars are Changed

I have several "Master / Detail" reports where the Master has columns that are passed to the detail reports as Bind Variables.
We've noticed that the Detail reports always return the report for the first bind variables sent to the report. To update the detail report based on the new bind variables, the admin must hit the report refresh button at the top of the page.
For example:
Master Report A contains a table with two columns, with the first column linked to a Detail Report
ColA / ColB
Clicking on ColA passes ColB to the Detail Report. The Detail report uses the bind variable to run a SQL Query.
If two rows are in the Master Report
A1 / B1
A2 / B2
Clicking A1 creates a correct URL and Detail Report using B1
Going back to the Master Report and Clicking A2 quickly shows a Detail Report with B1. Using the Refresh Report button generates a Detail Report with B2. Note that the HTTP GET URL is proper and shows B2 in the second parameter.
Is it pretty standard practice for a GC Administrator to hit the Refresh button on a report?
Edited by: user11113565 on Dec 15, 2009 9:21 AM

I'm not sure what you mean by via "the WebCache".
I am going from browser directly to the management system with nothing in between (nothing but net).
This does appear to be a framework problem. I've tried several different approaches. I am currently moving to hand generate the URLs to avoid this problem. I will check back if it works. The good thing is that I do not appear to require the reportId to build the URL.
The goal is to insert event=refresh into the URL GET parameters ... hacking this into the bind parameters didn't work as the framework escapes the URL so the & gets turned into an innocuous escaped parameter.
Paul

Similar Messages

  • Refreshing formulas when ingredients are changed

    When changing a material on a formula, do you have to refresh the material and then refresh the formula.  Or can you just make the material change and refresh the formula.  What I am seeing is I changed the input material, refreshed the formula and was still seeing an allergen that had been present from the previous material.  I repeated the refresh and then the correct allergens were displayed

    You should only have to refresh and then re-calculate the formulation.  If you have to do this twice to get the allergen to appear you may have found a bug. 

  • Refresh detail report when page is changed

    Hi All,
    could You help me with this problem, please?
    I have page with two reports on one page - master and detail. Master report has link column which ‘call’ the same page and fill item (P2_id) and it refresh the detail report. The problem is when I am changing the page (next x records), then is not item P2_ID changed and detail shows me data of the record from previous page :-(
    Idea is – when will page change than will ID from the first row of report copy into P2_ID... I thing there will any easy trick to solve this but I can find out it...
    Please should You help me
    Thanks a lot
    Alexej

    Alexej,
    The hard thing about what you want to do would be to populate the value of P2_ID on load. There's probably a way to do it but it would take some thought. The easy approach is simply to clear out the value of P2_ID on load and let the user select the row they want again. To get that to work the first thing you'll need to do is to disable the partial page rendering for this report's pagination as there is currently no way to handle these events well (I've done that). Next you'll need to have a process that clears out the value at the right time (I added a computation with a request condition).
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur

  • Binds in Master/Detail Reports: Problems and Solutions

    I've been trying to use bind variables in the master report of master/detail reports with multiple detail reports; but, I've been getting a problem with the detail reports not displaying data.
    Here's a sample sequence of events:
    1) Select the master/detail report under User Defined Reports.
    2) Connect to a DB (if necessary).
    3) Enter any value(s) for the bind(s) for the master report.
    4) Select a row in the master report.
    5) The currently selected detail report displays column names and data.
    6) Select a different detail report.
    7) Nothing displays except column names.
    8) Select a different detail report.
    9) Nothing displays except column names.
    10) Click the currently selected row in the master report.
    11) Now the current selected detail report displays (column names and) data.
    I have found that if, I am more selective with my bind variable names, I can get things to work as expected.
    First, let me show an example of some SQL that was giving me problems.
    Master Report:
    select distinct OWNER
    from SYS.ALL_OBJECTS
    where (OWNER like :OWNER or :OWNER is NULL)
    Detail Reports:select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'INDEX'replacing 'INDEX' with other values for the other detail reports.
    (I did have this problem with other SQL too but hopefully this SQL will run on everyone's DB.)
    The first solution I found was to change the name of the bind in the master to something like OWNER_BIND.
    The second solution I found was to change the master to
    select distinct OWNER as POWNERand change the detail reports to
    where OWNER = :POWNERAnother solution might be to adjust the bind variable names' case, but I didn't look at that.
    While I was trying different things to get this to work, one of the goofy things that SQL Developer did was add <binds>s to the <query>s of the detail reports in my UserReports.xml. IIRC, it even did this to a master/detail report that I was not editing. So, if you run into this problem, you might want to open your UserReports.xml and clean it up by hand. (Actually, that might be good advice for other problems too.)
    Tip: I've had other problems with my User Reports such as disappearing reports; so, not only do I regularly make copies my UserReports.xml, I also save report(s) into separate XML files and use Tools > Preferences... > Database > User Defined Extensions to add REPORT-type extensions to SQL Developer. (Kris Rice talked a bit about REPORT-type extensions in this blog entry: http://krisrice.blogspot.com/2006/11/xml-extension-points-reports.html)
    FYI: I'm using sqldeveloper-1.1.2.2579 on Windows XP w/ SP2. The DB is Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production.

    Here is the complete XML exported from a problem report. If you want to use this, save it as an XML file then import that file from within SQL Developer (ie, right-click on User Defined Reports and choose Import).
    Notice that there are <binds>s on the detail reports. They don't belong there; only the one on the master report belongs. (The <binds> is specified by the Binds tab when creating a report. They are for prompting the user for value(s) and you cannot do that in child reports.) Even if I removed the <binds>s from the detail reports before importing the XML file, I still see the problem. SQL Developer also ends up putting them back. I think that it might happen to each detail report individually as it is visited when using (ie, not editing) the master/detail report.
    <?xml version="1.0" encoding="UTF-8" ?><displays><display id="" type="" style="Table" enable="true">
         <name><![CDATA[Sad]]></name>
         <description><![CDATA[]]></description>
         <tooltip><![CDATA[]]></tooltip>
         <drillclass><![CDATA[null]]></drillclass>
         <CustomValues>
              <TYPE>horizontal</TYPE>
         </CustomValues>
         <query>
              <sql><![CDATA[select distinct OWNER as OWNER
    from SYS.ALL_OBJECTS
    where (OWNER like :OWNER or :OWNER is NULL)]]></sql>
              <binds>
                   <bind id="OWNER">
                        <prompt><![CDATA[OWNER (like)]]></prompt>
                        <value><![CDATA[NULL_VALUE]]></value>
                   </bind>
              </binds>
         </query>
         <display id="null" type="Detail" style="Table" enable="true">
              <name><![CDATA[INDEX]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
              </CustomValues>
              <query>
                   <sql><![CDATA[select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'INDEX']]></sql>
                   <binds>
                        <bind id="OWNER">
                             <prompt><![CDATA[OWNER]]></prompt>
                             <tooltip><![CDATA[OWNER]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
         <display id="null" type="Detail" style="Table" enable="true">
              <name><![CDATA[PACKAGE]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
              </CustomValues>
              <query>
                   <sql><![CDATA[select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'PACKAGE']]></sql>
                   <binds>
                        <bind id="OWNER">
                             <prompt><![CDATA[OWNER]]></prompt>
                             <tooltip><![CDATA[OWNER]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
         <display id="null" type="Detail" style="Table" enable="true">
              <name><![CDATA[PACKAGE BODY]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
              </CustomValues>
              <query>
                   <sql><![CDATA[select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'PACKAGE BODY']]></sql>
                   <binds>
                        <bind id="OWNER">
                             <prompt><![CDATA[OWNER]]></prompt>
                             <tooltip><![CDATA[OWNER]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
         <display id="null" type="Detail" style="Table" enable="true">
              <name><![CDATA[SEQUENCE]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
              </CustomValues>
              <query>
                   <sql><![CDATA[select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'SEQUENCE']]></sql>
                   <binds>
                        <bind id="OWNER">
                             <prompt><![CDATA[OWNER]]></prompt>
                             <tooltip><![CDATA[OWNER]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
         <display id="null" type="Detail" style="Table" enable="true">
              <name><![CDATA[TABLE]]></name>
              <description><![CDATA[]]></description>
              <tooltip><![CDATA[]]></tooltip>
              <drillclass><![CDATA[null]]></drillclass>
              <CustomValues>
              </CustomValues>
              <query>
                   <sql><![CDATA[select *
    from SYS.ALL_OBJECTS
    where OWNER = :OWNER
    and OBJECT_TYPE = 'TABLE']]></sql>
                   <binds>
                        <bind id="OWNER">
                             <prompt><![CDATA[OWNER]]></prompt>
                             <tooltip><![CDATA[OWNER]]></tooltip>
                             <value><![CDATA[NULL_VALUE]]></value>
                        </bind>
                   </binds>
              </query>
         </display>
    </display>
    </displays>

  • Error with report - pkg and bind var

    Hi to all,
    i'm writing some report and i found a strange isssue.
    I would like to retrieve some data using packages.
    So, something like select dbms_xxxx(var1, var2, var3) from dual;
    I would like to pass through bind vars the value per each variable.
    I used :var1 and also &var1 to be secure..
    if i use select dbms_xxxx(':var1', ':var2', ':var3') from dual;
    it gives me error about the apex, so i changed it in
    select dbms_xxxx(par1 => :var1.....
    Now it gives a problem with the parenthesis. But they are right!
    Any ideas? A possible limit of developer?
    By the way.. latest sqldev version.
    Thanks
    Acr

    Example:
    SELECT DBMS_METADATA.GET_DDL(
    object_type => upper(&object_type),
    object_name => upper(&object_name),
    schema => upper(&schema)) DDL
    FROM DUAL;
    This i what i get.
    Error: ORA-00907 MISSING RIGHT PARENTHESIS
    using &var or :var
    Acr

  • Report does not refresh when link to page

    I have a report on page 1 with a column link to a report on page 2.
    The link sets items on page 2.
    If I use the 'Page in this Application' from the column link, the items on page 2 are set and the report is automatically refreshed.
    If I use the 'URL' in the column link, the items are set but the report on page 2 is not refreshed. I have more than 3 items to pass via the link so I have to use the URL. The url syntax is correct - if I click a Go button on page 2 the data refreshes fine.
    I have the same problem when clicking a tab that I have set to clear the page items - the tab clears the cache on the target page but the data in the report is not refreshed until I click the go button.
    The items on page 2 are select lists and text (always submit when enter pressed).
    How can I get the report on page 2 to auto refresh without the user having to click the Go button?
    Message was edited by: kgamble
    kgamble

    I can't post the pages (site reasons) but here's the debug.
    All the item values are set correctly to what I want but at point 041 - I get the custom "no rows returned error". If I click the refresh button (essentially a submit with go) the date appears.
    I am now using the link set up to go to 'Page in Application' with clear cache and 3 item variables set and reset pagination ticked and the request of Go (its the same result without the request and the pagination unticked).
    Any ideas?
    Thanks
    Kathryn
    0.00:
    0.00: S H O W: application="129" page="8" workspace="" request="Go" session="8392008407576157812"
    0.02: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-gb
    0.02: alter session set nls_language="ENGLISH"
    0.02: alter session set nls_territory="UNITED KINGDOM"
    0.02: NLS: CSV charset=WE8MSWIN1252
    0.02: ...NLS: Set Decimal separator="."
    0.02: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.02: ...Setting session time_zone to dbtimezone
    0.02: NLS: Language=en-gb
    0.02: Application 129, Authentication: CUSTOM2, Page Template: 3508132500492586
    0.03: ...Supplied session ID can be used
    0.03: ...Application session: 8392008407576157812, user=PENTESTER
    0.03: ...Determine if user "KGAMBLE" workspace "1728921676563485" can develop application "129" in workspace "1728921676563485"
    0.03: Session: Fetch session header information
    0.03: Saving g_arg_names=P8_IDR and g_arg_values=Y
    0.05: ...Session State: Save "P8_IDR" - saving same value: "Y"
    0.05: Saving g_arg_names=P8_STATUS and g_arg_values=Outstanding
    0.05: ...Session State: Save "P8_STATUS" - saving same value: "Outstanding"
    0.05: Saving g_arg_names=P8_SECTION and g_arg_values=P
    0.05: ...Session State: Save "P8_SECTION" - saving same value: "P"
    0.05: ...Metadata: Fetch page attributes for application 129, page 8
    0.05: Fetch session state from database
    0.05: Branch point: BEFORE_HEADER
    0.05: Fetch application meta data
    0.05: Authorization Check: "4732024931692101" User: "PENTESTER" Component: "PAGE"
    0.06: Clear cache: request=RP
    0.06: ...Resetting pagination for page
    0.06: Clear cache: request=8
    0.06: ...Clearing Cache for Page 8
    0.06: Nulling cache for application "129" page: 8
    0.08: Saving g_arg_names=P8_IDR and g_arg_values=Y
    0.08: ...Session State: Saved Item "P8_IDR" New Value="Y"
    0.08: Saving g_arg_names=P8_STATUS and g_arg_values=Outstanding
    0.08: ...Session State: Saved Item "P8_STATUS" New Value="Outstanding"
    0.08: Saving g_arg_names=P8_SECTION and g_arg_values=P
    0.08: ...Session State: Saved Item "P8_SECTION" New Value="P"
    0.08: Computation point: BEFORE_HEADER
    0.08: Processing point: BEFORE_HEADER
    0.09: Show page template header
    0.09: Computation point: AFTER_HEADER
    0.09: Processing point: AFTER_HEADER
    0.11: Authorization Check: "4732329087693375" User: "PENTESTER" Component: "parenttab"
    0.13: Authorization Check: "6131220670151932" User: "PENTESTER" Component: "parenttab"
    Home New Complaint
    Existing Data
    Logout |
    Complaints Complainants
    0.14: Region: Complainant Search
    Complainant Search
    0.14: Item: P8_SD_SEARCH TEXT_WITH_ENTER_SUBMIT
    SD Number
    0.16: Item: P8_SURNAME COMBOBOX Complainant -- All -- ARDVARK ARMSTRONG BAKER BLOGGS CHICKEN HARPER HILL JONES PERRY REAPER ROBINSON SHERMAN SMITH T WATSON
    0.16: Item: P8_NI_SEARCH TEXT_WITH_ENTER_SUBMIT
    NI Number
    0.16: Region: criteria_go
    0.16: Item: P8_GO BUTTON
    0.17: Item: P8_ROWS COMBOBOX Number of complaints per page 10 15 20 30 50 100 200 500 1000 5000
    0.17: Region: Complaint Search
    Complaint Search
    The list of complaints must match ALL of these specified search criteria:
    0.19: Item: P8_START PICK_DATE_DD_MON_YYYY
    Start
    0.19: Item: P8_END PICK_DATE_DD_MON_YYYY
    End
    0.20: Authorization Check: "4733005669696056" User: "PENTESTER" Component: ""
    0.20: Item: P8_TARGET COMBOBOX
    Target -- All -- Acknowledgement In Target Acknowledgement Target not Met Acknowledgement Pending Final Response In Target Final Response Target not Met Final Response Pending
    0.22: Item: P8_RECUR COMBOBOX
    Recurrent? -- All -- YES NO
    0.22: Item: P8_PAY_E COMBOBOX Ex Gratia/Interest
    Payments -- Select -- YES NO
    0.23: Item: P8_IDR COMBOBOX
    Type of Complaint -- All -- IDR Other Complaint
    0.23: Item: P8_STATUS COMBOBOX Status -- All -- Outstanding Completed 01-Jan-2007 05-Feb-2007 05-Mar-2007 12-Feb-2007 12-Mar-2007 15-Jan-2007 22-Jan-2007 26-Feb-2007 29-Jan-2007
    0.23: Computation point: BEFORE_BOX_BODY
    0.23: Processing point: BEFORE_BOX_BODY
    0.25: Region: Complaints List
    Complaints List
    0.25: show report
    0.28: Authorization Check: "4733005669696056" User: "PENTESTER" Component: "COLUMN"
    0.28: determine column headings
    0.28: activate sort
    0.38: parse query as: GENERAL1
    0.38: binding: ":P8_NI_SEARCH"="P8_NI_SEARCH" value=""
    0.39: binding: ":P8_SD_SEARCH"="P8_SD_SEARCH" value=""
    0.39: binding: ":P8_SURNAME"="P8_SURNAME" value="AA"
    0.39: binding: ":P8_START"="P8_START" value=""
    0.39: binding: ":P8_END"="P8_END" value=""
    0.39: binding: ":P8_SECTION"="P8_SECTION" value="P"
    0.39: binding: ":P8_STATUS"="P8_STATUS" value="Outstanding"
    0.39: binding: ":P8_TARGET"="P8_TARGET" value=""
    0.39: binding: ":P8_IDR"="P8_IDR" value="Y"
    0.39: binding: ":P8_RECUR"="P8_RECUR" value="AA"
    0.39: binding: ":P8_PAY_E"="P8_PAY_E" value="X"
    0.41: print column headings
    0.41: rows loop: 15 row(s)
    There are no complaints matching the criteria. Please double check all the criteria in the boxes above.
    0.42: Computation point: AFTER_BOX_BODY
    0.42: Processing point: AFTER_BOX_BODY

  • Strange pagination behaviour on detail report (BUG?)

    Hi
    I've the following situation:
    Form on a table and below an sql report based on value of one of form fields. Everything is fine as long, as I use form's primary key for the report, but when I use any other field, pagination breaks - going to the next report page gives "no data found" in the report region. However, where I refresh entire page, I see the next page just fine.
    Case:
    create table master (id number primary key, num2 number, data varchar2(10));
    create table detail (id number primary key, parent number);
    insert into master values(1,1,'aaa');
    insert into detail values (1,1);
    insert into detail values (2,1);
    insert into detail values (3,1);
    insert into detail values (4,1);
    insert into detail values (5,1);
    insert into detail values (6,1);
    insert into detail values (7,1);
    insert into detail values (8,1);
    insert into detail values (9,1);
    insert into detail values (10,1);
    insert into detail values (11,1);
    insert into detail values (12,1);
    insert into detail values (13,1);
    insert into detail values (14,1);
    insert into detail values (15,1);
    insert into detail values (16,1);
    insert into detail values (17,1);
    insert into detail values (18,1);
    insert into detail values (19,1);
    commit;
    Create a form on master table with defaults on everything and ID as primary key (my is sequence based, but it doesn't matter)
    The report code is:
    select * from detail where parent=:P22_ID
    and everything works fine - report pagination works. But if I change the code to
    select * from detail where parent=:P22_NUM2
    Pagination breaks :/ Clicking next gives "no data found", entire page refresh shows report page 2
    Changing "Enable partial page refresh" doesn't help
    Any suggestions?
    Martin

    Answering my own question...
    After doing some more digging I've found that on full page refresh all bind variables work, on "next" report page however only form's primary key is set, and all other page variables are nulls, so if the report's pagination is to work, it can't use anything else
    Anyone knows is this a bug, or a feature??

  • I need to understand how to get my master-detail html dataset to refresh.

    My SPRY master-detail dataset does not refresh.  Following is a description of what I have and what I am trying to do.
    The data source is an embedded table.  Each row of the table has two fields: a thumbnail (for the master section) and a full size image (for the detail section).  Each "tr" tag has a class which identifies the category of photos to be displayed.  This feature of the applicaation is loacated on a panel of a SPRY tabbed panel object.  I have links from other pages to open specific tabbed panels.  this part works just fine.
    To select the various categories of photos I have a radio button group.  By default the first category.in the group is selected and when the page initially loads it selects the correct photos and the thumbnails are displayed in the master section and the first full size photo displays in the detail section. All is well to this point.
    Each radio button has an "onClick" behavior which calls a javascript function with an argument specifying the desired category.  The javascript function uses "window.location.assign" to refresh the page passing URL parameters to open the appopriate tab (this works properly) and to pass along the selected category.  The URL parameters show up in the browser just as they should, but the page does not seem to refresh.  I have disabled the caching of the data and that doesn't help.  I put an alert() function in to examine the incoming URL parameters but it does not process at all.  This convinces me that the page just isn't reloading.
    Any help will be appreciated.

    I have something similar, but instead of clicking a radio button, I click the tab of a Spry TabbedPanel widget. Clicking the tab activates a function that changes the XPath and reloads the data. All very simple.
    function newXPath(thepath) {
        ds1.setXPath(thepath);
        ds1.loadData();
    Incidently the above is for a SpryXMLDataSet.
    For a SpryHTMLDataSet you would use setDataSelector("theDataSelector") or setRowSelector("theRowSelector"). For more info see here http://labs.adobe.com/technologies/spry/articles/html_dataset/index.html
    I hope this helps.
    Ben
    PS. We try to help as much as possible. The best way for us to help you is to dispense with long stories and to supply an online URL so that we we see the issue in context.
    PPS. I must admit, your description was spot on.

  • SkillBuilders modal plugin - Reports will not refresh

    Hi all,
    I'm attempting to use the SkillBuilders Modal Page 2.0.0 plugin, everything seems to work except the refreshing of the reports. When clicking on the links the modal page opens, I can make changes, and after clicking on "apply changes" the modal box closes and I am back at the originating page, however the reports have not refreshed. If I manually refresh the page or the reports - the reports change as expected. I believe my problem is in the Auto Close Dynamic action, but I can't seem to find it. There isn't any errors displayed in the error console either. Any suggestions? Thanks in advance
    SkilBuilders Modal Page 2.0.0 plugin
    Apex version 4.2.1.00.08
    Theme 26 - Productivity Applications
    Page has 3 reports - 2 classic and 1 IR.
    Each report has a link with the class "edit-link"
    Dynamic action (Edit Clicked) is set up with:
    Event: click
    Selection Type: jQuery Selector
    jQuery Selector: a.edit-link
    Condition: No Condition
    Event Scope: Static
    True Actions settings are:
    URL Location: Attribute of Triggering Element
    Attribute Name: href
    Auto-close On Element Selector: section#uSuccessMessage
    Dynamic action (Modal Page Auto Close) is set up with:
    Event: Auto Close [SkillBuilders Modal Page (2.0.0)]
    Selection Type: DOM Object
    DOM Object: document
    Condition: No Condition
    Event Scope: Static
    3 True Actions settings are:
    Action: Refresh
    Selection Type: Region
    Region: "Name of Region"
    Thanks
    Wayne

    Hi Wayne,
    You've got a job on trying to refresh a classic report using the standard dynamic action, it's not as straightforward as simply selecting the region.
    The fastest way to achieve this (unless you MUST have AJAX refreshing of reports) is to change the action of the Auto Close event to Submit Page.
    It's quick and dirty - but it works.
    Hope this helps, cheers, Pete

  • Master-detail reports in SqlDeveloper

    Hello,
    I recently read this article by Sue Harper.
    www.oracle.com/technology/oramag/oracle/07-may/o37sql.html
    I am using Sqldeveloper for a little while now, but never created a user-defined report.
    This morning I read this article about it, and I am really thrilled.
    The problem is: I cannot get a master-detail report to work.
    I followed the instructions:
    Master query:
    select a.master_column
    from not_important a
    The type of the detail report is "DETAIL" and I refer to the master-column like this : where blabla = :MASTER_COLUMN
    I Tried:
    * changing caption of the bind variable.
    * adding a column alias in the master query
    * changing type to child
    nothing works
    Tried it in sqldeveloper: 1.5.4 and 1.1.2.25
    neither work.
    Of course I am missing the obvious. Can somebody please point out, what I am doing wrong.
    Regards.

    I finally figured out, what I was doing wrong.
    I tested my report with a single master-record by pressing the detail run-button (>) immediately after the report openend, WITHOUT first actually selecting this single master record with my mouse.
    So when I hit the detail run-button (>) Oracle returned with a "All Rows Fetched: 0". So I never realized I was actually querying with a NULL value in the bind variable.

  • Interactive Reporting: master-detail report

    Hi,
    I wonder if it is possible to have a kind of master-detail pair of reports.
    For example I have one report containing a crosstab with product groups in the down "dimension". When I click on one of those product groups a second report should appear with the children of the product group, the products.
    Is there a sort of binding variables or getting it from one report to another?
    Oliver

    If you are using the iHTML version of the tool for viewing the report there is a possible way. It involves using a SmartCut to the Target/Detail Report and passing parameters on the URL which then are interogated in the OnStartup script of the Target/Detail Report.
    Start with Master File.
    Create Computed Column in Results Section that combines the SmartCut URL and Parameters into a HREF Link.
    Put that column into Report Section as Table Dimension
    When the Report is viewed in Interactive Reporting Web Client you will see the code of the HREF. When it is viewed in the iHTML client you will see the link.
    Wayne Van Sluys
    TopDown Consulting

  • Query with bind var created under apex to generate xml data

    Hi all;
    BiP: 10.1.3.4
    Apex: 4
    DB 10G
    Goal: want to generate a report by running a query with bind variables under apex.
    problem: when attempted to create a query under shared components in apex, at the downloading xml data stage, I always get "no data found" eror. Thus I can't save xml data for further report work. This only occurs when bind var involved. I have tticked "incl. session variables" and added the item but to no avail.
    Does anyone know how to do this and get the xml data to recive the bind variable ?
    Thanks.
    lulu

    To get the xml data, sql query has to return something. Why the sql is not returning anything can be better investigated outside the BI Publisher with special tool like SQL Developer or TOAD. There you have to run your query and make it working. One of the steps would be to try the sql without the parameter, see what data it brings back and go from there. One of possibilities why the parameter kills the output may be the NULL values involved, but you need to try the sql outside the BIP first.

  • Details report for the retropay by element process

    I have ran retropay by element and i would like to create a detail report that will show me all the entries for a specific retropay element.
    For example i have Basic salary and the retro element for this is Basic Salary Arrears
    When the retropay by element process runs from 01-jan-2010 to 01-jun-2010, I am getting 5 Basic Salary Arrears elements attached to the employee on the element entries window and when i click on the Entry values button i can see Pay Value for each Basic Salary Arrears element the difference is only on the Original Date Earned.
    It appears as follows:
    Basic Salary Arrears
    Pay Value= 142.95
    Original Date Earned=31-JAN-2010
    Basic Salary Arrears
    Pay Value= 142.95
    Original Date Earned=28-FEB-2010
    Basic Salary Arrears
    Pay Value= 142.95
    Original Date Earned=31-MAR-2010
    Basic Salary Arrears
    Pay Value= 142.95
    Original Date Earned=30-APR-2010
    Basic Salary Arrears
    Pay Value= 142.95
    Original Date Earned=31-MAY-2010
    Now i want to create a detail report for all these elements based on the Original Date Earned so that i am able to know for how many months of Basic Salary Arrears has been paid to all staff.
    Please help me!

    When i go and view the message in View >Payroll Process Results window. I can see the following error:
    The element RETRO_OVERTIME65 being retropaid must have a link effective at the date of the RetroPay (Assignment Number 8842)
    Please note RETRO_OVERTIME65 is a Non-reccuring element and i have included it while defining my Element Set.
    But this element is not attached in the pay period that i am trying to process my retropay by element run so does that mean that it will throw the following error due to this ?
    The element RETRO_OVERTIME65 being retropaid must have a link effective at the date of the RetroPay (Assignment Number 8842)
    Appreciate all your assistance/advice.
    Edited by: 594647 on Jan 18, 2010 7:35 PM

  • Drill down from Summary to Detail Report

    BI Publisher 11g
    I creating a set of reports consisting of a single summary report and several detail reports. The user should be able to click on a row in the Summary report and this will pass those parameters to the detail report. Detail report will now show with corresponding values selected in Summary report. Thanks in Advance!

    Explain exactly how you create your 2 reports.
    The second one must have "is prompted" filters if you want it to use the values of the first one.

  • Using stored procedures in master / detail report?

    hi all,
    i've created stored procedures for when inserting records into my tables.
    when using it in my master, i created a pl/sql process and just call out my procedure passing all the item values... how do i do this on the detail report?
    thanks
    allen

    hi,
    i'm back.. :)
    i attempted to use the following pl/sql code in a pl/sql process.
    begin
      for i in 1..apex_application.g_f01.count
      loop
        apc_user_pkg.update_user_role ( p_user_role_id     => apex_application.g_f02(i)
                                       ,p_start_on         => apex_application.g_f05(i)
                                       ,p_end_on           => apex_application.g_f06(i)
                                       ,x_last_updated_on  => apex_application.g_f09(i)
                                       ,x_last_updated_by  => apex_application.g_f10(i) );
      end loop;
    end;however, it doesn't seem to be working properly.. it doesn't update the table.. after the page refreshes, the old data comes back and not the new one.
    what am i doing wrong?
    regards,
    allen

Maybe you are looking for

  • Flex 2 charting license watermark issue

    We've purchased the flex 2 builder and flex charting. I've installed the serials and all works fine when the application is build using flex builder. The watermark is removed. When I build the application using command line (which points to same SDK

  • The media being played is of an unsupported format

    Hi everybody probably you know what problem I have, because I have found it in this forum, but I tried all solution and antything didnt help me. So I have bought a memory card to my 8900. Everything went fine, but after time I couldnt play my videos.

  • Extracting purchasing info records

    Hi all, I am extracting purch info records and using SE16 and tables EINA and EINE to include plant, info record, material and vendor. I also need to include price of material. any ideas on what table to use for this? Thanks in advance.

  • Get parent of e.target.name

    Hi, How would you get the name of the parent of a movieclip? Any ideas? below is only some of the options I tried to trace. function getParentName(e:MouseEvent):void{      trace(e.target.parent.name);      trace(parent(e.target));      trace(this.par

  • Can't Play VCD *.DAT files in QT 6.5.3

    I can't play vcd *.dat files in QT 6.5.3 (OSX 10.2.8) But i can play them using QT 6.0.2 in OS9.2.2 What do i need to do to play them in OSX using QT 6.5.3? Thx for the help...Dave Mac G4 AGP, PB G3 Bronze, PPC G3 Biege   Mac OS X (10.2.x)