master detail report

I want to create a master detail report using CF 10 generator, but I can't find the option.

I would like to know do I insert a sup in detail band report to generate the master details report.

If this is not the case, can you please indicate what is the procedure to build the master details report by using CF 10 generator.

Your information and help is much appreciated,

Kind regards

iccsi,

iccsi wrote:

I would like to know do I insert a sup in detail band report to generate the master details report.

Yes.

Tags: ColdFusion

Similar Questions

  • Master / detail REPORT (FORM no)

    I use 4 APEX and want to create a master / detail REPORT (not a FORM) and can't seem to format as I want. For each record in my MASTER table that I want to print a few fields of her on the first line, followed by one or more records in the SECONDARY table on the following lines. It is easy to do as a form, but I want it on a web page as text only report. Any suggestions would be appreciated, other that "read the manual". Already tried.

    So my desired output would look like this:

    MASTER NAME: XXXXXX MASTER ADDRESS: CITY OF MASTER XXXXXX: XXXXXX

    RETAIL RETAIL QTY. ONLINE RETAIL PRODUCT
    1 XYZ 10
    2 ABC 20

    NAME OF THE MASTER: YYYYYY MASTER ADDRESS: YYYYYY MASTER CITY: YYYYY

    RETAIL RETAIL QTY. ONLINE RETAIL PRODUCT
    3 DEF 30
    4 GHI 40

    It is an area of APEX where a few feature improvements would make the very nice end statement. In the meantime, you can write your own reporting process in a region of PL/SQL easily, consisting of two loops: one for master records and one for children. You will have to expose the area using HTML, but since control you it can look as you wish. I did something similar with this code:

    create or replace PROCEDURE PROC_TONMILERPT(dt1 DATE, dt2 DATE, c NUMBER)
    as
      dt_from    DATE           := dt1;
      dt_to      DATE           := dt2;
      cust       NUMBER         := c;
      ttl_dys    NUMBER;
      cursor c_proj is select ORG_ID, ORG_NM from ORG_ENTITIES
                        where CUSTOMER_ID = cust
                          and ORG_ID NOT IN (200,300,400,500,600,700,800,900);
      v_org      NUMBER;
      v_orgnm    VARCHAR2(47);
      cursor c_rpt is select STN, MILES, SUM(TTL_WT)
                from (select s.SHORT_NM||'-'||j.PILE_CODE_ALT_FLAG as STN, r.CYCLE_MILES/2 as MILES,
                             SUM(CASE WHEN w.SPOT_WEIGHT = 0 THEN NVL(j.MAN_SPOT_WT,0)
                                      ELSE w.SPOT_WEIGHT
                                      END) as TTL_WT
                        from TC c, TC_LOAD_JOBS j, STATIONS s, LOAD_RATES r, SPOT_WEIGHTS w
                       where c.TC_ID = j.TC_ID and j.LOAD_RATE_ID = w.LOAD_RATE_ID
                         and w.DATE_INDEX = c.DATE_INDEX
                         and j.LOAD_RATE_ID = r.LOAD_RATE_ID
                         and FN_STN_KEY(j.FACTORY_ID,j.STATION_ID) = s.KEY_ID
                         and c.DATE_INDEX BETWEEN dt1 and dt2
                         and j.FACTORY_ID = v_org
                       group by s.SHORT_NM||'-'||j.PILE_CODE_ALT_FLAG, r.CYCLE_MILES
                       union
                       select s.SHORT_NM||'-'||j.ALT_FLAG as STN, r.CYCLE_MILES/2 as MILES,
                              SUM(DECODE(j.AVG_SPOT_WEIGHT,0,j.ACT_SPOT_WEIGHT,j.AVG_SPOT_WEIGHT)) as TTL_WT
                        from TC_3RDPARTY c, TC_3RDPARTY_JOBS j, STATIONS s, LOAD_RATES r
                       where c.TC_ID = j.TC_ID and j.LOAD_RATE_ID = r.LOAD_RATE_ID
                         and FN_STN_KEY(j.FACTORY_ID,j.STATION) = s.KEY_ID
                         and c.DATE_INDEX BETWEEN dt1 and dt2
                         and j.FACTORY_ID = v_org
                       group by s.SHORT_NM||'-'||j.ALT_FLAG, r.CYCLE_MILES)
                group by STN, MILES
                order by STN;
      x_fact     NUMBER;
      x_stn      NUMBER;
      x_stn_nm   VARCHAR2(47);
      x_alt      VARCHAR2(7);
      x_rt       NUMBER;
      x_mls      NUMBER;
      x_tons     NUMBER;
      x_lds      NUMBER;
      x_tnmls    NUMBER;
      z_tnmls    NUMBER      := 0;
    BEGIN
      ttl_dys    := dt_to - dt_from;
      htp.p('');
          htp.p('');
              htp.p('');
          htp.p('');
          htp.p('');
      htp.p('
    Ton Mile ReportTransystems
    From '||to_char(dt_from,'MM/DD/YYYY')); htp.p(' To '||to_char(dt_to,'MM/DD/YYYY')||'
    '||ttl_dys||' day period
    '); OPEN c_proj; LOOP FETCH c_proj into v_org, v_orgnm; EXIT WHEN c_proj%NOTFOUND; htp.p('

    '||UPPER(v_orgnm)||'

    '); --Project Work htp.p(''); htp.p(''); htp.p(''); htp.p(''); htp.p(''); x_tnmls := 0; OPEN c_rpt; LOOP FETCH c_rpt into x_stn_nm, x_mls, x_tons; EXIT WHEN c_rpt%NOTFOUND; z_tnmls := z_tnmls + x_mls*x_tons; x_tnmls := x_tnmls + x_mls*x_tons; htp.p(''); htp.p(''); htp.p(''); htp.p(''); END LOOP; CLOSE c_rpt; htp.p('
    PileTon MilesTonsLoaded Miles
    '||x_stn_nm||''||to_char(ROUND(x_mls*x_tons,0),'999G999G999')||' '||to_char(ROUND(x_tons,2),'999G999G999D99')||' '||x_mls||'
    '); htp.p('

    Total for '||v_orgnm||' - '||to_char(ROUND(x_tnmls,0),'999G999G999')); htp.p(' Ton Miles and '); htp.p(to_char(ROUND(x_tnmls/ttl_dys,0),'999G999G999')||' Average Ton Miles per Day

    '); END LOOP; CLOSE c_proj; htp.p('

    Customer Totals - '||to_char(ROUND(z_tnmls,0),'999G999G999')); htp.p(' Ton Miles and '); htp.p(to_char(ROUND(z_tnmls/ttl_dys,0),'999G999G999')||' Average Ton Miles per Day

    '); END;

    I created it as a procedure because the APEX limits you to only 32K of a character value in a region. If you do a lot of formatting, it can eat up hastily. Of more, that way I don't have to change the procedure to change the output, not the page APEX itself.

    Oh, and here's the code for the region of PL/SQL:

    begin
      PROC_TONMILERPT(to_date(:P1345_DATE_FROM,'MM/DD/YYYY'), to_date(:P1345_DATE_TO,'MM/DD/YYYY'), :P1345_CUSTOMER);
    end;
    

    You will notice that it accepts parameters from a region of "filters" to determine the results.

  • Difference between Master detail report and Drill Down

    Hello

    I want to know the difference between Master detail report and Drill Down. I'm confused about their use. Can inform you when to use what?

    Help appreciated

    Pradeep

    You must first help yourself by searching instead of these initial questions.

    Master in detail:
    As a condition of purchase order. The master is arrested in detail, and the details are elements...

    Dril Down:
    As the opening of report the report as hyperlink for more details...

    -Clément

  • Master - detail reports

    Hi, Im currently produces a report of which the data are obtained from 2 views I created on the database. We can look at this as a relationship master detail. Basically I have a view with details of staf and views with all the details of the client. 1 staff member can have many clients asociated with them. This is related to a reservation id. If the staff and clients have the same reservation id they are so related.

    I have implemented this in the reports in the following way:


    I have a nonrepeating framework encapsulating everything. then this frame is divided into a left and right, the left side is an extensible framework with the details of the staff and the right side is an extensible framework with the details of the client.

    I want to be able to see is the details of staff then beside that the details of the customer like this:

    (.' are spaces - just used to show the layout)

    staff ID | staff name. staff * | staff * client id | name of the customer. customer * | customer *.
    .............................................customer id | name of the customer. customer * | customer *.
    .............................................customer id | name of the customer. customer * | customer *.

    But as I have at the minute im just get:

    staff ID | staff name. staff * | staff * client id | name of the customer. customer * | customer *.
    staff ID | staff name. staff * | staff * client id | name of the customer. customer * | customer *.
    staff ID | staff name. staff * | staff * client id | name of the customer. customer * | customer *.

    They do not seem to be linked is there a way to link the master details? I have already created the relationship in the querys etc. my problem, I feel lies in the way I set up the report, its basically just go to each view and bring back the reguardless of the relationship data.

    Any help would be much appreciated.

    Thank you.

    Published by: user13390506 on March 7, 2011 04:23

    Published by: user13390506 on March 7, 2011 04:24

    Have you tried simply to encapsulate the retail block in the extensible framework of the master block?

  • Search in master-detail reports

    Hello

    I created master/detail pages in an application. The captain produced from the report model is not the online search feature that is there in the pages of standard report. Can someone tell me how a) produce master/detail with the included search feature or b pages) add the search functionality in the Master page of report post?

    Thank you!

    Tom

    Tom,

    To simplify things, change your 'Master report', change the report type "SQL query" and click on "Apply Changes". Now, if you change the report again, you can edit the SQL code directly in the region of origin.

    Now, to create point text say P1_FILTER and the button to apply the filter. Change your SQL query similar to the

    SELECT num_col1, char_col2, char_col3
    FROM tbl_tmp
    WHERE TO_CHAR(num_col1) = NVL(:P_FILTER, num_col1)
    OR char_col2 = NVL(:P_FILTER, char_col2)
    OR char_col3 = NVL(:P_FILTER, char_col3)
    

    You can see this at [http://apex.oracle.com/pls/otn/f?p=38121:17]

    See you soon,.
    Hari

  • master detail in obiee 11g report

    Hello

    I create report master detail in obiee 11g (11.1.1.6.5). I want to use it to navigate from one report when you click on the chart to another report that has tables and graphs in the same dashboard too.

    Can you please how can I do

    Hello!

    You have two options:

    First: Apply channel Interaction. You can click in your master detail report and automatically your second report will change.

    Second: Use action links.

    Look at this link: OBIEE 11 G - master detail | GerardNico.com (BI, OBIEE, data warehouse and OWB)

    Pls mark so useful

  • Report master-detail or list popup selection on LOV

    Master/detail report
    Using Popup LOV of a column in DETAIL. Why the RETURN_VAUE displays rather than the DISPLAY_VALUE? I need to display ITEMNO. It sounds like a problem with a tabular presentation?

    LOV is
    select ITEMNO display_value, ITEM_ID return_value
     from SH_ITEM
     ORDER BY 1
    Table
    *SH_ITEM*
    ITEM_ID
    ITEMNO
    ITEM_DESC
    Is actually long version that I really want
    select ITEMNO || ' - ' || ITEM_DESC display_value, ITEM_ID return_value
     from SH_ITEM
     ORDER BY 1
    Published by: userRRRYB on July 2, 2010 07:06

    Hi Alexandra,.

    In APEX 4.0, Popup LOV key support has been added to the built-in tabular feature (named for and based query LOVs), so now you can view the DISPLAY_VALUE according to needs. LOV Popup displays only the RETURN_VALUE, as you said, so it will not be your needs, but the new Popup LOV key should do the trick for you. If you change the attributes of a column in a table, update the column in question to the value of the point of his ' display as ' Popup LOV key (named LOV) or Popup LOV (query based LOV) key.

    Kind regards
    Hilary

  • Model with master detail

    Hello

    How can we create a template with the data in two tables as a master detail report. Each record in table A has multiple records in table B, and the tables have a common column.

    Thank you
    Machaan

    Yes.

    see this.

    DEP. and EMP - example of relationship

    http://download.Oracle.com/docs/CD/E10415_01/doc/bi.1013/e12187/T421739T434255.htm#3547893

    That you will get the data for the ship of the teacher-child relationship.

    then in model loop through them.

  • [ADF, JDev12.1.3] master / detail af:tables the link is handled by ExecuteWithParams: how to create a master report / detail in a loop on the lines?

    Hallo,

    I have a page with 2 legs and they both contains an af:table created by dragging an instance of VO in the user interface.

    The 1st tab uses a master VO while the 2nd uses a VO detail.

    Between 2 your, there is not a link of VO master / detail.

    Opening Details tab I update the secondary table by calling the method ExecuteWithParams of the detail VO instance (in a managed bean).

    I would now like to generate a report that loop on the master table and that, for each line of master:

    • He writes in the report;
    • loops of registration of details (which are based on the master record) and also writes the report.


    Could you kindly suggest me which is the best way to achieve that through a code to write in a managed bean?

    Here I am interested how do to loop through the data, not in how to write the report.

    Thank you

    Federico

    Yes it will affect the selected line. If you want to ignore try using this code

        DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("DepartmentsView1Iterator");
        ViewObject vo = iter.getViewObject();
        for (int i = 0; i < vo.getEstimatedRowCount(); i++)
        {
          Row r = vo.getRowAtRangeIndex(i);
          System.out.println("DeptId= " + r.getAttribute("DepartmentId"));
        }
    
  • Detailed report of Master - by using the checkboxes and jquery

    I need to report master detail of 2 levels.

    The requirements of detailed report Master

    1. when users are visiting the first time on this page all departments have to display.

    2. the first line box should be checked by default.

    3. all employees of the Department Checked (selected) must be posted.

    4. the first line box must be checked.

    5. all the addresses checked employee must be posted.

    6 at a given time that a single checkbox should be checked.

    7. If United Nations a user controls check, he doesn't have to. If
    another checkbox in this report is verified previous activated box must
    be deselected

    8 if the top of the page master record (Dept) is modified, then all children reports must be refreshed.

    --------------------------

    Example:

    The master first report displays a tabular report with a Checkbox, check out a query for the report of the departments.

    SELECT
    DEPTNO,
    APEX_ITEM. CheckBox (2,
    DEPTNO, "class = 'deptnochk" ')
    DEPTNO_LINK,

    DNAME, LOC
    OF THE DEPARTMENT

    -The child report shows the employees of the audited Department.

    SELECT

    EMPNO,

    APEX_ITEM. CheckBox (2,

    EMPNO, "class = 'empnochk" ')

    EMPNO_LINK,

    ENAME, JOB,

    MGR, HIREDATE, SAL,

    COMM, DEPTNO

    FROM EMP WHERE DEPTNO =: P67_DEPTNO

    ----------------------------

    The third report is like a big kid of the Department and of the Emp.

    SELECT

    EMPNO, ADD1, DEPTNO

    EMP_ADDRESSES WHERE DEPTNO =: P67_DEPTNO AND EMPNO =: P67_EMPNO

    --------------------------------------------------------------------------------------------------

    I used jquery to refresh the reports. But it is not working properly. Created a demo application

    https://Apex.Oracle.com/pls/Apex/f?p=45925:1:11600119458562

    Please help to make it work.

    Thank you

    Satya

    In case anyone is still interested I've set up two demonstrations.

    A demo of different ways to select a line.

    And a demo of a refresh of master retail. With the selection of the first row on the updating of the report.

    Nicolette

  • How to disable dynamically interactive report filed in the page master detail

    I use APEX 4.0 & very new to APEX. I am not able to disable a class in area of detail (which is an interactive report) of a master detail Page.
    I want to turn off the field in a row based on the value of another field of recording, like set_item_instance_property of the oracle forms. Please help me.

    See {message identifier: = 10743324}

  • Master detail in bi 11g publisher report

    Hi all

    We use OBIEE 11 g (11.1.1.6).

    How to achieve master-detail or Parent/child relationships in BI Publihser reports. Selectiing or modification of a value in column in the parent report should make the report child/chart etc...
    I understand that this can be done through to join several sets of data in a data model.

    One cannot explain.

    Thank you.

    check the below

    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/FMW/bi//BIP/advancedbip/advancedbip.htm#T3

    http://www.YouTube.com/watch?v=NPbKRnSkDVM

    using the rtf template

    http://bipconsulting.blogspot.com/2010/02/drill-down-to-detail-or-another-report.html

  • Master/detail for printing of PDF report

    My application allows end-users a way to fill a transport request via a form, separated by about 10 regions. The application consists of about 50 fields (from the table requests) and n number of transport, penetrated through tabular form in the application form. Once they complete it and send it to the transport Department, I want them to be able to generate a master/detail of the application report , with information of demand on top and all the transport on a table.

    The DBA installed Apache FOP and it works fine for printing the report. We are on Apex 3.2, exploiting an Oracle 11g database.

    So I followed this guide: http://www.oracle.com/technology/products/database/application_express/howtos/howto_master_detail_pdf.html. I have created a master/detail form, installed Desktop Publisher BI, created the RTF template, everythng. But it is not out of what I want.

    When I "print" to PDF, I get only a table with transport, but no info on demand at all, even if I choose "Advanced (include session state information)" and I does not include session state information on all the variables I wanted for the output in the PDF file.

    Any idea of what this could be the cause? Session state disappears somehow when I print the PDF? Or is there a better way to solve this problem? Any help is welcome.

    Best regards
    Mathieu

    I decided to buy FO Designer of the Java4Less. For $ 60, it's a flight, and it works well. Need to change a thing or not in the XSL - FO generated, but nothing too difficult at the moment.

    Best regards
    Mathieu

  • Master-detail functionality between the regions of PL/SQL and IR possible?

    4.2.1

    THM 2

    Hi all

    We have two regions in a page. The upper region is a region of PL/SQL that lists the 5 best wages by Dept. This was not done using traditional reports because management wanted a "dashboard" as the look and feel that is already existing and what is happening in that it is a pl/sql block that has the sliders and the necessary HTML, CSS in there.

    Below that is an IR when the user clicks on the dept of region of PL/SQL, it will refresh the IR below to display all employees in this Department

    Top of the page shows region of PL/SQL

    EMP name Dept wage

    Emp1 10 10000

    EMP2 10 950

    Emp3 20 800

    The Dept field is a hyperlink.

    When we click on Dept on this region of PL/SQL

    The lower IR should be updated (without submit page)

    Output

    Emp1 10 10000

    EMP2 10 950

    It is a kind of master-detail relationship between PL/SQL and Report (Detail) (Master) area Interactive

    We can hyperlink in the SQL in pl/sql area, but you wonder how trap line and pass the dept id to the IR and get this region to refresh account?

    All suggestions from the experts?

    Thank you

    Ryan

    It is a way to pass the info in connection

    Perform the dynamic Action of the link column report

    The dynamic action can submit the session state value, and then refresh the IR.

    On either by the way, you must create dynamic PL/SQL region to solve this problem, see this

    APEX reports: layout custom with a column named (model line)

  • Import/Export of master detail Page lose columns on the MRU

    When I export and then import my request, master details page loses column on retail MRU on Version 4.2.3.00.08

    I tried to import and export in the same environment and our development environment to production environment with all the application and just the page and it still loses the columns.

    It's the work insert debug statement

    ...... Rank 1: insert into "SHARED_INFRASTRUCTURE". "" CODE_GROUP_VERSION values ' ('CODE_GROUP_VERSION_ID', 'CODE_GROUP_ID', 'VERSION_NO', 'VALUE_SET_OID', 'DEFINING_ORGNZTN_VERSION_ID', 'REFERENCE_TXT', 'REFERENCE_DSC', 'EFFECTIVE_START_DT', 'EFFECTIVE_END_DT', 'STATUS_CD', 'CREATED_DTS', "CREATED_BY_USER_ID") (: b1,: b2,: b3: b4,: b5,: b6,: b7,: b8,: b9,: b10,: b11,: b12)

    This is the debug statement insert to import and export which does not work properly.

    ...... Rank 1: insert into "SHARED_INFRASTRUCTURE". "" The values CODE_GROUP_VERSION "("CODE_GROUP_VERSION_ID","CODE_GROUP_ID") (: b1,: b2)

    This is resolved.  There are two editable under conditional display reports and he used the second update report.  Changed to a single display report and he picked up the first editable report.

Maybe you are looking for