FRM-40106 - No navigable items in destination block

Hello,
i have a list populated with records from a COUNTY table, and when i select a county, it displays all the cities from that county.. also i have that block named COUNTY, with 3 hidden items on the form (id, code, name). when i select something from that list, i got FRM-40106. and this is when the id item COUNTY block is hidden, if Visible=YES, then when i select a county from the list, it points automatically to that id field. how can i hide that field, but also being able to select a county and display the corresponding cities ?
Thanks

Roger,
You need to be careful when having dynamic lists like this. (se the forms help for populate list).
You need to re-populate the list of cities based on the value selected for the county
Your record group for cities would have a where clause like 'where county_id = :block.county'
use the when-list chaged trigger on the county item to clear your city item, and re-create and re-populate the list assocated with the city item
Hope this helps
Neil

Similar Messages

  • Frm-40106  No navigable item in destination block

    Hi,
    I am getting the above error. I can not make any item on the above block as navigable as the table on which block is based is just used for making business deciosins.
    Can somebody let me know which properties to be set to take care of this. This is an error (>25) so I can not supress the message.
    Thanks a million.
    --Muni                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    hi,
    do you want to show data only on the form and prevent any changes on it ??
    i think you can set all items' NAVIGABLE property to true, but set the UPDATE_ALLOWED and INSERT_ALLOWED properties to false after querying the data. to do that, you can prevent any changes on it even though you can navigate into the item !!

  • What does error :40106 - No navigable items in destination block means ?

    I have a couple of blocks in my form . One is a control block and the others are database blocks . I get this error when I click on the search button in my form . Thanks.

    Hai,
    that means, in oracle there should be minimum 1 control whose navigable property should be TRUE.
    That means we can't have a block in which all the items are disabled. For that you can set 1 item enabled and, set that items Update Allowed, Insert Allowed to FALSE.
    Regards,
    Manu.

  • No navigable item in the destination block

    Hi
    using Dev6i.. i have to face the problem.(frm-40106).plzz help me how to solve this problem.
    thankx in advance

    Quoting the Online Help:
    FRM-40106: No navigable items in destination block.
    Cause: Runtime error. A GO_BLOCK statement references a block with no enterable items.
    Action: Remove the statement or make at least one item in the block enterable.
    either you are navigating to a block that has no item visible on the canvas, or all the items visible on the canvas are disabled.
    Tony

  • FRM-40106...no enterable items...

    I have a data-block which contains information that will not be updated on this particular form. So, I have disabled all elements, so as not to allow updates. However, when I run the form I recieve the error FRM-40106: No navigable items in destination block. Is there a way to have a data-block that is simply for informational purposes, and not updateable? I looked at the help text associated with the error:
    Cause: Runtime error. A GO_BLOCK statement references a block with no enterable items.
    Action: Remove the statement or make at least one item in the block enterable.
    Where is the GO_BLOCK statement? I know I can make one item in the block enterable, but I really don't want to do that.
    Thanks.

    Hi Richard,
    What you can try is the following,
    when you open your form add QUERY_ONLY as a parameter in your OPEN_FORM or CALL_FORM statement. In that case, you can only perform queries in your form.
    Or another good option is to set the update, delete and insert properties at block-level to no.
    I recommend that you use a visual_attribute to let the users see that they can only perform queries.
    End-users who I worked with do not like the diabled item, because all of the fields are greyed out.
    Hope this helps!
    Marc
    null

  • No navigable items(designer 9i)

    hi everybody i am using designer 9iAS,
    I have two Module Components in OrderDetail Module as
    ordmas
    orddet
    when i generate this module and run the form builder at the run time it show message as
    FRM-40106: No navigable items in destination block;
    can u help me
    please

    Helena,
    I have seen your respone so a previous thread and thought you may be able to assist.
    I am gettting the FRM 40106 no navigable items error when the form opens
    but have been unable to rectify the problem by putting a dummy item on
    the form. I have also checked that at least one item in each block is
    enabled and visble.
    I'm wondering is ther any rules around block ordering etc or queries
    populating the forms blocks that could cause this?
    I'm really stuck and would greatly appreciate some advice.
    Dave

  • Workaround for FRM-40106

    Hello,
    need a workaround for error
    FRM-40106: No navigable items in destination block
    but all items of the block should be/remain invisible.

    Try making it visible but setting its width and height to 1.

  • FRM-40106

    Hi Gurus,
    When I run my form, I get this error message FRM-40106 with a message
    "No Navigable items in the destination Block). This comes when I navigate to each and every record in the current block.
    Please help me in getting rid of this.
    Thanks.

    There must be at least one navigation item in your block and it must be the first.
    Hope it helps you,
    Fabrizio

  • Last navigable item

    hello,
    is there a way to know if i'm (trigger "key-nextitem") in the last navigable item of a block?
    in particular,
    get_item_property(item, NEXT_NAVIGATION_ITEM)
    returns (erroneously) the name of a field which is "enabled" but "not navigable".

    Write a function to examine each item in the block.
    Create variables for the first, last and current item --
    first_item varchar2(30) := get_block_property( block, FIRST_ITEM);
    last_item varchar2(30) := get_block_property( block, LAST_ITEM );
    this_item varchar2(30) ;
    loop through the block items from last to first
    check to see if this_item is enabled
    if so, exit the loop
    if this_item = first_item, exit the loop
    otherwise, reset this_item with get_item_property( this_item, previousitem)
    to continue looping
    end loop
    return the item name to be used for navigation

  • FRM-40106 Error

    I have a form (forms 5) that is called from another (parameter
    type) form. Within the new-form-instance trigger, I tell it to
    go_block(my_master_block)
    and then execute a query. A pre_query trigger reads one of the
    parameters passed to the form, and bases the query on that
    parameter.
    After the query is executed, I then tell it to fill in some of
    the detail block fields, based on other parameters that have
    been passed.
    This all works very well, except that I come up with the error
    FRM-40106, which tells me that "there are no navagable items in
    my destination block." What this means is that I apparently
    have a block (that I am then going to using go_block) in my form
    where all the items are neither keyboard navagable nor are they
    enabled (according to the online help).
    This poses 2 issues:
    a) all my fields in all my blocks have been set to be navagable
    and enabled, and the error still occurs,
    b) I can only find one instance of go_block in my code, right at
    the beginning for the master block, and the fields fill in OK.
    Has anyone else had this problem?
    Many thanks
    Sue E
    null

    (Thanks for telling us what the text of 40106 is.)
    You will have to debug your form. Put this after each Go_Block command in the form:
    Go_block('WHATEVER');
    If not form_success then
      Message('go_block whatever failed');
      Raise Form_trigger_failure;
    End if;

  • ORA-01403: no data found ---- FRM-40735: WHEN-VALIDATE-ITEM trigger raised

    Scenario: I have one Master Detail form. after entering values in master Form, Navigate to Detail form, there I have to enter more that 5000 lines, it's very tough for user to enter huge amount of data.
    Workaround: Give one button on Master form and written a cursor to populate all the 5000(relavent) number of record on detail block.
    Issue: while populating detail data block after around 3000 record detail form start showing Error as
    ORA-01403: no data found
    FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06502.
    Need suggestion
    Code Written on find button as below
    BEGIN
              --XX customized
              if (:ADJ_IP_CTRL.DUE_DT_FROM is null OR :ADJ_IP_CTRL.DUE_DT_TO is null) then
              fnd_message.set_string('Due Date from and Due Date To Must be entered.');
              fnd_message.Show;
              raise form_trigger_failure;
              end if;
         BEGIN     
              go_block('ADJ_INV_PAY');
    clear_block(no_validate);
         for inv_rec in (
                             SELECT v.invoice_num,
              v.invoice_id,
              v.invoice_type,
              v.pay_alone,
              v.exclusive_payment_flag,
              v.payment_num,
              v.amount_remaining,
              --TO_CHAR (v.amount_remaining,fnd_currency.get_format_mask(v.currency_code, 42)) char_amount_remaining,
              TO_CHAR (v.amount_remaining,'FM999G999G999G999G999G999G999G999G990D00') char_amount_remaining,
              ap_payment_schedules_pkg.get_discount_available (
              v.invoice_id,
              v.payment_num,
              :pay_sum_folder.check_date,
              :pay_sum_folder.currency_code)
              discount_available,
              /*TO_CHAR (ap_payment_schedules_pkg.get_discount_available (
              v.invoice_id,
              v.payment_num,
              :pay_sum_folder.check_date,
              :pay_sum_folder.currency_code),
              fnd_currency.get_format_mask (v.currency_code, 42))*/
              TO_CHAR (ap_payment_schedules_pkg.get_discount_available (
              v.invoice_id,
              v.payment_num,
              :pay_sum_folder.check_date,
              :pay_sum_folder.currency_code),'FM999G999G999G999G999G999G999G999G990D00')
              char_discount_available,
              ap_payment_schedules_pkg.get_discount_date (
              v.invoice_id,
              v.payment_num,
              :pay_sum_folder.check_date)
              disc_date,
              v.always_take_disc_flag,
              v.discount_amount_available,
              v.discount_date,
              v.second_discount_date,
              v.second_disc_amt_available,
              v.third_discount_date,
              v.third_disc_amt_available,
              v.gross_amount,
              v.description,
              v.accts_pay_code_combi_id,
              v.due_date,
              v.REMIT_TO_SUPPLIER_NAME,
              v.REMIT_TO_SUPPLIER_ID,
              v.REMIT_TO_SUPPLIER_SITE,
              v.REMIT_TO_SUPPLIER_SITE_ID,
              v.RELATIONSHIP_ID,
              v.external_bank_account_id,
              ieba.bank_account_num external_bank_account_num,
              ieba.bank_account_name external_bank_account_name
              FROM ap_invoices_ready_to_pay_v v, iby_ext_bank_accounts ieba
              WHERE v.party_id = :pay_sum_folder.party_id /* and v.invoice_num like :adj_inv_pay.invoice_num||'%' */
              AND ( (:pay_sum_folder.payment_type_flag =
              'M')
              OR (:pay_sum_folder.payment_type_flag =
              'R'
              AND v.invoice_type IN
              ('CREDIT',
              'STANDARD',
              'DEBIT',
              'EXPENSE REPORT',
              'MIXED',
              'AWT'))
              OR /*Bug5948003, Bug6069211*/
              (:pay_sum_folder.payment_type_flag =
              'Q'
              /*AND (v.vendor_site_id =
              :pay_sum_folder.vendor_site_id
              OR v.invoice_type =
              'PAYMENT REQUEST')*/
              AND ( (:SYSTEM.LAST_RECORD =
              'TRUE'
              AND :SYSTEM.cursor_record =
              '1')
              OR (NVL (
              v.exclusive_payment_flag,
              'N') =
              'N'
              AND NVL (
              :parameter.pay_alone,
              'N') =
              'N'))))
              AND v.currency_code = :pay_sum_folder.currency_code
              AND v.payment_method_code = :pay_sum_folder.payment_method_code
              AND NVL (v.payment_function, 'PAYABLES_DISB') =
              NVL (:pay_sum_folder.payment_function, 'PAYABLES_DISB')
              AND v.set_of_books_id = :pay_sum_folder.set_of_books_id
              AND NVL (v.future_dated_payment_ccid, -1) =
              DECODE (:parameter.manual_fdp_site_acct_src_flag,
              'Y', NVL (:parameter.site_fdp_account_ccid, -1),
              NVL (v.future_dated_payment_ccid, -1))
              AND v.external_bank_account_id = ieba.ext_bank_account_id(+)
              AND v.due_date BETWEEN :ADJ_IP_CTRL.DUE_DT_FROM and :ADJ_IP_CTRL.DUE_DT_TO
                                  ORDER BY v.due_date, UPPER (invoice_num)          
                        --added 08apr2012 (end)
              removed 08apr2012 ORDER BY UPPER (invoice_num)
              ) loop
                   :ADJ_INV_PAY.INVOICE_NUM := inv_rec.INVOICE_NUM;
    :ADJ_INV_PAY.INVOICE_ID := inv_rec.INVOICE_ID;
    :ADJ_INV_PAY.INVOICE_TYPE := inv_rec.INVOICE_TYPE;
    :ADJ_INV_PAY.EXCLUSIVE_PAYMENT_FLAG := inv_rec.EXCLUSIVE_PAYMENT_FLAG;
    :ADJ_INV_PAY.PAYMENT_NUM := inv_rec.PAYMENT_NUM;
    :ADJ_INV_PAY.AMOUNT_REMAINING := inv_rec.AMOUNT_REMAINING;
    :ADJ_INV_PAY.DISCOUNT_AVAILABLE:= inv_rec.DISCOUNT_AVAILABLE;
    :ADJ_INV_PAY.DISC_DATE := inv_rec.DISC_DATE;
    :ADJ_INV_PAY.ALWAYS_TAKE_DISC_FLAG := inv_rec.ALWAYS_TAKE_DISC_FLAG;
    :ADJ_INV_PAY.DISCOUNT_AMOUNT_AVAILABLE := inv_rec.DISCOUNT_AMOUNT_AVAILABLE;
    :ADJ_INV_PAY.SECOND_DISCOUNT_DATE := inv_rec.SECOND_DISCOUNT_DATE;
    :ADJ_INV_PAY.SECOND_DISC_AMT_AVAILABLE:= inv_rec.SECOND_DISC_AMT_AVAILABLE;
    :ADJ_INV_PAY.THIRD_DISCOUNT_DATE:= inv_rec.THIRD_DISCOUNT_DATE;
    :ADJ_INV_PAY.THIRD_DISC_AMT_AVAILABLE := inv_rec.THIRD_DISC_AMT_AVAILABLE;
    :ADJ_INV_PAY.GROSS_AMOUNT := inv_rec.GROSS_AMOUNT;
    :ADJ_INV_PAY.ACCTS_PAY_CODE_COMBINATION_ID := inv_rec.ACCTS_PAY_CODE_COMBI_ID;
    :ADJ_INV_PAY.DUE_DATE := inv_rec.DUE_DATE;
    :ADJ_INV_PAY.REMIT_TO_SUPPLIER_NAME := inv_rec.REMIT_TO_SUPPLIER_NAME;
    :ADJ_INV_PAY.REMIT_TO_SUPPLIER_ID := inv_rec.REMIT_TO_SUPPLIER_ID;
    :ADJ_INV_PAY.REMIT_TO_SUPPLIER_SITE := inv_rec.REMIT_TO_SUPPLIER_SITE;
    :ADJ_INV_PAY.REMIT_TO_SUPP_SITE_ID := inv_rec.REMIT_TO_SUPPLIER_SITE_ID;
    :ADJ_INV_PAY.APS_EXTERNAL_BANK_ACCOUNT_ID := inv_rec.EXTERNAL_BANK_ACCOUNT_ID;               
    --               go_item ('ADJ_INV_PAY.INVOICE_NUM');
    --               EXECUTE_TRIGGER('WHEN-VALIDATE-ITEM');
              validate(record_scope);
              if form_success then
              next_record;
              end if;
              end loop;
              first_record;
         exception
                   when others then
                   raise form_trigger_failure;
              END;
    synchronize;
    END;
    Thanks
    -Krishn

    Hello Krishn,
    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!
    user12266683 wrote:
    Scenario: I have one Master Detail form. after entering values in master Form, Navigate to Detail form, there I have to enter more that 5000 lines, it's very tough for user to enter huge amount of data.
    Workaround: Give one button on Master form and written a cursor to populate all the 5000(relavent) number of record on detail block.
    Issue: while populating detail data block after around 3000 record detail form start showing Error as
    ORA-01403: no data found
    FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06502.
    Need suggestion
    ORA-01403: no data found clearly indicate that you have SQL Select statement in WHEN-VALIDATE-ITEM trigger and does not handled EXCEPTION
    add exception in your select statement.
    Hope it's clear..
    Hamid
    If someone's response is helpful or correct, please mark it accordingly.*

  • Displaying navigation item in Navigation Pane

    1. I created a Portal in my 11.1.1.8 Portal Builder.
    2. For that portal, I added a few links to navigation. Portal Home -> Portals -> Portal Builder -> "Administer" corresponding to my portal -> Assets-> Navigation -> Edit on the default navigation
    3. I added the following code in the portal's page template:
    <af:navigationPane id="pt_np1" var="node"
         value="#{navigationContext.defaultNavigationModel.defaultMenuModel}"
         level="1" hint="tabs">
         <f:facet name="nodeStamp">
              <af:commandNavigationItem text="#{node.label}"
                   action="#{node.doAction}"
                   destination="#{node.destination}"
                   id="pt_cni1"/>
         </f:facet>
    </af:navigationPane>
    4. I see tabs with no text.
    Expected: Tabs should contain the text that I entered in "Name" field of Navigation item.
    Observed: The tabs are created but there is no text in them. The number of tabs are as expected. I had 6 navigation item, the number of tabs created are also 6.
    For the text field, I tried the following:
    node.id - displays the id of the navigation item.
    node.prettyUrl - again, the id of the navigation item.
    node.name - empty tabs
    node.label - empty tabs.
    The class of node is "oracle.webcenter.portalframework.sitestructure.SiteStructureResource".  But, I could not get javadoc to see more information.
    Does anyone know how I can get the Name of the navigation to display in the tabs?

    I found the answer. According to this link - http://docs.oracle.com/cd/E29542_01/webcenter.1111/e27739/jpsdg_app_els.htm#CHDCBJGJ
    I should use node.title to get the title.

  • Navigate to item in another block

    I've placed all my items in the correct tabbing order in there block. When i get to the last item how do i navigate to another item in another block.

    what form mode are you referring? Are you referring mouse or key stoke navigation or programmatical navigation?
    If not for the specific case, it should be straight forward thing. E.G, enter-query mode, you cannot navigate to detail block if you input master block first thru forms default enter-query button/menu item.

  • FRM-40735: When validate item raised unhandled exception ora-04063

    hi experts,
    FRM-40735: When validate item raised unhandled exception ora-04063
    I have noticed the below error on my instance while trying to test some functionality.
    My EBS Version is R12.1.1 +11.1.0.7 db.
    Please advise.
    regards
    Mohammed. Abdul Muqeet

    FRM-40735: When validate item raised unhandled exception ora-04063
    I have noticed the below error on my instance while trying to test some functionality.How do you get this error?
    What is the navigation path?
    Please check the application.log file along with Apache log files for any errors.
    Thanks,
    Hussein

  • Command Navigation Item + Filter mapping issue

    Readers,
    I have 2 questions here
    1) How is navigation item different from commandLink ?
    2)I am having a navigation item in my Main Page. the code of which is
    <f:facet name="globalLinks">
                <af:group id="g1">
                  <af:spacer width="10" height="10" id="s1"/>
                  <af:navigationPane id="np1" hint="bar"
                                     inlineStyle="vertical-align:sub;">
                    <af:commandNavigationItem text="Home" id="cni2"
                                              icon="/com/xxx/images/home.gif"
                                              destination="/faces/MainPage"
                                              targetFrame="_self"/>
                    <af:commandNavigationItem text="Logout" id="cni1"
                                              icon="/com/xxx/images/glbl_logout.gif"
                                              actionListener="#{backingBeanScope.MainPageBean.doLogout}"/>
                  </af:navigationPane>
                </af:group>
              </f:facet>I have configured a filter to intercept all URL of type "/*" and redirect it tologin page if the session attribute is null
    the issue happening here is on click of the Home link, it takes me to the login page in spite of configuring the commandNavigationItem for home link (see the above code). When i click on logout though i am redirected to login page i get the NPE.
    Code for Filter is
                    if (session.getAttribute("userLoginId") != null) {
                        user = (String)session.getAttribute("userLoginId");
                    if ((user == null) || (user.equals(""))) {
                        String finalRedirectURL =  "/Portal/faces/LoginPage";
                        hres.sendRedirect(finalRedirectURL);
                        FacesContext context = FacesContext.getCurrentInstance();
                        context.responseComplete();  //*on logout i get NPE here*
                    }Please advice..
    thnks
    Jdev 11.1.1.5

    Question one still unanswered also a bit of question 2.
    Now the issue is getting the following error on logout, clicking on home page now doesn't redirect me to login page.
    java.lang.IllegalStateException: Cannot forward a response that is already committed
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:122)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44
    Any ideas ?
    Edited by: in the line of fire on Nov 1, 2011 1:18 PM

Maybe you are looking for