How to Create Master Detail Page with Query Region

Hi,
1. I have a requirement that i need to create a Master(Supplier) Detail(Supplier Site) Page with Query Region.
Eg. Supplier A in Australia has Supplier Sites X in Melbourne and Y in Sydney.
      Supplier B in US has Supplier Sites C in New York and D in California.
I need to have Search, based on two fields Supplier Name and Country
Let us assume i am searching with Supplier Name A then the page should be in the below layout
Query Region
Supplier Name : A
Country:
Master
Supplier Name  Country
    A                     Australia
Detail
Supplier Site  City
X                   Melbourne
Y                   Sydney
In detail VO it should allow me to add new sites which means i need to connect this VO to database to insert new records
I have gone few threads and understood that this can be achieved by creating SupplierVO, SupplierSiteVO and a ViewLink.
But when tried i don't know how can i relate my query region with the Suppleir Table(Header Reagin and Table Using Wizard) and Supplier Site Table(Header Region and Table Using Wizard) i am not sure if i am correct or not, please advise
2. Also i need to have a Open button in this page and if click the button it should navigate to some other page.
Please help me how can i achieve this.
- How to design my page with query region and master detail tables
- what is the AM and CO code need to be handled
- What is the code should i write in Open button to open new OAF page.
Thanks,
CSK

Hi,
This link will be useful for your requirement.
Master Detail Page using Hide Show and Advanced Table inside Advanced Table - OracleArea51.com
Let me know if you need more help in this.
Thanks and Regards,
Myvizhi

Similar Messages

  • Can I set up a Master-Detail Page with report regions for 2 Detail Tables?

    Hi there,
    I am just starting to use Application Express.
    I have a Table (A) with Master-Detail relationships to two Tables B & C.
    I can set up a Master-Detail Page between Table A and Table B, where the records displayed in Table B change when switching between records in Table A. I would like to add Table C to the page and for this to work in the same way.
    Is this possible in APEX? (I've tried adding a report region for Table C and making the Region Source dependent on the same ID field as is used by the report region for Table B but I keep getting "No Data Found" for Table C).
    Many thanks.

    Thanks, but the text needs to be on a single master page which every page is assigned to. This is so the text alternates correctly regardless of whether new pages are inserted or moved. If I assigned separate master pages to individual pages and then moved the pages to a different location, the alternating footer text would then fall out of sync. I hope that made sense!

  • How to Create Master-Detail OA Page

    Hi,
    I'm trying to create Master - Detail Page in OAF, but i can't find right way to do that.
    Can anyone please explain me in steps how to create or give me any document/web link for reference.
    Thanks,
    SAN

    Hi
    chk below links
    http://oracle.anilpassi.com/master-detail-screen-in-oa-framework-part-i-2.html
    http://oraclearea51.com/blog/master-detail-page-in-oa-framework.html
    Thanks
    Pratap

  • How to create a transport request with query and only with its structure.

    HI guru,
                how to create a transport request with query and only with its structure.transport request should not  include any other query items like ( variables, conditions...etc)
    thanks in advance.
    venkata

    Hi,
    Goto RSA1 and then Transport Connection -> In SAP Transports select Object Types-> Query Elements -> Then select Query->Give Technical name of the query and then select for transfer. In the right side you can choose the components which you wanted to transport.
    Regards,
    anil

  • Master-detail page with form layout -- insert only -- not in create mode

    JDeveloper 10.1.3.1 with JHeadstart
    I have the following master-detail structure in JHeadstart:
    Group 1, Table a, Layout: table-form
    Group 2, Table b, Layout: table-form
    Group 3, Table c, Layout: form
    Group 4, Table d, Layout: form (on same page as master table c)
    Table a, b and c are updatable (insert, update and delete).
    I have problems with the last page, tables c and d, master-datail both in form layout.
    The master-table (c) is not an insert-only table, the detail table needs to be an insert-only form on the same page as the master table c.
    Settings Table d:
    Advanced search and quick search: none
    Autoquery: disabled
    Single row insert allowed (other options in Operations disabled)
    In my view object I have used the settings in the JDeveloper guide 8.1.2 ('no rows...' in tab Tuning).
    I run my application in JDeveloper (with the option run in my ViewController-project, which means that I am not running my detail page directly in JDeveloper??) and when I open this last page, the detail form is not in create mode (I see no rows found and a create rows button).
    I have read several threads in this forum, but I do not know how to solve this problem.

    This does not work.
    In my first post I made an mistake in describing my application, it is not a table-form, but a tree-form application:
    Group 1, Table a, Layout: tree-form
    Group 2, Table b, Layout: tree-form
    Group 3, Table c, Layout: tree-form
    Group 4, Table d, Layout: form (on same page as master table c)
    If I override the executeQueryForCollection method in the ViewObjectImpl of table d I get a message ('JBO-27122: SQL-fout tijdens voorbereiding van statement' and 'java.sql.SQLException: OALL8 is in an inconsistent state').
    while clicking on the tree (with table b and c). It seems that the QueryForCollection method is being executed to early.

  • Master/Detail page with Update function

    Hi folks, I hope someone can help me with this issue.
    I'm writing a site in ASP for a club w/ a large membership.
    Part of the private side involves selecting a member and updating
    her info. The procedure is broken down because the end-users aren't
    all that computer savvy and need step-by-step instructions.
    1) Text box for a search where they enter a last name.
    2) Search brings back list of all w/ that name (Master Page)
    3) Detail page *ideally* should be the update page, but that
    wasn't happening. (Would like it to though.) So I left the detail
    page alone and linked it to a separate update page w/ the same
    variable passed through.
    4) The update page appears w/ the correct record, but when
    the submit button gets hit, I get the following error message:
    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
    [Microsoft][ODBC Microsoft Access Driver] Syntax error in
    UPDATE statement.
    /etcetcetcetc.asp, line 111
    I'm using the DW8 wizard to create the Update code (all of
    the code, really) and I have *never* run into this problem and I've
    been using DW since Version 2!
    Any ideas? Best case scenario is to have the detail page also
    be the update page, but when I tried that, I got the detail page in
    a table and a separate update form with the wrong record.
    Help???

    hi .. I just saw your response .. give me a few minutes to
    get through the
    code. :) thanks for posting it.
    Nancy Gill
    Adobe Community Expert
    BLOG:
    http://www.dmxwishes.com/blog.asp
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner's
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "adduncan" <[email protected]> wrote in
    message
    news:[email protected]...
    > Thanks for replying. Here's the code for the updates:
    > ---------------------------------------
    > ' *** Edit Operations: declare variables
    >
    > Dim MM_editAction
    > Dim MM_abortEdit
    > Dim MM_editQuery
    > Dim MM_editCmd
    >
    > Dim MM_editConnection
    > Dim MM_editTable
    > Dim MM_editRedirectUrl
    > Dim MM_editColumn
    > Dim MM_recordId
    >
    > Dim MM_fieldsStr
    > Dim MM_columnsStr
    > Dim MM_fields
    > Dim MM_columns
    > Dim MM_typeArray
    > Dim MM_formVal
    > Dim MM_delim
    > Dim MM_altVal
    > Dim MM_emptyVal
    > Dim MM_i
    >
    > MM_editAction =
    CStr(Request.ServerVariables("SCRIPT_NAME"))
    > If (Request.QueryString <> "") Then
    > MM_editAction = MM_editAction & "?" &
    > Server.HTMLEncode(Request.QueryString)
    > End If
    >
    > ' boolean to abort record edit
    > MM_abortEdit = false
    >
    > ' query string to execute
    > MM_editQuery = ""
    > %>
    > <%
    > ' *** Update Record: set variables
    >
    > If (CStr(Request("MM_update")) = "form1" And
    CStr(Request("MM_recordId"))
    > <>
    > "") Then
    >
    > MM_editConnection = MM_connJoe_STRING
    > MM_editTable = "DAR2"
    > MM_editColumn = "ID"
    > MM_recordId = "" + Request.Form("MM_recordId") + ""
    > MM_editRedirectUrl = "registrar.asp"
    > MM_fieldsStr =
    >
    "Prefix|value|FirstName|value|MiddleName|value|MaidenName|value|LastName|value|N
    >
    ickname|value|AreaCode|value|PhoneNo|value|DOB|value|DateApproved|value|SpouseNa
    >
    me|value|SpouseNameSuffix|value|Address1|value|Address2|value|City|value|State|v
    >
    alue|Zip|value|MemType|value|AncestorName|value|AncestorState|value|Email|value|
    >
    FaxNumber|value|DateDeceased|value|DateTransferrredIn|value|DateTransferredOut|v
    >
    alue|Resigned|value|Reinstated|value|CurrentJunior|value|year_25|value|year_50|v
    >
    alue|ChapOffice|value|StateOffice|value|NatlOffice|value|ChapChair|value|StateCh
    >
    air|value|NatlChair|value|LastUpdate|value|rec_newsletter|value|access_level|val
    > ue|deceased|value|current_member|value"
    > MM_columnsStr =
    >
    "Prefix|',none,''|FirstName|',none,''|MiddleName|',none,''|MaidenName|',none,''|
    >
    LastName|',none,''|Nickname|',none,''|AreaCode|',none,''|PhoneNo|',none,''|DOB|'
    >
    ,none,NULL|DateApproved|',none,NULL|SpouseName|',none,''|SpouseNameSuffix|',none
    >
    ,''|Address1|',none,''|Address2|',none,''|City|',none,''|State|',none,''|Zip|',n
    >
    one,''|MemType|',none,''|AncestorName|',none,''|AncestorState|',none,''|E-mail|'
    >
    ,none,''|FaxNumber|',none,''|DateDeceased|',none,NULL|DateTransferrredIn|',none,
    >
    NULL|DateTransferredOut|',none,NULL|Resigned|',none,NULL|Reinstated|',none,''|Cu
    >
    rrentJunior|none,'Y','N'|year_25|none,'Y','N'|year_50|none,'Y','N'|ChapOffice|',
    >
    none,''|StateOffice|',none,''|NatlOffice|',none,''|ChapChair|',none,''|StateChai
    >
    r|',none,''|NatlChair|',none,''|LastUpdate|',none,NULL|rec_newsletter|',none,''|
    >
    access_level|',none,''|deceased|none,'Y','N'|current_member|none,'Y','N'"
    >
    > ' create the MM_fields and MM_columns arrays
    > MM_fields = Split(MM_fieldsStr, "|")
    > MM_columns = Split(MM_columnsStr, "|")
    >
    > ' set the form values
    > For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2
    > MM_fields(MM_i+1) = CStr(Request.Form(MM_fields(MM_i)))
    > Next
    >
    > ' append the query string to the redirect URL
    > If (MM_editRedirectUrl <> "" And
    Request.QueryString <> "") Then
    > If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0
    And
    > Request.QueryString <> "") Then
    > MM_editRedirectUrl = MM_editRedirectUrl & "?" &
    Request.QueryString
    > Else
    > MM_editRedirectUrl = MM_editRedirectUrl & "&"
    & Request.QueryString
    > End If
    > End If
    >
    > End If
    > %>
    > <%
    > ' *** Update Record: construct a sql update statement
    and execute it
    >
    > If (CStr(Request("MM_update")) <> "" And
    CStr(Request("MM_recordId")) <>
    > "")
    > Then
    >
    > ' create the sql update statement
    > MM_editQuery = "update " & MM_editTable & " set
    > For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2
    > MM_formVal = MM_fields(MM_i+1)
    > MM_typeArray = Split(MM_columns(MM_i+1),",")
    > MM_delim = MM_typeArray(0)
    > If (MM_delim = "none") Then MM_delim = ""
    > MM_altVal = MM_typeArray(1)
    > If (MM_altVal = "none") Then MM_altVal = ""
    > MM_emptyVal = MM_typeArray(2)
    > If (MM_emptyVal = "none") Then MM_emptyVal = ""
    > If (MM_formVal = "") Then
    > MM_formVal = MM_emptyVal
    > Else
    > If (MM_altVal <> "") Then
    > MM_formVal = MM_altVal
    > ElseIf (MM_delim = "'") Then ' escape quotes
    > MM_formVal = "'" & Replace(MM_formVal,"'","''")
    > Else
    > MM_formVal = MM_delim + MM_formVal + MM_delim
    > End If
    > End If
    > If (MM_i <> LBound(MM_fields)) Then
    > MM_editQuery = MM_editQuery & ","
    > End If
    > MM_editQuery = MM_editQuery & MM_columns(MM_i) &
    " = " & MM_formVal
    > Next
    > MM_editQuery = MM_editQuery & " where " &
    MM_editColumn & " = " &
    > MM_recordId
    >
    > If (Not MM_abortEdit) Then
    > ' execute the update
    > Set MM_editCmd = Server.CreateObject("ADODB.Command")
    > MM_editCmd.ActiveConnection = MM_editConnection
    > MM_editCmd.CommandText = MM_editQuery
    > MM_editCmd.Execute
    <------- This is Line 111
    > MM_editCmd.ActiveConnection.Close
    >
    > I already closed up the gaps/spaces in the column names.
    That caused a
    > different error message.
    > Funny thing is, if I just use a plain, ordinary update
    page without all of
    > the
    > search and other functions, it works.
    >
    > Thank you again.
    >

  • Creating master details application with views!

    Hi All,
    I have a requirement to create the master details with the views, but when I was trying to create the master details its asking me for Master Table name & detail table name. Here I am giving the master table name in place of detail table name I am using view but its not showing my view in query builder, my view is already there in the database
    any idea why its not showing my view?
    Thanks,
    Suma.

    Hi Claudia,
    I am so sorry, but I do not check the Oracle forums every day. I am under presser, because have to relocate from Bulgaria to the USA through the end of November.
    Shortly, any view could be updatable under many restrictions. I suppose, that is the reason for the errors. I don’t know what kind of connection you have between those two tables.
    Under all these circumstances, I’ll offer you to build first a form on the base of the first table which all columns are used. Then you can test, refine, and finish all details about it.
    Second, you can Create Page Computation retrieving the column (value, if any) from the second table.
    Third, you should Create Page Process on Submit of type “PL/SQL anonymous block”, which will INSERT the calculated (entered) value into second table.
    You gain:
    1. Full power of ApEx to build automatically forms and reports.
    2. Min. manual work.
    3. You can use the select statement from the view to build your SQL query.
    4. You are able to build and test that part of the application step by step.
    Konstantin
    [email protected]

  • How to create Master Detail Form in htmldb 2.0

    This option use to be available in 1.6 but I can't see it anywhere in 2.0.

    Anonymous - Create Page>Form>Master Detail Form.
    Scott

  • How to create a home page (with flash images) in Oracle Portal  10g

    Hi,
    I want to create a home page in Oracle Portal 10g using flash images.
    How to create all those things ?
    Weather it should be created in pages or pagegroups or HTML portlet / some other.
    please help me.

    You can find in knowledge exchange a script to create an flash file item type. With this installed you can add a flash file to an item region on a page.
    Grtz,
    Dirk

  • How to: create a Login page with data tags

    hi, how could i create a jsp login page using the data tags.. and how to associate it with the other jsp pages that should be displayed in case of the correct insertion of the password .

    http://technet.oracle.com:89/ubb/Forum2/HTML/006025.html

  • How to create a 404 page with LabVIEW web services?

    Hi community,
    I guess the question says it all... I have my site up and running but I'd like to create a default 404 page just in case the user mistypes something. How can I do that?
    thank!
    Solved!
    Go to Solution.

    1984 wrote:
    My question is how can I configure LV to display a custom 404 message instead of just displaying the default?
    Thanks for asking if i have problems publishing a page after I wrote in my first comment that I have my site up and running.
    I believe he's telling you to use the same logic that was used to display the error, but instead of displaying an error, display your custom page.  I asked if you had trouble publishing the page because I thought that Shane's clarification post was pretty self-explanatory and that was the only thing I could think that you would be having issues with.  And I guess your site isn't truly up and running if you wanted to display a custom 404 page and was not able to do so.  I would say it was still under construction. 
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • [newbie] How to create a home page with no bottom

    Hi, I'm new to Flex and ActionScript. I'm studying a book
    both on Flex and ActionScript and I'm trying to get started with my
    website. I was able to create the skeleton of it, with an
    ApplicationControlBar at the top, a banner component to the right,
    etc
    Now I wanted the central part of my page to be bottomless,
    meaning that I could add content indefinitely and the user could
    scroll the content with the mouse wheel. However, the only way I
    found so far is to use a text area; the problem is that the
    textarea is in the central part of the page, and when the text goes
    beyond the height, scroll bars appear on the textarea, which is
    horrible. I'd like a similar style as
    http://www.facebook.com/home.php
    Can you see that the page is 'scrollable', with the content
    in the centre but the scroll bars only at the side? How could I
    achieve the same format with Flex 3?
    Thanks.

    Hi,
    Did you try setting textarea's verticalScrollPolicy to
    ScrollPolicy.NONE?
    The textfield within textarea should handle mouse wheel
    scroll now without the scrollbars appearing next to the text area.
    If you need to programmatically scroll, just change the
    verticalScrollPosition.

  • Unable to create master detail report

    Hi,
    I´ve two tables (Organisation and Purchases) and want to create a master-deatil with the wizard.
    At the end an error occurs:
    ORA-20001: Unable to create master detail page. ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Unable to create Master Detail pages.
    Return to application.
    Any ideas ? Any reaction will be appreciated
    Leo

    Leo,
    How are your two tables related? Do you have a foreign key constraint? It sounds like that there may be a datatype mismatch between the master table's PK and the detail table's FK - check to make sure that they are both NUMBER.
    Thanks,
    - Scott -

  • Help master detail page

    I'm building a coupon website I finish all the back end
    management information into my database now I'm getting frustrated
    I try to figure out how to create a detail page from my master
    page.
    Inside my master page I have a table with the list of all my
    offers inside I have logo/store/description/coupon/date. I want the
    peolpe to click on the link store and have the full coupon list of
    that store.
    So far what I did I get the right url string
    store_detail.php?recordID=00inkjets.com but but on my store_detail
    page I get only 1 record whatever link I click. I tested my
    store_detail page putting manually my store id number like
    store_detail.php?recordID=7 and it's working fine.
    I'm using dreamweaver MX2004, php, mysql for my dabase
    structure I have:
    -merchants-
    id
    name
    url
    extra
    -deals-
    dealID
    logo
    merchID
    description
    coupon
    expire
    cat_id
    -category-
    id
    name
    thanks in advance for any help...

    A Master Detail Page is a basically a game between two VOs(Master and Detail mostly connected through a View Link). You can also have a look at the View Link section in the Dev guide. Page Layouts is one thing which you can take a call yourself.
    Regards
    Sumit

  • Master & Detail Pages

    Hello all,
    I am asking for help on creating Master - Detail pages. I am using Wamp version 2. Database name "TestingCo" with 3 tables:
    Users:      user_id                int(4)           Primary_Key
                   user_fname          varchar(30)
                   user_lname          varchar(30)
                   user_license_id    int(4)
                   user_pix_id          int(4)
    Licenses: license_id           int(4)             Primary_Key
                   license_no          varchar(10)
    Pictures:  pix_id                 int(4)             Primary_Key
                   pix_url                varchar(50)
    1. I create a recordset called: rsMasterDetail:
         * with all fields from all 3 tables.
         * Where users.user_pix_id = pictures.pix_id AND users.user_license_id = licenses.license_id
         * Order By users.urser_fname
    2. On Master page, I insert Master Detail Page Set:
         * Master page fields: All fields from rsMasterDetail recordset.
         * Link to Detail from: user_id          / later I tried: user_fname         
         * Pass unique key:   user_id          / later I tried: one by one from each field of Users table.
         * Show: All records
         * Detail page name:     Detailpage.php
         * Detail page fields:     All from rsMasterDetail recordset.
    3. Result: (I always get the same result as below).
         * Masterpage.php - perfect - All correct display between 3 relational tables
         (*) Detailpage.php - when I click on any link from the Masterpage.php:
              - All the fields from Users table are displayed correctly depending on which link I clicked on Masterpage.php
              (+) The fields from table Licenses are displayed the first row only (1st record of the table.)???????????????
              (+) The fields from tabel Pictures are displayed the first row only???????????????
    A. When I built the rsMasterDetail recordset, I test it and the result is good.
    B. The masterpage.php shows all fields in perfect order.
    There must be something wrong when the information passes from Master page to Detail page!??!!???
    Please help me!
    Thank you

    Hi Lon,
    When I test it, the tables relationship is perfect since all three tables line up correctly on the masterpage.php. If there is problem with tables relationship, I should also have such problem with the masterpage.php.
    I, once tried to build another recordset called: rsTest. This time I had only 2 tables: Users and Licenses. The result was the same; only the first row of the licenses table would show on the detailpage.php; while the masterpage.php the rows on both tables line up correctly.
    I have tried many ways to find solutions unsuccessfully. What I get so far is:
    * The recordset is display correctly every single time when I click the "Test" button, as well as on the masterpage.php (I meant the tables relationship).
    * When the link on the masterpage.php is clicked, the detailpage.php supposes come up and display all rows of 3 tables of the linked record. However, all rows of the 1st table are correctly displayed, and the other table(s) only show its first row regardless which link on the Masterpage.php was clicked.
    I hope you and others gurus can help me out.
    I appreciate your help.

Maybe you are looking for