Master-detail with independent tables

Hi experts,

I use JDeveloper 11.1.2.4.0

I have two independent table (not related by foreign key), but I have to post this tables table of master / detail in the user interface and allow operation in milk CURD.
The two table have a common field so I can use this field to display link to make the relationship. Even if there is no foreign key, association is not created when I created the business components

Will I have to create an association for master-detail?

I created a view link and tested the functionality and his work has found.

Are there overhead if I create a master detail without an association?

I would like to learn more about the role of the association master detail design.

In the hope of good advise and suggestions.

Thank you and best regards,
Gijith (GTG)

YHI,

There is no overload. You use assiciatons if you need analyze the relationship at the level of the entity. So its good how you

Frank

Tags: Java

Similar Questions

  • Urgent! Master - detailed with the option/Hide search

    Hello

    I developed a page OFA master / detail with the option/Hide.

    in my search option, I have main and detail columns.


    How can I control query vo level of detail.


    For example. If I pass point not in the search option as well as customer, I could get only this line item for this CUST.


    I created the main query parameters and I'm passing param values in a methos to AM.

    When I click on show details his exception throw.


    Can someone help me please how to do this. Its urgent...



    Thank you

    Hello

    Error is due to the original Version of details may not get the value of the bind variable when judicially.

    Check your steps with this link http://apps2fusion.com/at/51-ps/333-oa-framework-master-detail-region-mandatory-steps.

    If still you face the same thing then let us know.

    Kind regards
    GYAN

  • Filtering Page master/detail with a menu drop-down

    Hey there!

    I'm going to build a Web site where I have the list of some products on a master page and can be clicked to go into details.

    I do it through the Insert > data objects > page master detail and it works very well...

    but I can't filter the results of the master page with a menu drop-down.

    Can anyone help? I'm in a bit of desperation ;-)

    Thank you

    Jaume

    Yes, this is what happens - you will be variable on the page of search results page. The variable name is what you called the drop, as MyDropDown. The value is what is the value of the selected item. So, now on the results page, create your recordset. As we use only a variable as a filter, use the simple mode. Working up and down in the dialogue window, name the Recordset, select the connection and the table.  Below, yo have four entries/selections to make. Select the database column that is filtered, in the other, select '='. Below on the left select "Variable form". The text box to the right of that will be pre populated with the name of the column. Replace it with the variable name, the name of the drop-down list on the page of research - such as "MyDropDown", without the quotes, or anything else. Click Test and you will be presented with a window asking for a value - enter any value that is contained in the menu drop down and ensure that the recordset object gives results and only records with that value. If it works, save it and're you good to go. If this isn't the case, then we will do some troubleshooting.

  • Problem with application master / detail with AdvancedTable

    Hello

    We have a region of master / details in a standard way as follows.
    1. a MasterVO, a child VO, ViewLink connecting them.
    2. on the page, we have an AdvancedTable based on MasterVO and an AdvancedTable nested in a region to show/hide for more details.
    3. in the processRequest() CO, the association is defined as
    OAWebBean outerTable = (OAWebBean) webBean.findChildRecursive ("ResultsTable");
    OAWebBean innerTable = (OAWebBean) webBean.findChildRecursive ("PmtInstructionsTable");
    If (outerTable! = null) {outerTable.setAttributeValue (CHILD_VIEW_ATTRIBUTE_NAME, "PaymentServiceRequestId");
    outerTable.setAttributeValue(VIEW_LINK_NAME,"PsrToPmtInstructionsVL1") ;}
    If (innerTable! = null) {innerTable.setAttributeValue (CHILD_VIEW_ATTRIBUTE_NAME, "PaymentServiceRequestId");
    innerTable.setAttributeValue (VIEW_LINK_NAME, "PsrToPmtInstructionsVL1");
    4. When you press a button to refresh on this table, executeQuery() is called on MasterVO.
    In the test case, I change some attributes in both your. Problem here is that, after this update, the master is on the line is being updated but the detail of any line of MasterVO, is not updated DB. I confirmed this JDev logs too this detail VO query is not executed.
    It is not supposed to have the details updated through VL line?
    Try each of the following:
    a. clearCache() on innerTable
    b. executeQuery() on DetailVO during the refresh.
    c. instead of the programmatic association of the master / detail, defined the relationship of step 3

    It seems that AdvancedTable used to detail is cached information. How can this be avoided? Or am I missing something else?

    For reference,.
    CO: http://aru.us.oracle.com:8080/src/R12/120.9/ap/java/payments/psr/webui/PsrSearchCO.java & & 120.9
    VOImpl: http://aru.us.oracle.com:8080/src/R12/120.14/ap/java/payments/psr/server/PsrSearchVOImpl.java & & 120.14


    I tried to implement the various forum posts but always failed, so posting it here.

    Thank you
    Combet

    I had problems with the lines of childVO does not show correctly when you use a train, I have cleared the cache on the table with the following processRequest code

    Table OAAdvancedTableBean = (OAAdvancedTableBean) webBean.findChildRecursive ("childTableRN");
    table.clearCache (pageContext);

    don't know if this will help with your problem but if it's worth a mention.

    Bravo, Mike

  • Creating lines of master / details in a table

    Hello

    How to create the relationship of the master / detail between the columns in a table?

    For example, I have a table with 3 columns as address (input box), Country (a selection list box), State (select one box list). I create State LoVs using view accessors for table and country view object. By choosing a country, I need to dig the status column values according to the selected country.

    Thank you.

    Hello

    I guess that you need a "cascading LOVs.
    (1) create viewObject for list of country values. Named VO1.
    (2) create viewObject for list of status values. The name of VO2.
    (3) create view for (variable binding) VO2 criteria that may restrict the result by country.
    (4) create view accessor to get VO1.
    (5) create view accessor to get the VO2. Set the value of the bind variable which can provide country information dynamically. I guess it must be a Groovy expression.
    (View accessor 6) Create country LOV on step 4).
    (View accessor 7) create the State LOV on step 5).

    Fact

    On the view layer, you can enable PPR between countries and the States of the attributes.

    Todd

  • Grid master detail with flash remoting

    I tried to fill a detail grid based selection of main grid, I finally got the second grid (detail) to fill when I chose a recording of the first grid (master), unfortunately I lost the fields of text entry for the master record to which I am bound by the master grid. now, I'm just the details records.
    The two grids are populated by 2 different applications residing in the same CFC.

    I start by filling the master grid (userGrid), then when a line is selected I spend the primary key of the selected lines to the function that calls the query of detail in the cfc. This query selects only records where the master primary key = the foreign key in the secondary table.

    It is an example of the code that is in the script tag, which deals with the grid:

    var responseHandler:Object = {};

    var userGrid:mx.controls.DataGrid = userGrid; (this is the main gate)
    var userIdGrid:mx.controls.DataGrid = userIdGrid; (it's the detail grid)

    responseHandler.onResult = function (results: Object): Void
    {userGrid.dataProvider = results.item;}
    _root.setmode ('add');
    mx.managers.CursorManager.removeBusyCursor ();
    }

    responseHandler.queryUserid_Result = function (results: Object): Void
    {userIdGrid.dataProvider = results.item;}
    _root.setmode ('add');
    mx.managers.CursorManager.removeBusyCursor ();
    }

    On the form load call the getData() that fills the Mastergrid by using the master in the CFC query - it works.
    The getData() looks like this:

    public void getData (): Void
    {
    var qArgs:Object ();
    < cfoutput >
    qArgs.status = "#session.status #";
    < / cfoutput >
    _Global.listingService.queryAll (qArgs);
    _root.setmode ('add');
    mx.managers.CursorManager.removeBusyCursor ();
    }


    The main gate makes the call to the second grid (getUserid() in the event onchange, the PKNO column is the primary key):
    < name cfgrid = "userGrid"... onchange = "userGridChanged (); getUserid (userGrid.selectedItem.PKNO)" >

    The getUserid () looks like this:

    public void getUserid(pkno:String):Void
    {
    var userArgs:Object ();
    < cfoutput >
    userArgs.pkno = pkno;
    < / cfoutput >
    _Global.listingService.queryUserid (userArgs);
    _root.setmode ('add');
    mx.managers.CursorManager.removeBusyCursor ();
    }

    This function is to fill the grid of detail with correct data. When I select a line of the master userGrid.

    The right panel has the textinput to the master record fields that are related to the master grid-userGrid. Below these textinput fields, I have the detail grid - userIdGrid, which can contain 1 or more lines. I can get one or the other to fill, not both.

    Is there a problem with the resultHandlers each specifying the .dataprovider?

    Any help would be greatly appreciated.

    Thanks in advanced for any help.
    Kim

    You call setMode() much, by chance you're wrong data clearing it when you do not expect.

  • How to create a master/detail with a PK of 4 columns form

    I want to create a report/form (or a master-detail form) based on a table with a primary key of 4 columns. But only up to 2 columns can be présicer at APEX. How can I handle this?

    Sincerely,

    James

    Hi James,

    I think Mike suggests that you create a SQL view on the table and bring together the different values of the primary key in a primary key, unique, unique, nickname. You can always include the individual columns in the SQL, but you can then use this new column as the primary key on a form. However, you also need to create instead of triggers to manage the changes/insertions/deletions that SQL does not update the tables in a view. (See: [http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/create_trigger.htm#i2064426] for more details on this Oracle or Re: how to upgrade the table or view for an example within the Apex).

    Ideally, however, you should only really need a column of key - is it necessary for four?

    Andy

  • Page master/detail with update function

    Hi people, I hope that someone can help me with this problem.
    I am writing a site in ASP for a club with a large number. Part of the private side is to select a member and update his info. The procedure is broken down because end users aren't all that sophisticated computer and need step by step instructions.
    (1) text box for a search where they enter a family name.
    (2) search brings back a list of all w / that name (Master Page)
    (3) details of the page * ideally * should be the updated page, but this was not the case. (Hold it to however.) So, I left the single detail page and linked to a separate update page w / the same variable, passed through.
    (4) the update page w / the correct record, but when the Send button is hit, I get the following error message:
    Microsoft OLE DB provider for ODBC error '80040e14' drivers

    [Microsoft] [ODBC Microsoft Access driver] Syntax error in UPDATE statement.

    etcetcetcetc.asp, line 111
    I use the DW8 Wizard to create update code (all code, really) and I have * ever * experience this problem and I'm using DW since Version 2!

    Any ideas? Best is to have details of the page to be also updated page, but when I tried, I got details page in a table and a form of update separated with the wrong record.

    Help?


    I have it!
    The problem of all was along as I had not applied the update to version 8.0.2. Once I did, the code generating worked exactly as it was supposed at the beginning - no additional pages to pass variables, etc.

    Thanks to all for research.

  • How to use createRowSetIterator with 3 level master-detail?

    Hi experts,


    I use Jdev 12.1.3 and I need to iterate over objects in view of the AM lines (I have 3 level master-detail).

    With this code, I had access to the VO parent and create an iterator:

    ViewObjectImpl viewObject = getParentVO();  
    RowSetIterator rsIterator = viewObject.createRowSetIterator(null);  
    rsIterator.reset();  
    while (rsIterator.hasNext()) {  
       Row row = rsIterator.next();  
       // DO what do you want in Row  
    }  
    rsIterator.closeRowSetIterator(); 
    

    .. .but I don't know how to create iterators according to the parent of the child

    Any idea?

    Best regards
    Jose.

    OK, suppose that a relationship of master-detail Department and employees of the HR db schema. The link to the view that defines the master detail between the tables looks like

    The name of the accessor is EmployeesView. In the t generate line interfaces, including the accessors

    Make the avlailable of the accessor to the VO clinet interface

    and now you can iterate the children lines as

    private static ADFLogger _logger is ADFLogger.createADFLogger (DepartmentsViewImpl.class);.

    public void dummyTest() {}

    get the first line of the departmetns

    Line first = this.first ();

    DepartmentsViewRow depRow = (DepartmentsViewRow);

    lines children handler for employees

    RowIterator empView = depRow.getEmployeesView ();

    iterate over employees of the Prime Ministry

    Line row2 = empView.first ();

    While (row2! = null) {}

    do something with line 2

    _logger.info ("Emp:" + row2.getAttribute (0));

    row2 = empView.next ();

    }

    }

    This method is implemented in the DepartmentsViewImpl class.

    Timo

  • How to implement the concept master details in table advanced

    Hello

    I implement information master details in advanced table.

    I guess all the data are coming in the secondary table, but below that certain spaces more are coming and showing an image and next to this, there is a text like ""pull down to load ". "

    Can someone help me figure out why this extra space is coming this table below?

    Thank you

    Vijaya

    Is that you can set the value of the below profiles false and try?

    FND_ENABLE_RICH_TABLE_INTERACTIONS

    FND_TOUCH_GESTURES_ENABLED

    Beware that this will affect the gesture of support for touch devices

    Thank you

  • Master-detail - want to filter details VO

    Hello

    I have a master-detail with Show/Hide advanced table table advanced using a link. When the master is questioned (data providers), the secondary table (supplier Sites) returns all rows that is as expected.

    However, I want to further filter the secondary table based on additional parameters of an OAMessageTextInput Bean. I can recover the user entry of the bean of text input, but my problem is that I'm unable to filter the DetailVO.

    Pointers?

    Thank you

    p

    I thought about it. (always the case once you post)

    Blog link below gave me the advice I was looking for and managed to do the work.

    Framework OA Blog: research on the table of master / detail in OFA

    The key is to order

    OAAdvancedTableBean innerTable = (OAAdvancedTableBean) webBean.findChildRecursive ("detailTbl");
    OAInnerDataObjectEnumerator enum1 = new OAInnerDataObjectEnumerator (pageContext, innerTable);

    Browse objects then remove detail that I didn't.

  • synchronization between two jsf master detail pages

    Hi guys,.

    I have two jsf pages, how do I synchronize the selected line (af:table) on the first page of a master detail (the secondary table) with the second page.

    In my case in the second page I can make changes in a Popup window, but the selected line (the secondary table) on the first page is displayed in the pop-up window

    I want the selected record from the table in detail in the second page will be displayed in the pop-up window


    Thanks for your help

    Published by: fakhri_tn on November 13, 2012 23:47

    Hello

    Always mention your JDev version.

    Watch this video. : http://www.youtube.com/watch?v=rv3NV4rz6Lo

    Arun-

  • Master - Detail of the object View and Javabean

    I have a table with data from VO (database, let's say in table A). This table has Id, name and processId table. I also have a second table below the first table, what data comes from a javabean (source data not DB). I created this bean data control, which in turn, I created the second table.
    What I want to achieve, it is when a user to select a row in the first table, I wish that the second table is updated according to the processId value of the selected row in the first table.
    Would you share how to do it?

    Thank you.

    Hello

    my Oracle Magazine July/August 2012 column covers a similar use case of Web Services that work in a relationship master / detail with ADF business components view objects. In this article I recommend using the programmatic view objects and entities that this ensures the consistency of the master / detail is handled by the template and cannot be controlled manually on the view layer. I think that the possibility of using a JavaBean domain controller and synchronize it with the object View is a valid option, however, if the rest of your application using ADF business components then I would consider programmatic view objects (and entities if the app is CRUD to the POJO too)

    Here's a sample and a good report:

    http://jobinesh.blogspot.in/2011/06/building-programmatically-managed_25.html
    http://jobinesh.blogspot.in/2011/06/building-programmatically-managed.html

    Frank

  • PST: Master / detail graph

    Hello

    JDev Version: 11.1.1.5.0

    I use ADF DVT histograms to view the details of the table master / detail. I found a useful example to: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/057-dvt-master-detail-172847.pdf by Frank. This example contains the master as a bar graph and clicking on a particular bar refreshes the detail with contents of corresponding detail table.

    I would have a similar behavior, but the detail table should be another graph bar instead of a table. Can someone let me know or share some examples to show how to so that the relationship of the master / detail with two bar graphs?

    Thanks in advance
    Rouhaud

    Hello

    creating a begavior of j - m is quite simple:

    (1) slide the parent collection (for example ministries) as a bar to a page chart
    (2) check the box set the pie that is selected as the current line
    (3) drag and drop the dependent collection (e.g. employees) as another graph
    (4) either set changeEventPolicy = ppr in the PageDef file for the iterator employee or
    Set the property PartialTriggers to the widget detail to point to the parent

    Frank

  • All pages master detail question

    I hope I'm in the right forum.  Apologies if this doesn't fall in that category.


    I previously created master page has details.  Theyr'e actuallly pretty simple.


    More recent experience.  Master page is good.  I think so.


    Problem is with the details of the page does not display do not fields, I selected.  What appears instead is a very brief message:


    Unknown column 'MESSAGE' in ' where clause'


    The MESSAGE is part of a code for a piece of jewelry.  The complete code for this project is JGER-IC00330. JPG.


    I compared the previous series of pages of fully functional master details with the news that I am creating.  Against the codes, compared to what appears in the links & signs of server behavior.  Also compared MySQL tables in the database.  It is the same database, but different tables.


    I'm clearly missing something.  To this day, I remain puzzled.


    Anyone experienced this?

    Thanks for reporting!

    I m replied that as supposed marker.

Maybe you are looking for

  • Upgrade windows 8 to 8.1 FF24 - lost all bookmarks. Help!

    With the help of FF24 for several days with windows 8. Today, after having "upgraded" to Windows 8.1, I lost all bookmarks. Interestingly, I also lost all my email in Thunderbird. I tried to import Firefox bookmarks from a windows vista without succe

  • Tecra 8200: If I use the moniter decrease brightness battery power

    I have a laptop Toshiba tecra 8200, when I use it on battery moniter decrease brightness, I tried to adjust the power to the control panel settings, but there is no option for brightness (win xp)? anyone has idea how to adjust the brightness on batte

  • Different professional in Windows XP user accounts

    In Windows XP Professional, what is the logic behind allowing holders of 'Power Users' accounts (except, well sure, administrators) to run some Legacy Applications while people with accounts accounts & comments ordinary user can not run the same? Wha

  • e4200v2 - problem connecting Epson Workforce 520

    I'm a smart guy, and I can follow the signs (mostly).  Got the e4200v2 put in place successfully with a ton of devices, wired and wireless.  Everything works - except the printer (Epson Workforce 520). The printer connects through WPS, but will never

  • Simply my slot is not called

    /* * CustomTimer.h * * Created on: Feb 6, 2015 * Author: shubhendusharma */ #ifndef CUSTOMTIMER_H_ #define CUSTOMTIMER_H_ #include #include #include #include class CustomTimer:public QObject { Q_OBJECT public: CustomTimer(); QTimer *timer; public slo