Problem in forms: no such trigger : on-populate-details

I have a form with a relation between two database-blocks.
The message no such trigger: on-populate-details occurs often, and is easy to reproduce.
The error message comes when I commit a value in the master block and at the same time on the detail block. The detail block gives an error message from a database trigger and when I try to change from field in the master block I get no such trigger: on-populate-details.

Make sure that the relation specific triggers exist all of them, it seems like the ON-POPULATE-DETAILS trigger is missing.
You can delete and recreate the relation between the blocks, this will automatically recreates all the necessary triggers for you.
Tony

Similar Messages

  • Problem with WHEN-CHECKBOX-CHANGED and ON-POPULATE-DETAILS

    I have a detail block with a relationship set up to a second block. In my first block, if I cause an error but the next action I take is to press a checkbox on another record, my error will display and the raise form trigger failure is triggered but the checkbox changes it's value and the cursor is displayed on the record with the error. I didn't want the checkbox to change if an error occurred. I tracked this through the trace and saw the on-populate-details is fired between the error and the when-checkbox-changed trigger. I went through debug and saw because of the erorr, the system will do a 'return' back to the sending action. I beleive this return is causing the when-checkbox-changed to fire. I'm just guessing here. I tried a similar action on another form without a relationship set up. That would eliminate the on-populate-details trigger. When I did a similar error, I got exactly what I was looking for. I caused the error but pressed the checkbox on another record. The error displayed but the checkbox did not change and the cursor returned to the error record. I need the record to have this relationship. Consequently, I need the on-populate-details trigger. Can anyone think of a solution? I'm currently on Forms 6I. We are going to forms 10G in the next few months. But I really need a solution on my current set up. Thanks.

    The getNextDatabankRecord() call is at the beginning of my run code. I use one step just for this line code.
    Code :
    public void run() throws Exception {
              beginStep("CHARGEMENT DES DONNEES SUIVANTES");
                   info("Chargement des prochaines données...");
                   getDatabank("NouvellesIA").getNextDatabankRecord();
              endStep();
    Stop the user after this step and goto the finish section should not be a problem...
    If I use the "When out of records" option, does it jump directly to the finish section ?
    Thanks,
    Benoit.

  • Help me, why Oracle Application raised error:no such trigger.

    Dear friend,
    I have developed a form program in FORMs 6I, and it works in my ORACLE APPLICATIONS ,but after it is installed in another Server,it popup the error windown, it said : FRM-40700:No such trigger:menu_to_appcore.
    I don't know why, somebody told me ,the oracle application with different vesion will cause this problem, is it true?, if it's true, how can i avoid it if i have to use those triggers.
    Thanks a lot.
    regards,
    willen 2002/06/27

    Willen,
    I suggest you review the Oracle Applications Developer's Guide (http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115devg.pdf). More than likely, your form does not include one or more of the required libraries or other subclassed objects required for an Applications Form. I highly recommend you base any Custom Form on the provided TEMPLATE.fmb that comes with Apps. This will ensure you have all the required objects in your form and the library paths are neutral (no hard-coded file paths to the library - which could be the cause of your error).
    somebody told me ,the oracle application with different vesion will cause this problem,As to this statement, you need to contact your DBA or Apps Server admin to find out which version of Oracle Forms is installed on the Apps Server. Your development environment must match. For example, Forms 6i patchset 18 installed on the Apps Server, you should have Forms 6i patchset 18 installed on your workstation. It will work if your workstation has a lower version than the Apps Server, but you're asking for trouble if you have a newer version installed on your workstation.
    Hope this helps.
    Craig...
    P.S. The E-Bus Suite forum is the more appropriate forum for an Applications question. This forum is for non-EBS Forms development. :-)

  • Navigation Problem in forms 10.1.2.0.2 !!!

    Hi All,
    when we create relation between master and child block then getting problem in navigation.
    i assume that you have form with two block with relation and data then execute query then
    start following step
    0) make sure you set required = true for first navigation item of child block
    1) you are in child block make some change on any item and make your cursor must not be on first navigation item.
    3) commit the form
    2) then click on master block and here make sure you are clicking on non current record.
    From
    Chirag Patel
    From
    Chirag Patel

    Thanks Frank,
    Yes Frank please follow the steps.
    this is error explanation :
    I have debug many times !!!
    actually it is not error but funny behaviour !!
    when you click on parent block on diffrent record then validataion trigger of first item of child block will fire. I do not why it is happening !!!
    I removed the validation trigger and did required=true for first navaigation item of child block then also it's behaving funny.
    This are the steps.
    1) create form with parent and child block and make relation ship
    2) insure that you put 2 record in parent and 2-2 recors in child for each parent record.
    3) insure that your first navigation item of child block has required property = true
    4) run your form fresh
    5) from parent bloc execute query ( I hope child block is populate some records)
    6) click on any record of child block and make changes
    7) then commit your form.
    now fun will start
    8) click on parent block on any record which has child records and non current record.
    9) then form should populate details for child instead of it behaves different as follows
    you will find FRM-40202 : Field must be entered
    your cussor will remian in child block;
    your record will not change in parent block.
    and child block will remail blank.
    by debugging I found that problem is coming from this code of <Clear_All_Master_Details> procedure
    -- Put cursor back where it started
    IF :System.Cursor_Item <> startitm THEN
    Go_Item(startitm);
    Check_Package_Failure;
    END IF;
    when I remove this line
    Go_Item(startitm);
    then my problem is solved
    But I do not know what is the other impact can be possible by removing this.
    Hello Frank
    I hope you will catch this error by this example.
    From
    Chirag Patel

  • FRM-40735: ON-POPULATE-DETAILS trigger raised unhandled exception ORA-06508

    Dear All,
    I checked this forum before i post this thread. But i didn't get any solutions.
    Recently we have migrated our production database from 10gR2 to 11g EE R11.2.0.1.0 - 64bit.
    We are continuing 10gR2 version as our oracle application server after migration.
    Now we are facing a problem - When we open a screen and query the records we are getting an error as
    FRM-40735: On-Populate-Details trigger raised unhandled exception ORA-06508.
    Then the details are not populating.
    We are getting this error indefinitely. In the same screen if we close it and open then its not throwing an error.
    After some times it shows the same error. may be in any form. Due to this we can't even debug the code part.
    Command used to compile all plls
    for %%i IN (*.pll) do frmcmp module=%%i userid=userid/pw@connectstg batch=yes module_type=LIBRARY compile_all=yes window_state=Minimize
    Same way we compiled the forms mmbs. OLBS no change.
    We tried manually compilation of plls too.
    We didn't made any change in the On-Populate-Details. Frequently irregular indefinite
    Thanks in Advance,
    Regards
    Balaji M

    The "ORA-06508: PL/SQL: could not find program unit being called" error is caused when Forms can't find the program unit being called or the status of the program unit is "Invalid." Have you checked the particular program unit being called to ensure it's status is "Valid?"
    Also, the On-Populate-Details triggers is system generated. You might need to drop and recreate the related Releationship in order to fix the issue.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Getting error message FRM-40700:No such trigger: SPECIAL20

    Hi,
    We have designed a custom report (Quote) and would like to use Special Menu's(Reports Menu) to open this custom Report. When I try to open this Report using
    REPORTS->Quote, The Report is opening seccuessfully but i am getting following error message at the bottom of screen bar.How can I clear this message ?
    FRM-40700:No such trigger: SPECIAL20
    The code which I wrote in the custom.pll is
    IF (form_name = 'OEXOEORD') THEN
    -- Enable View Order Report -- V1.4 --
    if (event_name = 'WHEN-NEW-FORM-INSTANCE') then
    app_special.instantiate('SPECIAL20', 'View Order Report');
    app_special.enable('SPECIAL20',PROPERTY_OFF);
    else
    if (event_name='WHEN-NEW-BLOCK-INSTANCE') THEN
    if block_name='ORDER' then
    app_special.enable('SPECIAL20',PROPERTY_ON);
    else
    app_special.enable('SPECIAL20',PROPERTY_OFF);
    end if;
    end if;
    end if;
    if (event_name='SPECIAL20' and block_name='ORDER') then
    param_to_pass1 := name_in('ORDER.HEADER_ID');
    select order_number into param_to_pass2 from oe_order_headers_all where header_id=param_to_pass1;
    editor_pkg.report(BSI_Quote(param_to_pass2), 'Y');
    null;
    end if;
    end if;
    Please give me valuable inputs on this issue.
    Thanks,
    HTH

    Hi,
    your package " app_special" does a call to "execute_trigger('SPECIAL20');" ,
    but there is no trigger with this name in your form. ( perhaps an Menu-item exists with this name.)
    Lock for "execute_trigger" in:
    app_special.instantiate('SPECIAL20', 'View Order Report');

  • Error -- No Such Trigger('when-button-pressed')

    Hi,
    I am getting the error ""No Such Trigger('when-button-pressed')"",
    when I am executing the code EXECUTE_TRIGGER( 'WHEN-BUTTON-PRESSED' );
    on some item(Key-Next-Item), although WHEN-BUTTON-PRESSED trigger exists.
    What could be the problem ?. It worked till yesterday, giving error from today, I havent
    changed any thing.
    Thanks in Advance
    Devender

    Steve's tip is the only good solution for this case.
    The problem in your case for example is:
    Let's say you have a block-trigger, which fires after your execute-trigger.
    Now a colleague of you, which don't know your code, create a WHEN-BUTTON-PRESSED on an item, then the new code is started and not the block-trigger-code.
    So, don't ever do this. Write your code in a package-function or -procedure and call it from the trigger. So you can re-user the functionality
    Gerd

  • FRM-40700: No such trigger: QUERY_FIND

    When trying to Query within Assign Approval Groups I get the following error message FRM-40700: No such trigger: QUERY_FIND. Does anyone have an idea as to what is causing this issue?

    7b0fa31f-3808-4fb2-a433-06d8eed37aeb wrote:
    Hi
    The operating System is Linux the version Red Hat Enterprise 5
    It use to work in 11i since we have upgraded to R12 we get the error message shown in original post.
    Steps in 11i
    Select responsbility Purchasing Super User>Approvals>Approval Assignments query window would open automatically.
    Steps in R12
    Purchaisng Super User>Approvals>Approval Assignments query window does not open, takes you to core form view (Assign Approval Groups) when you then try to query you get the FRM error message.
    You never answered any of my questions.
    Do you have invalid objects?
    Have you tried to generate the form?
    Do you have any personalization or customization on this form?
    Thanks,
    Hussein

  • ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate

    ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate a form.
    1) Created a FORM on EMP using the wizards. This creates an AUTOMATIC ROW FETCH
    TABLE NAME - EMP
    Item Containing PRIMARY KEY - P2099_EMPNO
    Primary key column - EMPNO
    By default the automatic fetch has a ‘Process Error Message’ of ‘Unable to fetch row.’
    2) Created a HTML region. Within this region add
    text item P2099_FIND_EMPNO
    Button GET_EMP to submit
    Branch Modified the conditional branch created during button creation to set P2099_EMPNO with &P2099_FIND_EMPNO.
    If I then run the page, enter an existing employee number into P2099_EMPNO and press the GET_EMP button the form is populated correctly. But if I enter an employee that does not exist then I get the oracle error ORA-01403: no data found and no form displayed but a message at the top of the page ‘Action Processed’.I was expecting a blank form to be displayed with the message ‘Unable to fetch row.’
    I can work around this by making the automated fetch conditional so that it checks the row exists first. Modify the Fetch row from EMP automated fetch so that it is conditional
    EXIST (SQL query returns at least one row)
    select 'x'
    from EMP
    where EMPNO = :P2099_EMPNO
    But this means that when the employee exists I must be fetching from the DB twice, once for the condition and then again for the actual row fetch.
    Rather than the above work around is there something I can change so I don’t get the Oracle error? I’m now wondering if the automatic row fetch is only supposed to be used when linking a report to a form and that I should be writing the fetch process manually. The reason I haven’t at the moment is I’m trying to stick with the automatic wizard generation as much as I can.
    Any ideas?
    Thanks Pete

    Hi Mike,
    I've tried doing that but it doesn't seem to make any difference. If I turn debug on it shows below.
    0.05: Computation point: AFTER_HEADER
    0.05: Processing point: AFTER_HEADER
    0.05: ...Process "Fetch Row from EMP": DML_FETCH_ROW (AFTER_HEADER) F|#OWNER#:EMP:P2099_EMPNO:EMPNO
    0.05: Show ERROR page...
    0.05: Performing rollback...
    0.05: Processing point: AFTER_ERROR_HEADER
    I don't really wan't the error page, either nothing with the form not being populated or a message at the top of the page.
    Thanks Pete

  • Role Based Access problem in forms

    This would be a long reading.
    I'm having a problem with forms Role Based Access.
    We have two databases, one in London and one in Zurich. We have installed
    application server and oracle forms on London database. We have implemented
    Role Based Access to forms. For this we have created a database role (say ZUR_USER)
    in both databases. The view FRM50_ENABLED_ROLES which is used by forms role based access control
    is also created in both databases with a 'grant select to public'.
    Our form system has a menu and forms under that menu. Both menu and the underlying forms have been
    assigned Menu Security/Item Roles to the above mentioned ZUR_USER role and the role is assigned
    to various users.
    Now a Zurich user is trying to login to Zurich database using the URL for forms installation
    in London server. He can login successfully and can see the menu heading in the main screen but
    when he clicks the menu he doesn't see the underlying forms list.
    When we try the same user id and database from London (using the same URL) we see all the forms.
    Any idea what are we missing. The Menu Security is setup at menu level as well as the form level under
    that menu. User can see the menu but not the form under that menu from Zurich. No such problem while
    login from London.

    I'm using the Forms 10g
    and yes the only difference is between login from Zurich and London.
    Problem definitely is due to Role Based Access setup.
    The user in Zurich can see the Menu but not the items under that menu.
    I have set the security set up at both menu and menu item(i.e. form name) level.

  • Date Validation problem in form with report

    Hi,
    I am stuck on this date validation issue in a form with report that I am working on-
    I have an Active_date_start and an Active_date_end field. I want to validate the form in such a way that if the user enters the Active_date_end < active_date_start then it should error out appropriately asking to change the active_end_date . Also another problem is that the changes are made to the active_date_end they should reflect in the table. How do I accomplish this.
    Appreciate all the help offered.
    Thanks.

    Hi,
    Thanks for the code.Now the APPLY CHANGES works fine except that it throws an error when I change the end date to a date which is less than the start date . So it does show me my error and does not go further but also shows me the error -
    Invalid PL/SQL expression condition: ORA-06550: line 1, column 29: PLS-00306: wrong number
    or types of arguments in call to 'NVL' ORA-06550: line 1, column 7: PL/SQL: Statement
    ignored Invalid PL/SQL expression condition: ORA-06550: line 1, column 29: PLS-00306:
    wrong number or types of arguments in call to 'NVL' ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    I looked up the error number and it says its a generic error type where the error can be found on the line number specified. But in this case how and where do I look for the error line?. This is the code I am using-
    DECLARE
    vACTIVE_DATE_START DATE;
    vACTIVE_DATE_END DATE;
    BEGIN
    vACTIVE_DATE_START := TO_DATE(:P4_ACTIVE_DATE_START, 'DD/MM/YYYY');
    vACTIVE_DATE_END := TO_DATE(:P4_ACTIVE_DATE_END, 'DD/MM/YYYY');
    IF vACTIVE_DATE_END < vACTIVE_DATE_START THEN
    RETURN 'End date is before start date';
    ELSE
    RETURN NULL;
    END IF;
    END;
    My base table has the active_date_start as NOT NULL. Now I have the exact same code for APPLY CHANGES
    in other form and it works fine not giving the above error. I am at a loss to know how I can get rid of the error.
    Any suggestions!.
    Thanks in advance,
    A

  • Forms 6.0 Trigger firing order

    Hi, I have a master-detail form where I "execute_query" during new_form_instance. I display 5 master records and for the current master all detail records with one detail being current. The cursor focus is in the master block.
    I'm looking for the last trigger to fire before the user has access to
    form.
    I need to do two things:
    1. Go to a specific detail record i.e go_record(3) if a condition is meet.
    2. I need to set a detail item property that is valid only for the current detail. enable or disable a button.
    I use a post_query and when_new_record_instance trigger to change the item property for the current detail block. This only works if the user enters and scrolls through the detail block. BUT I need to change the item while the user scrolls through the master block.
    Ideas?
    Is there a trigger that that fires after all data has been queried and the form is about to display where I can check a condition and set properties?
    Thanks, Dave
    null

    Maybe this help:
    You can try to modify On-Populate-Details
    and On-Clear-Details triggers.
    Helena

  • Database Link.  Problem in Forms. Baffled!

    Hoping someone can help.
    I'm working on a system that has a form on it with a problem. Although there is a currently compiled and working version of this form available, I cannot get it to compile.
    The situation is this.
    There are 2 databases, MINX a 9i database, and PROD an APPS 11i database.
    On the database PROD exists a view called MTL_ITEM_CATEGORIES_V.
    SELECT is granted on this to the APPSINQ user.
    On the database MINX exists a public synonym MTL_ITEM_CATEGORIES_V, which points at the view MTL_ITEM_CATEGORIES_V on the PROD database by way of a public database link, also called PROD. The database link uses the APPSINQ user on the PROD database.
    (once the set_org_context, and nls_language have been set)
    From SQL on the MINX database, I can select from the public synonym, MTL_ITEM_CATEGORIES_V, and rows are successfully returned from the MTL_ITEM_CATEGORIES_V view on the PROD database. This is all ok and good.
    However, in the main form, is a trigger which does a select from the public synonym and this will not compile.
    I get the error : identifier 'CATEGORY_SET_ID' must be declared.
    It's like it can't see the category_set_id column in the view. However, if I create a new block, and base it on the public synonym, the category_set_id column is there for me to choose. Meaning that forms CAN see the column.
    Am baffled! Anyone ??

    Hi
    I´ve got some problems with synonyms and dblinks in forms too. Try creating a local view based on the remote view usign the dblink (do not use the public synonym) and try to compile again.
    I think in some cases the compiler gets lost trying to follow synonyms and links. a forms bug maybe?

  • On populate detail problem

    Dear members,
    (Forms 6i c/s)
    I have a master-details relation. When Forms fills the detail block with data, I'd like to fill a third block with data too, that means to change the query of this third block and execute it.
    To execute the query in the third block, I have to do a "go_block" and an "execute_query". I can't use "go_block" in a post-query trigger.
    - Is there a way to execute a query in a block without going to it ?
    - Beside "post-query", which triggers are fired when Forms puts data in a detail block ?
    - So can I use another trigger than post-query in my detail block, in which I could use "go_block" ?
    Thanks for you help.

    Well why NOT using the on-populate-details trigger for populating details???
    If you have a block with several detail blocks and change or add one relation, the trigger gets modified too...
    To avoid this, you could use the trigger on form level instead (and check at first if the right block is firing your trigger).

  • Submit button from Adobe form doesn't trigger action???

    Hi all,
    the submit button within Adobe form doesn't trigger any action that i wrote. it happens to my machine, but it doesn't happen on some of my colleague's machines.
    i am using Adobe reader 8, when the first time i use IE to display the app, it prompts me to install some kind of activeX plug in, and after it installed, it told me that some setting is not correct, and it mentioned about adobe reader 6 or 7.
    will downgrade to 6 or 7 solve this problem? is there any other walkaround for it?
    thank you!

    If you are on Netweaver 2004s SP9 or higher, you could change the displayType property of InteractiveForm UI element to "Web Dynpro Native" and use the submit button from "Native" tab.
    If you are any other lower version, you dont have a choice but to use "activeX" which requires Active Component Framework (ACF) to communicate with server. You need to use button from "Web Dynpro ActiveX" tab. You need to install the right version of ACF (SAP Note 766191). Better if you use Adobe Reader 8.1.2.
    Thanks
    Ram

Maybe you are looking for

  • Itunes is grayed out using sync

    When I attempt to Sync my device with iTunes, the screen within iTunes is grayed out.  I cannot select any items from the iPhone.  Please help.

  • SOAP scenario "Do not use SOAP Envelope" check problems

    Hi Gurus! I'm again here. I've an scenario with SOAP Receiver, the WS do I need consume, looks like: POST /SumTotalws1/services/Authentication.asmx HTTP/1.1 Host: xxx.xxx.xxx.xxx Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction

  • HP Recovery Kit

    Following a botched repair and subsequent non genuine Windiws 7install to my HP G62-107SA Notebook, I decided to order an HP Recovery Kit. Disk 1 seems to install fine without error messages then the system asks for Disk 2. When Disk 2 is inserted, t

  • 0RECORDTP  for funds management

    Hi how this object 0RECORDTP  is filling in 0PU_C02 cube, any equall filed need to map at cube level or will fill automatically? ple let me know

  • Po release not possible

    [Re: po release is not posible].I have tried this link but didnt work anything.Plz Suggest.I tried deactivating exit .tried all release tables.but didnt work cl24n checked throght all end.