Af:tree Master child relation ,but showing child id's as parent node vice

Hi ,
Am using adf 11G 11.1.1.5
I have a small requiement .
Am using af:tree , where i display childId's . Onclick of child it i have to show popup with tree structure where i will show parentid as node and childId's as child nodes
i have created view link between child and parent views.
Now isssue is when i selected childId in table (i mean a checkbox is given where user check the child Id and fire button ).On dat action am calling popup with tree structure .BUT here childId's are displaying like Parent nodes and parentId's as child node.
any suggestion . if want i will drop the code

i knew somewhere i was messed up .
There is only viewlink between, Parent and child .NO FK ,these are not related database table (Entity Object.).
simple query's which are made from same table , but base on Parent/Root col i have show data in tree structure way.
Just like
ParentId Chilld id
100 jhon
100 max
100 adam
101 jack
103 jill
103 marven
Now it will show in table like
jhon
max
adam
jack
jill
marven
If i click max i mean check box and fire button , i have to show tree structure like below
100
jhon
max
adam
As max parentid is 100 , i have to show all the childid which have 100 as parentid.
any suggestion plz , me struck here to handel

Similar Messages

  • How to add an item object as a child for a specified parent node in AdvancedDataGrid in Flex?

    Hi all,
              This is the code, to add a object as a child into a specified parent node in AdvancedDataGrid in flex.
    <?xml version="1.0" encoding="utf-8"?><mx:Application
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="onCreationComplete()" width="100%" height="100%">
    <mx:Script><![CDATA[
    importmx.controls.Alert; 
    importmx.collections.IHierarchicalCollectionViewCursor; 
    importmx.collections.IHierarchicalCollectionView;  
    importmx.collections.ArrayCollection; [
    Bindable]private var objectAC:ArrayCollection = newArrayCollection(); 
    //This method is used to construct the ArrayCollection 'flatData' 
    private function onCreationComplete():void{
    var objOne:Object = newObject(); objOne.name =
    "Rani"; objOne.city =
    "Chennai";objectAC.addItem(objOne);
    var objTwo:Object = newObject(); objTwo.name =
    "Rani"objTwo.city =
    "Bangalore";objectAC.addItem(objTwo);
    var objThree:Object = newObject(); objThree.name =
    "Raja"; objThree.city =
    "Mumbai";objectAC.addItem(objThree);
    //This method is used to add one object as a child item for the parent node 'Rani' 
    private function addChildItem():void{
    var dp:IHierarchicalCollectionView = groupedADG.dataProvider asIHierarchicalCollectionView;  
    varcurent:IHierarchicalCollectionViewCursor = groupedADG.dataProvider.createCursor();  
    var dummyParentNode:Object = {name:"Rani", city:"New Delhi"};  
    var obj:Object = null; 
    while(curent.current){
    // To get the current node objectobj = curent.current;
    // Add Child item, when depth = 1 and Node name should be "Rani" 
    if (curent.currentDepth == 1 && obj["GroupLabel"] == "Rani"){
    dp.addChild(curent.current, dummyParentNode);
    curent.moveNext();
    groupedADG.dataProvider = dp;
    groupedADG.validateNow();
    groupedADG.dataProvider.refresh();
    ]]>
    </mx:Script> 
    <mx:AdvancedDataGrid id="groupedADG" x="10" y="15" designViewDataType="tree" defaultLeafIcon="{null}" sortExpertMode="true" width="305" > 
    <mx:dataProvider> 
    <mx:GroupingCollection id="gc" source="{objectAC}"> 
    <mx:grouping> 
    <mx:Grouping> 
    <mx:GroupingField name="name"/> 
    </mx:Grouping> 
    </mx:grouping> 
    </mx:GroupingCollection> 
    </mx:dataProvider> 
    <mx:columns> 
    <mx:AdvancedDataGridColumn headerText="Name" dataField="name"/> 
    <mx:AdvancedDataGridColumn headerText="City" dataField="city"/> 
    </mx:columns> 
    </mx:AdvancedDataGrid> 
    <mx:Button x="10" y="179" label="Open the folder 'Rani'. Then Click this Button" width="305" click="addChildItem()" /> 
    </mx:Application> 

    Hi,
    It's not possible to 'append' a StringItem or a TextField (or any other lcdui.Item object) to a Canvas or GameCanvas. You can only draw lines, draw images, draw text, etc etc, on a Canvas screen. So, you can only 'simulate' the look and feel of a TextField (on a Canvas) by painting it and adding source code for command handling (like key presses). However, this will be quite some work!!
    lcdui.Item objects can only be 'appended' to a Form-like Displayable.
    Cheers for now,
    Jasper

  • Partial selection of child does not keep parent node selected

    Hi All,
    Please help! I have a checkbox JTree which is working fine in all regard as I want except one condition i.e. if all child(leaf) of a parent are not selected parent gets deselected i.e. if we uncheck any child(leaf) node parent will get unselected even if there are some child are selected. I am posing code for the model. let me know if I need to post other codes also
    tree.setModel(new DefaultTreeModel(rootNode1) {
        public void valueForPathChanged(TreePath path, Object newValue) {
            Object currNode = path.getLastPathComponent();
            super.valueForPathChanged(path, newValue);
            if ((currNode != null) && (currNode instanceof DefaultMutableTreeNode)) {
                DefaultMutableTreeNode editedNode = (DefaultMutableTreeNode) currNode;
                CheckBoxNode newCBN = (CheckBoxNode) newValue;
                //CheckBoxNode newCBN1 = (CheckBoxNode) newValue;
                if (!editedNode.isLeaf()) {
                    int i=0;
                    //for (int i = 0; i < editedNode.getChildCount(); i++) {
                      while(i < editedNode.getChildCount()){
                         System.out.println("child count root"+editedNode.getChildCount());
                         System.out.println("child count root i"+i);
                        DefaultMutableTreeNode node = (DefaultMutableTreeNode) editedNode.getChildAt(i);
                        CheckBoxNode cbn = (CheckBoxNode) node.getUserObject();
                        cbn.setSelected(newCBN.isSelected());
                        if(!editedNode.getChildAt(i).isLeaf())
                        for(int j=0;j<editedNode.getChildAt(i).getChildCount();j++)
                         System.out.println("child count roottt"+editedNode.getChildCount());
                         System.out.println("child count root j"+j);
                         DefaultMutableTreeNode node1 = (DefaultMutableTreeNode) editedNode.getChildAt(i).getChildAt(j);
                         CheckBoxNode cbn1 = (CheckBoxNode) node1.getUserObject();
                         //cbn1.setSelected(true);
                         cbn1.setSelected(newCBN.isSelected());
                        i++;
                else{
                    boolean isAllChiledSelected = true;
                   for (int i = 0; i < editedNode.getParent().getChildCount(); i++) {
                        DefaultMutableTreeNode node = (DefaultMutableTreeNode) editedNode.getParent().getChildAt(i);
                        CheckBoxNode cbn = (CheckBoxNode) node.getUserObject();
                        if(!cbn.isSelected()){
                            isAllChiledSelected = false;
                    if(isAllChiledSelected){
                        DefaultMutableTreeNode node = (DefaultMutableTreeNode)editedNode.getParent();
                          CheckBoxNode cbn = (CheckBoxNode) node.getUserObject();
                        cbn.setSelected(isAllChiledSelected);
                if (!newCBN.isSelected()) {
                    DefaultMutableTreeNode node = (DefaultMutableTreeNode) editedNode.getParent();
                    if (node.getUserObject() instanceof CheckBoxNode)
                        ((CheckBoxNode) node.getUserObject()).setSelected(false);
              /*if (!newCBN.isSelected()) {
                    DefaultMutableTreeNode node = (DefaultMutableTreeNode) editedNode.getParent();
                    if (node.getUserObject() instanceof CheckBoxNode)
                        ((CheckBoxNode) node.getUserObject()).setSelected(false);
    });

    Hi Thomas,
    Sorry for late reply due to weekend.
    I had already tried your suggestion but it is not working. Do not know why? here is the code.
    else {
      int countselection=0;
    int t=editedNode.getParent().getChildCount();
                   for (int i = 0; i < editedNode.getParent().getChildCount(); i++) {
                        DefaultMutableTreeNode node = (DefaultMutableTreeNode) editedNode.getParent().getChildAt(i);
                        CheckBoxNode cbn = (CheckBoxNode) node.getUserObject();
                        if(cbn.isSelected()){
                            countselection= countselection+1;
                    if(icountselection==0 ){
                        DefaultMutableTreeNode node = (DefaultMutableTreeNode)editedNode.getParent();
                          CheckBoxNode cbn = (CheckBoxNode) node.getUserObject();
                        cbn.setSelected(false );}
    else if(countselection==1 && countselection<=t)
    DefaultMutableTreeNode node = (DefaultMutableTreeNode)editedNode.getParent();
                          CheckBoxNode cbn = (CheckBoxNode) node.getUserObject();
                        cbn.setSelected(true );
    }}

  • Database files list on one drive in master.sys.master_files, but show on another in the file system

    We have a one node cluster sql server instance where the machine was patched/updated and re-booted this past weekend.  The machine came up, but the SQL Server did not because it could not locate RestoreCheckpointDB24.ckp on an
    M drive.  If I RESTOREFILELISTONLY on my backups everything was clearly on an N drive previously.  To get by the error, our network team changed a registry key pointing to
    N drive to M drive and everything magically came up.  The file system and failover cluster manager are now showing all files to be on an
    M drive, but if you query master.sys.master_files everything is showing on the
    N drive.  Anyone know how this is possible and how to resolve???
    As well, a log shipping session is now broken because it's copying to a missing
    N drive and my Management->SQL Server Logs folder is empty as well. 
    Any ideas?  I'm completely baffled as well as our network guys. 
    Thanks!

    I'm thinking your problem is:
    "To get by the error, our network team changed a registry key pointing to N drive
    to M drive
    and everything magically came up."
    That's called a hack and hacks usually have unexpected and adverse consequences.
    And in more than 15 years of working with SQL Server I've never had to use a registry change to make SQL Server work.  As a personal best practice I avoid making manual changes to the registry at all costs.

  • Same child value under different parent node and these also some childs

    Hi guys,
    Can anyone suggest me on the hierarchy creation with duplication of node data as
    follow  we have
    one text node under 3 childs and these have same data value &
    these have some child values 
    here we have problem with same data node as not accept the following childs..
    pls help me on this.....

    Hi.
    have a look on this link
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/fb/b74d3c006f0a1de10000000a11402f/frameset.htm
    hope it helps.

  • Parent nodes have themselves as childs, in contrast to BW hierarchy

    Hello Gurus,
    I have a problem concerning hierarchies and grouping in CR2008.
    Inserting the hierarchy works fine, but here's the problem:
    Every parent node has itself as child node, i.e. the hierarchy shown is:
    1
    1.1
    1.2
    1.2.2
    1.2.3
    instead of the correct:
    1
    1.2
    1.2.3
    That even occurs when I just include the Node ID, without any grouping and hierarchy settings.
    Such behaviour is undesirable for my purpose, so how can I make Crystal Reports behave like I expect/want? I am completely confused where these additional nodes are originating, as they are definitely not defined in the BW hierarchy. Therefore I suspect the problem somewhere in Crystal, although I have no actual evidence supporting this...
    Has anyone an idea how to solve that problem? I have crawled through SDN and unfortunately wasn't able to find a solution...
    Thanks!

    Hi Ingo,
    first I'd like to apologize for the late reply, I was very busy with another project during the last weeks.
    It seems to be the bookable nodes setting in the query, at least only such parent nodes are affected that have data posted to themselves. Obviously, the actual parent node as shown in Crystal is the one with data aggregated by Crystal and the child node is the one with the data that was posted to the node.
    I'll try to find some free time during the remainder of the week for further investigation and provide additional feedback.
    Thanks for your help so far!

  • Af:tree , have drill down to 10th level,Master child relation.

    Hi ,
    Am using adf 11.1.1.5
    I have two read only vo . which i have created a view link to make Master - Details relation .
    Now i have to show tree structure up to 10th level .
    I have table were one column provided with check box where user select a record like accid and fire menu command button.
    On that fire i wanna show a pop which show a parent id as Parentnode and its related child ids as child node .Again if child has sub child id, i have to show them upto 10th level.
    Any suggestions ..

    i knew somewhere i was messed up .
    There is only viewlink between, Parent and child .NO FK ,these are not related database table (Entity Object.).
    simple query's which are made from same table , but base on Parent/Root col i have show data in tree structure way.
    Just like
    ParentId Chilld id
    100 jhon
    100 max
    100 adam
    101 jack
    103 jill
    103 marven
    Now it will show in table like
    jhon
    max
    adam
    jack
    jill
    marven
    If i click max i mean check box and fire button , i have to show tree structure like below
    100
    jhon
    max
    adam
    As max parentid is 100 , i have to show all the childid which have 100 as parentid.
    any suggestion plz , me struck here to handel

  • Master-Child relations with ODP??

    I don't understand why I am having problems trying to build a simple master-child table relation with cascade delete using ODP .NET. With microsoft's providers, in the FILL command, you can specify the relationship in the fill command - Fill(dataset_name,relation_name). But in ODP .NET, it doesn't accept the relation_name as the second parameter, just the datatable. Why is that? are there any good examples out there that show working with Master-Child relations populated with Fill()? Any help would be greatly appreciated.

    bump

  • Script for master child relation

    we need script for maste child relation
    if i insert or delete or update in master table it should reflect in child table after running procedure (not trigger).
    fetch the value from master table and insert into child table using cursor.
    for ex:
    if i insert value in master table tab1 with column name emp_id, it should reflect other child table with the same column name emp_id.
    insertions should only be done in master table. not in child table..
    notes:it should be in cursor

    hallo
    This is our procedure.the procedure works fine for loop 3 with cursor c3.
    The other cursor 1 and cursor 2 are not working fine. they are fetching duplicate values(ex:D10,D10........).
    In this procedure we are fetching values from 3 tables and putting values in a single table.
    please find the solution the code is given below.
    code
    create or replace procedure employee_insert
    is
    cursor c1 is
    select * from department where
    not exists (select null from employee where employee.department_id=department.department_id);
    p1 department%rowtype;
    cursor c2 is
    select * from jobs where
    not exists (select null from employee where employee.job_id=jobs.job_id or employee.job_title=jobs.job_title);
    p2 jobs%rowtype;
    cursor c3 is
    select * from project where
    not exists (select null from employee where employee.proj_id=project.proj_id or employee.proj_name=project.proj_name);
    p3 project%rowtype;
    begin
    for p1 in c1
    loop
    for p2 in c2
    loop
    for p3 in c3
    loop
    insert into employee (EMPLOYEE_ID,EMPLOYEE_NAME,
    department_id,department_name,
    DATE_OF_BIRTH,job_id,job_title,
    HIRE_DATE,
    SALARY,proj_id,proj_name,
    PHONE_NUMBER,
    ADDRESS,EMAIL) values('E'||employee_id_seq.nextval,
    dbms_random.string('A', 8),
    p1.department_id,
    p1.department_name,
    TO_DATE(TRUNC(DBMS_RANDOM.VALUE(2452641,2452641+364)),'J'),p2.job_id,p2.job_title,
    TO_DATE(TRUNC(DBMS_RANDOM.VALUE(2452641,2452641+364)),'J'),
    Round(DBMS_Random.value(10,50)),
    p3.proj_id,p3.proj_name,
    '98'||'42'||Round(DBMS_Random.value(1000,5000)),
    dbms_random.string('A', 20),
    dbms_random.string('A', 8));
    end loop;
    end loop;
    end loop;
    Exception
    When others then
    raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
    End;
    execute employee_insert;
    /

  • ADF Tree setting focus back to parent node after deletion of child node

    Hi,
    Is there a way to get the focus back to the parent node (or rather any particular node) in a tree?
    I have a use case where we need to get the focus back to the parent node after a child node is deleted.
    Currently the focus is shifted to the next node in the tree, but the need is to get the focus shifted back to the parent node. Also the parent node should be re-invoked to populate to get the latest status after deletion of the child node.
    Any help/pointers?
    Thanks

    Thanks for the reply Frank.
    I saw the link http://sreevardhanadf.blogspot.in/2012/07/showing-next-row-as-current-row-after.html
    However the issue is since I am using custom created tree using POJO tree item (composite object).
    calling myTree.getWrappedData() doesn't gives me a handle to JUCtrlHierBinding and subsequent access to JUCtrlHierNodeBinding.
    my program gives me data like -
    List<MyTreeItem> treeData = (List<MyTreeItem>)treeModel.getWrappedData();
    because my tree model is build using -
    treeModel = new ChildPropertyTreeModel(items, "children");
    where items is List of <MyTreeItem>
    Hence I am unable to get a handle using -
    List nodeParentList = nodeParent .getKeyPath();
    I am programmatically able to invoke the parent node to get the fresh data, only issue is the focus/selection of that node is not happening
    Is there a way around?
    Thanks
    Sachin

  • Forms Builder Master Child relationship --- column datas gets hided.

    Hi All,
    I have a screen which have 5 columns. Out of which first 3 columns belong to Table A and 4th column belong to say Table B and the 5th column belong to Table C. There is a master Child relationship between Table A and Table B also between Table A and Table C.
    The issue is, i enter the data for these columns in row wise. I enter all 5 columns with value and when i switch to next row, the 4th and 5th column's value gets hided.
    Please suggest.
    Thanks and Regards,
    KirthiRavi

    KirthiRavi wrote:
    Hi All,
    I have a screen which have 5 columns. Out of which first 3 columns belong to Table A and 4th column belong to say Table B and the 5th column belong to Table C. There is a master Child relationship between Table A and Table B also between Table A and Table C.
    The issue is, i enter the data for these columns in row wise. I enter all 5 columns with value and when i switch to next row, the 4th and 5th column's value gets hided.
    Please suggest.
    Thanks and Regards,hI KirthiRavi
    You have relation with
    Table A with Table B
    Table A with Table Cwhen you switch a record to another record at bloc/table A, it's normal forms behavior it's will hide value of block/table B and C. when your click on associate row of block/table A it will show.
    It's the form normal behavior for relationship.Hope you understand.
    Hamid
    Mark correct/helpful to help others to get right answer(s).*

  • Get all records in multi selected master child tables

    Hi,
    I am using JDeveloper 11.1.1.4 version and using ADF-BC in my project.
    I have a simple master child[one to many] relationship in my project.
    In my view page,I display this master child [Ex: EmpVo1--->DeptVo2] as tables.
    I have multi-slection enabled for master table.
    My requirement is that,on multi selecting the rows in master tables,I want to get all the child records in my backing bean.
    that is if a master row has 3 child records and another master row has 4 child records and on multiple selection of these two records in master table,I should get all the child records in my backing bean.
    I need this to implement cascade delete functionality.
    Following is sample piece of code
    1) called on selecting the rows in master table
    public void onRSCGrpSelect(SelectionEvent selectionEvent) {
    // Add event code here...
    ADFUtil.invokeEL("#{bindings.RscGroupVO1.collectionModel.makeCurrent}",
    new Class[] { SelectionEvent.class },
    new Object[] { selectionEvent });
    RowKeySet rowKeySet = (RowKeySet)tblRSCGrp.getSelectedRowKeys();
    CollectionModel cm = (CollectionModel)tblRSCGrp.getValue();
    for (Object facesTreeRowKey : rowKeySet) {
    cm.setRowKey(facesTreeRowKey);
    JUCtrlHierNodeBinding rowData =
    (JUCtrlHierNodeBinding)cm.getRowData();
    Row row = rowData.getRow();
    System.out.println("\n" +
    row.getAttribute(0) + " :: " + row.getAttribute(1) +
    " :: " + row.getAttribute(2));
    System.out.println("Displaying Child Records");
    displayChildRecords(row.getAttribute(0));
    2. private void displayChildRecords(Object rscGrp) {
    ViewObject rscMapVo = getRscMapViewObj();
    RowSetIterator rsI = rscMapVo.createRowSetIterator(null);
    while (rsI.hasNext()) {
    Row row = rsI.next();
    System.out.println("\n" +
    row.getAttribute(0) + " :: " + row.getAttribute(1) +
    " :: " + row.getAttribute(2));
    rsI.closeRowSetIterator();
    But the problem is that ,it is always giving me the last selected rows child record details
    Please suggest the error I am doing.
    Thanks,
    Praveen

    Your problem is that you use makecurrent, which should not be used on a multi select table. Next if you have master detail relationship you should have a view link between them. In this case you can expose a method in you master to get the related child row. No need to get the VO itself as you can use the child iterator accessors to get the child record.
    public void onRSCGrpSelect(SelectionEvent selectionEvent) {
    // Add event code here...
    RowKeySet rowKeySet = (RowKeySet)tblRSCGrp.getSelectedRowKeys();
    CollectionModel cm = (CollectionModel)tblRSCGrp.getValue();
    for (Object facesTreeRowKey : rowKeySet) {
    cm.setRowKey(facesTreeRowKey);
    JUCtrlHierNodeBinding rowData =
    (JUCtrlHierNodeBinding)cm.getRowData();
    Row row = rowData.getRow();
    //cast to the right row class
    EmpEmpVoRow empRow = (EmpEmpVoRow) row;
    // now you cann access the child row iterator
    RowSetIterator it = empRow.getDepVO();
    //now you cna iterate over the child rows
    System.out.println("\n" +
    row.getAttribute(0) + " :: " + row.getAttribute(1) +
    " :: " + row.getAttribute(2));
    System.out.println("Displaying Child Records");
    //use hte child rows here
    }Not sure if the code compiles out of the box (doing this on the train :-)
    Timo

  • Master Child Table

    Hi,
    I am using JDeveloper 11.1.1.4 version.
    In my page I have master child relation to be displayed.
    I am displaying this by following the standard adf-bc master child example.
    i.e add the id of the master child as partialTrigger to the child table.
    But my requirement is that, multiple row selection is enabled for the master table and when multiple rows are selected in master table,
    child table should not display any records.
    How can I achieve this??
    Also,I have a details panel displayed right under master table which displays selected row values in a form.
    Here also,when multiple rows are selected,I should not display any values in the details panel.
    Please advice on how to achieve this.
    Thanks,
    Praveen

    Hi,
    have a selection listener set on tabe to bean method and in bean getAllSelectedRowKeys from table. If you get more than or equal 2 entries hide the detail panel or write code so that u reresh ur detail vo to contain no rows

  • XSQL Master Child

    Dear All,
    I need to develop the reports using XSQL. Generate the report as master child table relation wise.
    I will give sample format of my report.
    <MasterVaue>
    <child-value></childvalue>
    </mastervalue>
    i.e
    each department wise i want show the employee names
    How we can achive in XSQL in ADF
    TIA

    Hi,
    Can anyone helpout me.
    - <ROWSET>
    - <ROW num="1">
    <DEPTID>100</DEPTID>
    <EMP_ID>82</EMP_ID>
    <NAME>Ganesh</CHGVALUE>
    </ROW>
    - <ROW num="2">
    <DEPTID>100</DEPTID>
    <EMP_ID>85</EMP_ID>
    <NAME>Rajesh</CHGVALUE> </ROW>
    </ROWSET>
    - <ROW num="2">
    <DEPTID>101</DEPTID>
    <EMP_ID>81</EMP_ID>
    <NAME>Raju</CHGVALUE> </ROW>
    </ROWSET>
    Here i need <DEPTID> wise employee details
    TIA

  • Master Child tables how to get the latest rows from both

    Hi,
    Need some help with the sql. I have two tables Master & Child. In my Master table I have multiple rows for the same record and in the child table also multiple rows for the same master row how can I get the latest one's from both.
    For example Data in my Master table looks like
    CONT_ID                  SEQ_NUM        DESCRIPTION
    1                         189             Update 2
    1                         188             Update 1
    1                         187              NewNow in the child table for the same CONT_ID I may have the following rows
    CONT_ID                   UPDATED_DATE                                     STATUS
    1                        3/16/2010 2:19:01.552700 PM                          P
    1                        3/16/2010 12:29:01.552700 PM                         A
    1                        3/16/2010 12:29:01.552700 PM                         P
    1                        3/16/2010 12:19:01.552700 PM                         NIn my final query how can I get the row with seq_num 189 as it's the latest in Master table and from child table the row with status of P as it's the latest one based on the time. Here is the query i have but it returns the latest row from the child table only and basically repeats the master table rows as opposed to one row that is latest from both:
    Thanks

    Hi,
    You can use the analytic ROW_NUMKBER function to find the latest row for each cont_id in each table:
    WITH     got_m_rnum     AS
         SELECT     cont_id,     seq_num,     description
         ,     ROW_NUMBER () OVER ( PARTITION BY  cont_id
                                   ORDER BY          seq_num     DESC
                           ) AS m_rnum
         FROM    master_table
    --     WHERE     ...     -- any filtering goes here
    ,     got_c_rnum     AS
         SELECT     cont_id, updated_date,     status
         ,     ROW_NUMBER () OVER ( PARTITION BY  cont_id
                                   ORDER BY          updated_date     DESC
                           ) AS c_rnum
         FROM    child_table
    --     WHERE     ...     -- any filtering goes here
    SELECT     m.cont_id,     m.seq_num,     m.description
    ,     c.updated_date,     c.status
    FROM     got_m_rnum     m
    JOIN     got_c_rnum     c     ON     m.cont_id     = c.cont_id
                        AND     m.m_rnum     = c.c_rnum
                        AND     m.m_rnum     = 1
    ;If you'd like to post CREATE TABLE and INSERT statements for the sample data, then I could test this.
    If there happens to be a tie for the latest row (say, there are only two rows in the child_table with a certain cont_id, and both have exactly the same updated_date), then this query will arbitrarily choose one of them as the latest.

Maybe you are looking for