OBIEE+ w/ Peoplesoft, Peoplsoft Organizational Hierarchies tree into OBAW

Hello,
the environment is OBIEE+ BI Apps w/ PeopleSoft HCM as source
with Prebuilt informatica mappings, to import Organizational Hierarchy tree from Peoplesoft HCM into OBAW tables, the DAC has task parameters to be set.
as per BI Apps documentation, we have to set a parameter in DAC and also can set multiple parameters here i.e. SETID~TREENAME in DAC with comma separated.
my doubt is, if i give multiple parameters(Mulitple tree names) in DAC Task, how is that Hierarchy data from multiple trees loaded into the DW and how is it presented while reporting.
i didnt find any information on this in BI Appds documentation or in google.
my requirement would be to configure a Organization Hierarchy tree which will contain Organization Name>Division name, Division number>Sub division name, sub division number> department name, department number> location name, location number etc
please help
thank you
kumr

Had a similar issue at my current client. If you check the PSoft upgrade docs, Oracle actually had no upgrade path for the PS_EMPLOYEE_REVIEW table as the effective date logic for this table is ambiguous. Here is an excerpt:
The existing Employee Review family (PS_EMPLOYEE_REVIEW) stores both the Commercial and Federal reviews/appraisals. After analyzing the key structure and functionality of the Employee Review structures, it was realized that there is no way to upgrade this data into the new ePerformance (PS_EP_APPR) key structure with any certainty of functional accuracy. This is because the keys to PS_EMPLOYEE_REVIEW are:The fact that PS_EMPLOYEE_REVIEW is effective-dated, and its FROM/THRU dates attributes are both optional, make it almost impossible to translate into PS_EP_APPR's required Period dates. Even the fundamental question of “What does a new effective-date mean?” is ambiguous
I also checked the OBIA 7.9.6 mappings, the PS_EMPLOYEE_REVIEW table is not brought in. Only the PS_EP_APPR table is used as a source for the SDEs. I even checked the PSoft 8.8 mappings, and cound not find it there either. We had to customnize the existing ETLs to extract from the PS_EMPLOYEE_REVIEW table.
Ahsan

Similar Messages

  • How to set the control-on hierarchical tree nodes

    Hi,
    I have created form in which at the left it has hierarchical tree structure(BOM) and towards the right it brings up the query results for selected node.
    Now, I have a button upon clicking which I navigate to the root node by issuing
    "Ftree.set_Tree_selection(htree, 1, Ftree.select_on);".
    But, it cannot automatically run the ' when-tree-node-selected' trigger '.
    any solution???
    Its really urgent.I have a customer demo on monday.
    Please help me asap.
    regards,
    Nagadeep.

    Hello Nagadeep,
    couldn't you just put the code from the trigger into a procedure
    and run that after the navigation to the item?
    Just a thought,
    Bernd
    The docs state that:
    No programmatic action will cause the When-Tree-Node-Selected trigger to fire. Only end-user action will generate an event.
    Probably due to performance reasons.
    Bernd
    Message was edited by:
    Bernd Prechtl

  • Can I use Hierarchical Tree from Forms6.0 in Forms5.0

    Hello
    The Oracle Custumer Support tell me that it should be possible to
    use Hierarchical Trees also in Forms5.0
    I look for a possibility to build a Navigator in Forms5.0
    with Symbols. (look and feel like the Navigator in Forms6.0 if I
    use Symbols in the Record Group).
    I Description should be on
    http://developer.us.oracle.com
    but either i have no access to this side or
    the URL is false.
    Sure is that there is a description over this Problem.
    And i have to get this description ;-)))
    Thanks for Help
    JK
    null

    That is not recommended. The new code editing features do not play well with an old workspace.
    Please create a new workspace and import your projects into that.
    -Anirudh

  • Make an hierarchical Tree in oracle Forms 6i

    Hi everybody,
    I want to make an hierarchical tree. I work in Forms 6i
    I create one non database block e.g. 'Bloc2' then
    add hierarchical control item in that. e.g 'Menu'.
    I create a record group named 'RG_DATA_TEST'
    Before I use a table in this record_group.
    I want a tree as this :
    - Menu1
    Menu1 option1
    Menu1 option2
    - Menu1 option3
    Menu option3 Sub opt 3
    + Menu2
    the table 'Menu_tree' is described' :
    CREATE TABLE MENU_tree
    ID NUMBER(5),
    LABEL VARCHAR2(128 BYTE),
    ICON VARCHAR2(40 BYTE),
    MASTER NUMBER(5),
    STATUS NUMBER(1) DEFAULT 1,
    VALUE VARCHAR2(128 BYTE)
    Here the data in the table :
    INSERT INTO MENU_tree ( ID, LABEL, ICON, MASTER, STATUS, VALUE ) VALUES (1, 'Menu1', 'mainmenu', NULL, 1, NULL);
    INSERT INTO MENU_tree ( ID, LABEL, ICON, MASTER, STATUS, VALUE ) VALUES (
    2, 'Menu1 Option 1', 'optionmenu', 1, 1, 'Dialog11');
    INSERT INTO MENU_tree ( ID, LABEL, ICON, MASTER, STATUS, VALUE ) VALUES ( 3, 'Menu1 Option 2', 'optionmenu', 1, 1, dialog12');
    INSERT INTO MENU_tree ( ID, LABEL, ICON, MASTER, STATUS, VALUE ) VALUES (4, 'Menu1 Option 3', 'optionmenu', 1, 1, NULL);
    INSERT INTO MENU_tree ( ID, LABEL, ICON, MASTER, STATUS, VALUE ) VALUES ( 5, 'Menu1 Opt 3 Sub Opt 3', 'suboptionmenu', 4, 1, 'Dialog131');
    INSERT INTO MENU_tree ( ID, LABEL, ICON, MASTER, STATUS, VALUE ) VALUES ( 6, 'Menu2', 'mainmenu', NULL, -1, NULL);
    INSERT INTO MENU_tree ( ID, LABEL, ICON, MASTER, STATUS, VALUE ) VALUES ( 7, 'Menu2 Option1', 'optionmenu', 6, 1,'Dialog21');
    The record_group use this instruction SELECT :
    SELECT STATUS, LEVEL, LABEL, ICON, VALUE
    FROM MENU_tree
    CONNECT BY PRIOR ID = MASTER
    START WITH MASTER IS NULL
    And At the trigger When_new_form_instance , i do this code :
    DECLARE
    htree ITEM;
    V_IGNORE number;
    BEGIN
    HTREE := FIND_ITEM('BLOC2.MENU');
    V_IGNORE := POPULATE_GROUP('RG_DATA_TEST');
    FTREE.POPULATE_TREE(htree);
    END;
    When i run the forms, It don't give me a structure of node.
    It give me only a icon with two arrows.
    Where is the problem ?
    Must I add code somewhere ?
    Help me for your ideas.
    Regards.
    Edited by: 794982 on 17 sept. 2010 04:55
    Edited by: 794982 on 17 sept. 2010 05:01
    Edited by: 794982 on 17 sept. 2010 05:04
    Edited by: 794982 on 17 sept. 2010 05:06
    Edited by: 794982 on 17 sept. 2010 05:13
    Edited by: 794982 on 17 sept. 2010 05:19
    Edited by: 794982 on 17 sept. 2010 05:23

    Ok Francois Thanks for your response.
    Just I pricise i work with oracle forms version 9.0.4.0.19 .
    But I am putting this code in trigger When_New_form_Instance but it didn't work.
    When I execute it just shows a line with two arrows but not a real tree.
    Then I do a block-non based and a elemnt with type hierarticall tree and a canevas.
    and i create a record_group. and in a palette property of the element i precise the canevas and the record_group
    I don't khnow where is the problem ?
    Any other suggestion ? please
    Regards.

  • Hierarchical tree item - how to improve performance

    I'm loading hierarchical tree item with query.
    Problem is that it takes very long to load all the items(300, but can be more) to the hierarchical item.
    Query takes 0.5 sec., but loading it into the item with Set_Tree_Property(htree, Ftree.RECORD_GROUP
    the code:
    PL1 := Create_Group_From_Query('pl1', query);
    v_ignore := Populate_Group(PL1); -- 0.5 sec
    Ftree.Set_Tree_Property(htree, Ftree.RECORD_GROUP, PL1); -- 3 sec.
    Does anyone have any idea what to do to improve tree loading?

    Hello,
    try to play a little bit with the state-column of your query. If you only display the first hierarchy level
    and set the state of the "hidden" nodes to open, I think ist is the state 1, then it works much faster.
    cu
    Matthias M|ller

  • Hierarchical Tree cannot populate

    Hi all senior and expert,
    Im new in oracle forms 10g and now im trying to develop system using hierarchical tree,but when im run for testing my tree cannot populate..Please help me...
    My program Units:
    PROCEDURE run_tree IS
    BEGIN
    DECLARE
    htree ITEM;
    v_ignore NUMBER;
    rg_emps RECORDGROUP;
    a varchar2(300):=' ';
    startmenu varchar2(100):=' ';
    node FTREE.NODE;
    state varchar2(100):=' ';
    cursor aa is
    select distinct menu_name from menu_master_user
    where nvl(FORM_NAME,' ') = ' '
    and user_key = :global.user_key
    and nvl(menu_name,' ') <> ' '
    and seq <> 0;
    BEGIN
    -- Find the tree itself.
    htree := Find_Item('tree4');
    -- Check for the existence of the record group.
    rg_emps := Find_Group('menu');
    IF NOT Id_Null(rg_emps) THEN
    DELETE_GROUP(rg_emps);
    END IF;
    BEGIN
    select distinct menu_name into startmenu from menu_master_user
    where user_key = :global.user_key
    and seq=0;
    EXCEPTION
         WHEN NO_DATA_FOUND THEN
         MESSAGE ('This user has no accessible item setup in the user access module,Please report to CICT for accessible...');
         MESSAGE ('This user has no accessible item setup in the user access module,Please report to CICT for accessible...');
         raise form_trigger_failure;
    end ;
    rg_emps := Create_Group_From_Query('menu',
    'select 1,level,menu_name,:global.drive||icon_file,form_name
    from menu_master_user where user_key='''||:global.user_key||
    ''' connect by prior menu_name=root_menu and user_key='''||:global.user_key||
    ''' and acc=''Y''
    start with menu_name='''||startmenu||''' and user_key='''||:global.user_key||
    ''' order by seq');
    a:='select 1,level,menu_name,:global.drive||icon_file,form_name
    from menu_master_user where user_key='''||:global.user_key||
    ''' connect by prior menu_name=root_menu and user_key='''||:global.user_key||
    ''' and acc=''Y'' start with menu_name='''||startmenu||''' and user_key='''||:global.user_key||
    ''' order by seq';
    -- Populate the record group with data.
    v_ignore := Populate_Group(rg_emps);
    -- Transfer the data from the record group to the hierarchical
    -- tree and cause it to display.
    Ftree.Set_Tree_Property(htree, Ftree.RECORD_GROUP, rg_emps);
    -- Find the tree itself.
    htree := Find_Item('tree4');
    -- Find the root node of the tree.
    --node  := Ftree.Find_Tree_Node(htree,'Setup');
    -- Loop through all nodes and expand each one if it is collapsed.
    for aaa in aa loop
         node := Ftree.Find_Tree_Node(htree,aaa.menu_name);
    IF NOT Ftree.ID_NULL(node) then
    state := Ftree.Get_Tree_Node_Property(htree, node, Ftree.NODE_STATE);
    IF state = Ftree.EXPANDED_NODE THEN
    Ftree.Set_Tree_Node_Property(htree, node, Ftree.NODE_STATE, Ftree.COLLAPSED_NODE);
    END IF;
    end if;
    END LOOP;
    END;
    END;
    Any solutions or my code is wrong?
    Edited by: 995252 on Mar 21, 2013 12:17 AM

    Welcome to the Oracle Forums. Please take a few minutes to review the following:
    <ul>
    <li>Oracle Forums FAQ
    <li>Before posting on this forum please read
    <li>10 Commandments for the OTN Forums Member
    <li>How to ask questions the smart way
    </ul>
    Following these simple guidelines will ensure you have a positive experience in any forum; not just this one! ;-)
    Lets start with some of the basics. What is your Forms version, Client OS version; if web deployed, your browser and Java versions and any error messages you might be receiving.
    Craig...

  • Hierarchical tree - Data Entry Form

    I am trying to make a data entry form for hierarchical tree. Any one help me to send a sample .fmb file.
    I created a table like
    create table master_ACTIVITY
    (INITIAL_LEVEL NUMBER (4) ,
    NODE_DEPTH NUMBER (4) ,
    NODE_LABEL VARCHAR2(160) ,
    NODE_ICON VARCHAR2(60) ,
    NODE_DATA VARCHAR2(160) ,
    NODE_PARENT VARCHAR2(160)
    1. How do i use hierarchical tree for adding and deleting item into it.
    2. In my other form i use the item from hierarchical tree. so how to get the return value of the selected item in a hierarchical tree. and which of filed in this table i need in other forms to connect to this table and get values.
    please send a sample form to [email protected]
    thank you
    saji daniel

    Andreas,
    It got worked.
    I have another problem now. I have 2000 records in my tree. when i populate it is taking time to populate.
    I want to display only parent trees ie Level 1 & 2 Items. But the Level 1 & 2 should have '+' symbol to display.
    When the user click on any items in level 2, only then the child of the selected parent should populate.
    By default all the items are displayed in collapsed mode (-1). But still it take time to populate.
    Any solution ?.

  • Hierarchical Tree control

    Dear all,
    Any body send me hints or sample codes about using Hierarchical tree control in forms

    Type that into google and you should get some stuff. The biggest thing to remember is the query MUST have (presuming you are populating a tree from a db) certain values.
    Check out this dicussion which I started when I was learning: Re: Creating a menu system (not a file menu)

  • Hierarchical Tree : Problem with lost Focus

    Forms 6i:
    I have a form with a hierarchical tree.
    The focus is on the tree.
    Now I go into word or an other application. After that I change back to forms.
    Now I cannot go into other blocks via mouse. In case, that I click in those records or blocks, I see the focus going into the record and directly going back to the tree-item.
    That means, I lose my mouse in tree-forms after changing the windows applications.
    Who knows a workaround ?
    Gerd

    The below given code which only accepts integers + you can not copy and paste
    anything in it other than integers.
    It also sets the maximum length for a JTextField
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    public class maxLengthText extends PlainDocument
    int maxVal=0;
    public maxLengthText(int maxLength)
    maxVal = maxLength;
    public void insertString(int offset, String str, AttributeSet a)
    throws BadLocationException
    if (getLength() + str.length() > maxVal)
    return;
    else
    try
    if(!Double.isNaN(Double.parseDouble(str)))
    super.insertString(offset, str, a);
    catch(Exception e)
    JOptionPane.showMessageDialog(null,"Numbers Only","TextField",1,new ImageIcon("Images/warnDel.gif"));
    offset=0;
    public static void main(String[] args)
    Document doc = new maxLengthText(5); // set maximum length to 5
    JTextField txtInt= new JTextField(doc, "", 6);
    JPanel panel = new JPanel();
    panel.add(txtInt);
    JFrame frame = new JFrame("My TextField");
    frame.setContentPane(panel);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setSize(160, 80);
    frame.setVisible(true);
    }

  • Hierarchical tree problem

    Hi,
    I have a hierarchical tree in one my forms that one branch of it has about 2000 nodes the hierarchical tree does not display all the values.
    I've tested with about 1500 and it show correctly.
    Any limitation? any workaround?
    regards

    Hi,
    Something like this:
    SCOTT@soti_9> CREATE TABLE Org(
      2    Org_Id INTEGER,
      3    Org_Name VARCHAR2(100),
      4    Parent_Org_Id INTEGER
      5  );
    Table created.
    SCOTT@soti_9> INSERT INTO Org(Org_Id, Org_Name, Parent_Org_Id) VALUES(1, 'Org_1', NULL);
    1 row created.
    SCOTT@soti_9> INSERT INTO Org(Org_Id, Org_Name, Parent_Org_Id) VALUES(2, 'Org_2', 1);
    1 row created.
    SCOTT@soti_9> INSERT INTO Org(Org_Id, Org_Name, Parent_Org_Id) VALUES(3, 'Org_3', 2);
    1 row created.
    SCOTT@soti_9> INSERT INTO Org(Org_Id, Org_Name, Parent_Org_Id) VALUES(4, 'Org_N', 2);
    1 row created.
    SCOTT@soti_9> COMMIT;
    Commit complete.
    SCOTT@soti_9> CREATE TABLE Members(
      2    User_Id INTEGER,
      3    Org_Id INTEGER
      4  );
    Table created.
    SCOTT@soti_9> INSERT INTO Members(User_Id, Org_Id) VALUES(1, 3);
    1 row created.
    SCOTT@soti_9> INSERT INTO Members(User_Id, Org_Id) VALUES(2, 3);
    1 row created.
    SCOTT@soti_9> INSERT INTO Members(User_Id, Org_Id) VALUES(3, 3);
    1 row created.
    SCOTT@soti_9> INSERT INTO Members(User_Id, Org_Id) VALUES(4, 4);
    1 row created.
    SCOTT@soti_9> INSERT INTO Members(User_Id, Org_Id) VALUES(5, 4);
    1 row created.
    SCOTT@soti_9> COMMIT;
    Commit complete.
    SCOTT@soti_9> WITH Branches AS (
      2    SELECT Org_Id
      3    FROM Org
      4    START WITH Org_Name = 'Org_2'
      5    CONNECT BY PRIOR Org_Id = Parent_Org_Id
      6  )
      7  SELECT COUNT(*)
      8  FROM Branches B
      9    JOIN Members M USING(Org_Id)
    10  ;
      COUNT(*)
             5
    SCOTT@soti_9> WITH Branches AS (
      2    SELECT Org_Id
      3    FROM Org
      4    START WITH Org_Name = 'Org_1'
      5    CONNECT BY PRIOR Org_Id = Parent_Org_Id
      6  )
      7  SELECT COUNT(*)
      8  FROM Branches B
      9    JOIN Members M USING(Org_Id)
    10  ;
      COUNT(*)
             5Regards,
    Dima

  • Hierarchical Tree -- Forms 6i

    Forms 6i patchset 18 c/s
    I am having am issue with hierarchical tree misbehaving itself once the nodes get greater than 1600 or so.
    The tree graphics get malformed and the vertical scrollbar, even when scrolled all the way down will not let you see all of the nodes.
    1) does anyone know of a node limit in 6i or a workaround?
    I did check Forms 11gR2 by recompiling my form in 11gR2 and everything behaves fine, so I know the issue has either been fixed or is only an issue on c/s versions of forms.
    Thanks,
    Chris

    I am having am issue with hierarchical tree misbehaving itself once the nodes get greater than 1600 or so.Well, I'm sure you will admit that 1600 nodes is a lot of nodes! Forms 6i was de-supported a long time ago and as I recall, patchset 18 was the last released patch for Forms 6i (I could be wrong - it's been a while since I worked with Forms 6i so I could be wrong). The fact that you have the "latest" patchset available for Forms 6i suggests you have a support agreement with Oracle. If this assumption is correct, you could check My Oracle Support (MOS) to see if there were any one-off patches released after Patchset 18 and try them to see if they fix the issue.
    If there are no one-offs or smaller patches after Patchset 18 then you will likely need to look into ways to alter how you display nodes to reduce the number of nodes or possibily upgrade to a supported version of Forms (Forms 11g R2).
    Craig...

  • Hierarchical Tree IN Oracle FORMS6i and oracle 9i

    Hi ,
    I have written all the scenarios as follows. Please write in steps to do this.
    I have the follwing scenario to create the hierarchical tree.
    The display is as follows when the user comes to this screen.
    CTRLBLK1 CTRLBLK2
    SCOTT This block is hidden
    John
    The way I want it when the user is clicking scott it is displaying the records in the other block
    the full tree expanded not collapasble.
    Scenario1
    CTRLBLK1 CTRLBLK2
    SCOTT President
    VP
    Manager
    Same is over here in scenario2
    Scenario2
    CTRLBLK1 CTRLBLK2
    John President
    VP
    Manager
    Clerk
    The tree should be displayed not collapsed. What is way to do the above
    in forms. I tried to do the way suggested in OTN. But i didnot reached to the solution.
    The way I want it when the user is clicking scott it is displaying the records in the other block
    the full tree expanded not collapasble.
    Pls help.
    Thanks,
    PS

    1) create a item Hierarchical Tree,
    ANS: The tree is created
    2) put this to pull in data to the Tree
    DECLARE
    l_query VARCHAR2(500);
    BEGIN
    l_query := '';
    FTREE.SET_TREE_PROPERTY ( c_tree_blk_item_nm, FTREE.QUERY_TEXT, l_query );
    FTREE.POPULATE_TREE ( c_tree_blk_item_nm );
    go_node ( c_tree_root_node );
    IF FTREE.GET_TREE_PROPERTY (c_tree_blk_item_nm, FTREE.NODE_COUNT ) = 1 THEN
    po_found := FALSE;
    ELSE
    po_found := TRUE;
    END IF;
    END;
    Ans: I wrote this code in WHEN_NEW_FORM_INSTANCE trigger. But the code didnot got compiled . I did cut and paste of query too.
    Pls help me in defining the c_tree_blk_item_nm and go_node ( c_tree_root_node ). I was thinking some code of this type would work.
    The code itself didnot got compiled. It didnot ran.
    3) put this coding into WHEN-TREE-NODE-SELECTED trigger under the item, this is to populate the data to other block when u select the tree node.
    IF :SYSTEM.TRIGGER_NODE_SELECTED = 'TRUE' THEN
    GO_BLOCK ( 'BK_AGT' );
    EXECUTE_QUERY;
    SYNCHRONIZE;
    end if;
    BK_AGT is the 2nd control block .
    Help me in solution for this scenario in creating the hierarchical tree in forms6i.
    -KJJJ

  • Hierarchical Tree on a BSP

    Hi,
    I have to implement a dynamic list (I suppose it's an hierarchical tree) on a BSP with expanding branches. Is there any tutorial or how-to?
    Thanks!
    Carles

    not a staright forward standard feature but what you could do is build a html table and set that as the text of the node.
    concatenate
    '<nobr><table border="1" cellspacing="1" style="border-collapse: collapse" width="20" id="table1">'
         '<tr>'
              '<td>one/one</td>'
              '<td>two</td>'
              '<td>three</td>'
         '</tr>'
    '</table></nobr>'
    into wf_string .
    move: wf_string to wa_tree-text .
    Raja

  • How do we create Hierarchical tree??

    Can I get help on creating hirerchical tree with detailed description ?? I tried basing hierarchical item on query but it didn't work.Do i need to specifically give code for populating it ??
    Also I need help on basing it on Record Group ??
    Is there any rule for having specific no of columns for a tree ??

    You can create Hierarchical Tree in two ways.
    One using "connect by prior" and another
    by Adding columns and row to record group at run time.
    If your table has Self reference Key then
    you can create using connect by prior.
    Otherwise you have to go for second one.
    Go and check the navwiz.fmb in oracle demo files.
    Following example is from navwiz.fmb
    (open navwiz.pll and then check refresh_tree)
    In this example they used both.For Emp they used connect by prior.
    PROCEDURE refresh_trees(p_view VARCHAR2) IS
    cursor cursor_dept is
    select dname, deptno
    from dept
    order by dname;
    cursor cursor_emp(p_dno number) is
    select ename, empno
    from emp
    where deptno = p_dno
    order by ename;
    v_i number;
    v_ignore number;
    rg_emps recordgroup;
    rg_depts recordgroup;
    v_init_state groupcolumn;
    v_level groupcolumn;
    v_label groupcolumn;
    v_icon groupcolumn;
    v_value groupcolumn;
    begin
    if p_view = 'EMP' then
    --the emps hierarchy
    rg_emps := find_group('EMPS');
    if not id_null(rg_emps) then
    delete_group(rg_emps);
    end if;
    rg_emps := create_group_from_query('EMPS',
    'select 1, level, ename, NULL, to_char(empno) ' &#0124; &#0124;
    'from emp ' &#0124; &#0124;
    'connect by prior empno = mgr ' &#0124; &#0124;
    'start with mgr IS NULL');
    v_ignore := populate_group(rg_emps);
    ftree.set_tree_property('navigator.nav_display', ftree.record_group, rg_emps);
    else
    --the organization
    rg_depts := find_group('DEPTS');
    if not id_null(rg_depts) then
    delete_group(rg_depts);
    end if;
    rg_depts := create_group('DEPTS');
    v_init_state := add_group_column(rg_depts, 'init_state', number_column);
    v_level := add_group_column(rg_depts, 'level', number_column);
    v_label := add_group_column(rg_depts, 'label', char_column, 40);
    v_icon := add_group_column(rg_depts, 'icon', char_column, 20);
    v_value := add_group_column(rg_depts, 'value', char_column, 5);
    v_i := 1;
    for deptrec in cursor_dept loop
    add_group_row(rg_depts, v_i);
    set_group_number_cell(v_init_state, v_i, 1);
    set_group_number_cell(v_level , v_i, 1);
    set_group_char_cell (v_label , v_i, deptrec.dname);
    set_group_char_cell (v_icon , v_i, NULL);
    set_group_char_cell (v_value , v_i, to_char(deptrec.deptno));
    v_i := v_i + 1;
    for emprec in cursor_emp(deptrec.deptno) loop
    add_group_row(rg_depts, v_i);
    set_group_number_cell(v_init_state, v_i, 1);
    set_group_number_cell(v_level , v_i, 2);
    set_group_char_cell (v_label , v_i, emprec.ename);
    set_group_char_cell (v_icon , v_i, NULL);
    set_group_char_cell (v_value , v_i, to_char(emprec.empno));
    v_i := v_i + 1;
    end loop;
    end loop;
    ftree.set_tree_property('navigator.nav_display', ftree.record_group, rg_depts);
    end if;
    My query******
    procedure refresh1 is
    v_i number;
    v_ignore number;
    Rg_Menus recordgroup;
    rg_depts recordgroup;
    Begin
    Rg_Menus := find_group('MENUS');
    If not id_null(Rg_Menus) then
    delete_group(Rg_Menus);
    End If;
    Rg_Menus := create_group_from_query('MENUS',
    'select 1, level, item_name, NULL, item_id ' &#0124; &#0124;
    'from Item_all '
    &#0124; &#0124;' where Item_id in (select Item_id from Item_access_all where role_id in
    (select role_id from org_access_all where user_id =
    (select gsp_user_id from users_all where upper(user_name) = upper(USER))
    and code = :global.code) )
    and item_id not in (select item_id from item_Exception where Code = :Global.Code)' &#0124; &#0124;
    'connect by prior item_name = main_name ' &#0124; &#0124;
    'start with item_name = ''MAIN''');
    v_ignore := populate_group(Rg_Menus);
    ftree.set_tree_property('tree_blk.tree_menu', ftree.record_group,Rg_Menus);
    Exception
    When Others then
    Bell;
    Message('You cannot Access any menu item...');
    Raise Form_trigger_Failure;
    End;
    viji.
    null

  • Hierarchical Tree Insert

    Hi All Is it possible to insert values into another table using hierarchical Tree Node values.Please give Methods
    Regards
    R.MaheshBabu

    hi
    try something like this.
    when-new-form-instance trigger.
    declare
         cursor dept_cur is
         select deptno , dname
         from   dept;
         cursor emp_cur (N number) is
         Select empno , ename
         from   emp
         where  deptno=N;
         Htree     item;
      parent_node varchar2(200);
      child_node  varchar2(200);
    begin
         Htree:=Find_item('tree');
         For dept_R in Dept_cur loop
    parent_node:=Ftree.Add_Tree_Node(htree,
    Ftree.ROOT_NODE,
    Ftree.PARENT_OFFSET,
    Ftree.LAST_CHILD,
    Ftree.EXPANDED_NODE,
    dept_r.deptno||' '||dept_r.dname,
    'insrec',
    dept_r.deptno);
         Htree:=Find_item('tree');
         For emp_R in emp_cur(dept_r.deptno) loop
    child_node:=Ftree.Add_Tree_Node(htree,
    parent_node,
    Ftree.PARENT_OFFSET,
    Ftree.LAST_CHILD,
    Ftree.EXPANDED_NODE,
    emp_r.empno||' '||emp_r.ename,
    'insrec',
    emp_r.empno);
    end loop;
    end loop;
    end;create tree and use this trigger for it.
    when-tree-node-selected trigger.
    declare
         Value_node  varchar2(50);
         htree  item;
    begin
         htree:=find_item('tree');
         Value_node := Ftree.GET_TREE_NODE_PROPERTY(htree,
                                            :system.trigger_node,
                                            Ftree.node_value);
         :val_from_tree:=value_node;
         set_block_property('emp',default_where,'empno='||:val_from_tree);
         go_block('emp');
         execute_query;
    end;create 3 blocks.
    1.control(Tree Block)
    2.emp (Table Block)
    3.value(create a item,named "VAL_FROM_TREE").
    i hope it will help u.
    sarah

Maybe you are looking for

  • Can not resume from blanking or screensavers

    Hello, I have filed Bug #21395, with no response or assignment of the bug since I've filed it. My hardware goes as follows: Intel P4 Pro, 2.4-Ghz processor desktop PC 1 Gb RAM Nvidia 7300 GT card Audigy 2 sound card The issue with the bug has not dec

  • N95 -1 or 2 or 3 what's the differences

    I'm a bit confused - i've seen more and references to what seems like variations of the N95 is this to do with individual build dates? For instance what are the differences between a N95-1 and an N95-3 if they are both running say FW 11.xxxx??? Regar

  • Premier pro cc 2014 update

    Hello , do I have to uninstall Adobe premier cc in order to instal Adobe premier cc 2014 ? Or this will update when I click on install cc 2014 . if I do not uninstall premier cc do I will have 2 premiers pro cc when I install 2014 ? thank you !

  • Feature Request:  Setting to NOT check mail on launch

    Using the Mail on the iPhone virtually locks up the device until it is done checking mail. In Settings, you can set Mail to check Manually. However, every time I launch the Mail application, it checks mail automatically. I'd like to request a setting

  • Headphone Jack Background Noise When No Audio Present

    I'm really getting frustrated. I have my headphones plugged directly into my iMac, and I'm hearing a low white noise sort of sound coming only from the right channel. The left is silent...like it should be. The level of the white noise is not impacte