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

Tags: Database

Similar Questions

  • REPORT master / detail AJAX

    Hey everybody,

    I need to create a page with 2 report, master and detail regions, I would like to than the detail section to be updated when a link to the image or button is clicked on the master report. Pretty simple right?

    However, I would like to implement this using AJAX, if possible techniques, I can avoid refreshing the page whenever you click on a link.

    Does anyone have an experience with a problem like this, if yes, could you give me some resources and ideas on how I should start.

    Thank you!

    Published by: Codes on December 2, 2009 05:41

    Hello

    Have a look here...

    [http://munkyben.wordpress.com/2009/05/10/flexible-ajax-calls-1/]

    See you soon

    Ben

  • report/master-details form

    Hi friends,

    I want to create a master report/form / retail.
    I have a master table and it has 3 tables of detail.
    Example: 
    
    Master Table: Members
    Detail Tables: Contributions
                   Loans
                   Benefit Claims
    I want to show when I click on a particular Member in the edition of the report, I can make entry/updated at all
    3 detail tables. And will not each entry separately.


    This requirement of design is good?


    Thank you very much

    Here you can watch how to create several detail tables:

    http://HTMLDB.Oracle.com/pls/OTN/f?p=31517:163

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • 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

  • [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"));
        }
    
  • List of selection in the report area. Everything is not in order...

    I want to have one item in a report from the region. The selected item in the list of selection of is the 'master' for records in the region. It worked very well, but after the removal of another region on the same page that the selection list is now displayed under the State rather than on the top of the report. I can't find a way to get back on top.

    In fact I can't find any attribute that determines what comes first in this situation. It is bad practice to use an item in a report region?

    Hello René,.

    What is the view point of your region? Try the configuration in "body of Page Template (3.» (éléments ci-dessus contenu région) ".

    Kind regards
    Dirk

  • 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.

  • 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: several lines in detail are selected default

    Hello world

    I use Jdev 12 c and facing a problem, in a scenario of master / detail, several lines are by default selected in the secondary table, I checked the line selection unique option in the configuration of the table. Please see the snapshot for clarity.

    Attachments.PNG

    Help, please

    Kind regards

    Crusher

    You normally see this problem when the vo or eo is not a primary key defined. Check that each OT and vo should have a defined primary key that is unique for the vo.

    Timo

  • How to create a report based on the item selected from the list of selection?

    Hello

    I created a tables_LOV based on:

    Select table_name table_name user_tab_cols r, d

    where column_name like '% _type % '.

    Then I created a ListOfTables page element, display in a selection list and pointing to tables_LOV.

    I run the page, and I can choose the table I want in the drop-down list.

    How to create a report based on the selected element? (ex: select * from selected_table)

    Thanks in advance

    Salah

    Hi Salah,

    Allright, take a look at this page: http://apex.oracle.com/pls/apex/f?p=vincentdeelen:collection_report

    I think that simulates what you are trying to accomplish. I've implemented the simplest method I could think of.

    The report is based on a collection of apex. If you are not familiar with this, you should study the documentation: APEX_COLLECTION

    To recreate my example, you should:

    (1) create a report (interactive) on your collection

    SELECT *
       FROM APEX_collections
     WHERE collection_name = 'MY_COLLECTION'
    

    (2) create a selection list page_item for the tables that you want to display (in my case, this is called "P38_TABLES")

    (3) create a dynamic action that triggers on the evolution of your selection list page_item. Dynamic action must be a parade of PL/SQL procedure the following code:

    declare
      l_query varchar2(4000);
    begin
      l_query := 'select * from '||:P38_TABLES;
      if apex_collection.collection_exists
            ( p_collection_name => 'MY_COLLECTION' )
      then
        apex_collection.delete_collection
          ( p_collection_name => 'MY_COLLECTION' );
      end if;
    
      apex_collection.create_collection_from_query
        ( p_collection_name => 'MY_COLLECTION'
        , p_query           => l_query
        );
    end;
    

    Make sure that you add your page_item 'Page to send items' section.

    (4) add a real extra action that makes an update of the report area.

    Here are two photos describing the da:

    http://www.vincentdeelen.com/images/OTN/OTN_COLLECTION_REPORT_DA1.PNG

    http://www.vincentdeelen.com/images/OTN/OTN_COLLECTION_REPORT_DA2.PNG

    Good luck and greetings,

    Vincent

    http://vincentdeelen.blogspot.com

  • 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 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.

  • 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?

  • 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

Maybe you are looking for