WHEN-NEW-ITEM-INSTANCE TRIGGER NOT FIRING IN FORM PERSONLIZATION(R12 UPGRAD

We are upgrading to R12, when-new-item-instance trigger written for radio group not firing. using USO-821 Order Administrator Responsibility the function order capture.After clicking on actions push button
opening Copy Quote for this Form Personalization written.
For Radio Group Copy-Group when-new-item-instance trigger written but this trigger not firing,but In 11i Instance its Firing.
trigger-event: when-new-item-instance
Trigger-object:copy_group
condition:when copy_group='ALL'
Action: showing message.
The same when-new-instance trigger written in form item level and trigger execution hierarchy properties 'OVERRIDE'.
Just I am thinking this overriding by Item level trigger of form.
Please kindly help me quickly .What I need to do?
How can I make trigger to Fire?
Please kindly give solution.....Its very urgent Requirement.pls help me.
Regards,
Basavaraj

Please kindly help me quickly .What I need to do?
> Please kindly give solution.....Its very urgent Requirement.pls help me.
Kindly log a SR for urgent issues.
Thanks,
Hussein

Similar Messages

  • WHEN-NEW-ITEM-INSTANCE TRIGGER NOT FIRING IN FORM PERSONLIZATION

    We are upgrading to R12, when-new-item-instance trigger written for radio group not firing. using USO-821 Order Administrator Responsibility the function order capture.After clicking on actions push button
    opening Copy Quote for this Form Personalization written.
    For Radio Group Copy-Group when-new-item-instance trigger written but this trigger not firing,but In 11i Instance its Firing.
    trigger-event: when-new-item-instance
    Trigger-object:copy_group
    condition:when copy_group='ALL'
    Action: showing message.
    The same when-new-instance trigger written in form item level and trigger execution hierarchy properties 'OVERRIDE'.
    Just I am thinking this overriding by Item level trigger of form.
    Please kindly help me quickly .What I need to do?
    How can I make trigger to Fire?
    Please kindly give solution.....Its very urgent Requirement.pls help me.
    Regards,
    Basavaraj

    Please kindly help me quickly .What I need to do?
    > Please kindly give solution.....Its very urgent Requirement.pls help me.
    Kindly log a SR for urgent issues.
    Thanks,
    Hussein

  • Webutil crashes while calling Function in when-new-item-instance-trigger

    Hello !
    I use Oracle AS 10.1.2 and webutil 1.0.6 and Oracle Forms Developer Version 10.1.2.
    When I call the webutilfunctions within a when-button-pressed or post-change trigger, everything works fine.
    When I call the webutilfunctions within a when-new-item-instance-trigger i get an error message:
    oracle.forms.webutil.file.FileFunctions bean not found.
    CLIENT_TEXT_IO.fopen will not work
    What are the reasons for this behavior ? How can I solve the problem ?
    PLEASE HELP !!!!!!!!

    I think that this is well explained in the webutil documentation(pdf).
    You cannot use the functions in the initialisation phase of the form, including triggers like When-New-Form-Instance, When-New-Block-Instance,etc...
    The workaround is to use a timer to wait the necessary time for the beans to instantiate themselves.
    Francois

  • When-Mouse-Click does not fire if When-new-item-instance exists

    We are using Forms 6i Patch 12.
    The When-Mouse-Click trigger (at block level) is not getting fired when a When-new-item-instance trigger exists on a given item on which mouse is clicked.
    We need to synchronize keyboard and mouse events such that if the validation on certain key items fails, the cursor should go to one of the specified items as per the validation rules.
    The validation rules are different on leaving from different items. Complex validation rules require cursor to go to a different item than the current item on which the validation fires.
    Since go_item cannot be used in when-validate-item, we are using a combination of key-next-item and when-mouse-click.
    But, this strategy seems to fail if mouse is clicked over an item having a when-new-item-instance trigger.
    Also, we need the When-mouse-click trigger to fire before When-new-item-instance.
    Any pointers to solving the firing of trigger or strategy will be appreciated!
    Regards,
    Sanjiv

    This solution we have tried and it works also.
    However, we end up in another problem in the form. For overall picture, please see my latest post for "Forms Valid status" at Forms Valid status
    Regards,
    Sanjiv

  • Where's the WHEN-NEW-BLOCK-INSTANCE trigger gone?

    Not a rehash of my famous UKOUG presentation but a genuine question.
    If I start up a Form with ENTER_QUERY in the WHEN-NEW-FORM-INSTANCE trigger then WHEN-NEW-BLOCK-INSTANCE never fires. I just get a WHEN-NEW-RECORD-INSTANCE. This is true whether the query is executed or cancelled.
    I have replicated this behaviour inb both Forms 4.5 and 9i Forms so I assumed this is standard behaviour and well-known by everybody but me. The question is: why is Forms designed like this? I can just about see why WHEN-NEW-BLOCK-INSTANCE might not fire in QUERY-MODE, even though WHEN-NEW-RECORD-INSTANCE does, but why doesn't it fire after the query is executed or cancelled?
    Cheers, APC

    Interesting...
    I am aware that the when-new triggers do not run in some cases. On the other hand, the post- triggers run over and over again, to the point that I just don't use them because any code put there executes too many times.
    If you have several go_item or go_block triggers in a key trigger or when-button-pressed trigger, the when-new-item-instance trigger does not run each time you do a go_item. Instead, the when-new triggers ONLY run on the last item or block, just after my key-trigger code completes, and just before control returns to the user.
    So it would seem natural that if you go_block in a when_new_form_instance trigger, and execute an Enter_Query command, then the when-new-block-instance would not run.
    The fact that it does not run once you cancel the query just doesn't seem right, though.

  • When new item instance + attribute value

    Hi,
    I'm trying to default context value based on trx_type
    Here are the details:
    Trigger Event: WHEN-NEW-ITEM-INSTANCE
    Trigger Object: TGW_HEADER.CTT_TYPE_NAME_MIR
    Condition: :TGW_HEADER.CTT_TYPE_NAME_MIR = 'XYZ'
    Processing Mode: Not in Enter-Query Mode
    Context Level: Site
    Select the Actions tab
    Actions Seq: 10
    Type: Property
    Language: All
    Object Type: Item
    Target Object: TGW_HEADER.ATTRIBUTE_CATEGORY
    Property Name: Value
    Value: ='ABC'
    But this personalization is not defaulting the attribute category value to 'ABC'.
    Can some one please help me on this...
    Thanks in advance!!!

    Hi,
    I'm trying to default context value based on trx_type
    Here are the details:
    Trigger Event: WHEN-NEW-ITEM-INSTANCE
    Trigger Object: TGW_HEADER.CTT_TYPE_NAME_MIR
    Condition: :TGW_HEADER.CTT_TYPE_NAME_MIR = 'XYZ'
    Processing Mode: Not in Enter-Query Mode
    Context Level: Site
    Select the Actions tab
    Actions Seq: 10
    Type: Property
    Language: All
    Object Type: Item
    Target Object: TGW_HEADER.ATTRIBUTE_CATEGORY
    Property Name: Value
    Value: ='ABC'
    But this personalization is not defaulting the attribute category value to 'ABC'.
    Can some one please help me on this...
    Thanks in advance!!!

  • FRM-40735: WHEN-NEW-BLOCK-INSTANCE trigger raised unhandled exception ORA-0

    I have created two control blocks.In the second control block an item is getting data depending on the value of a particular item in the 1st control block.
    I am fetching data for the item in 2nd block using WHEN-NEW-BLOCK-INSTANCE trigger in the 2nd block
    It is giving the following error
    FRM-40735: WHEN-NEW-BLOCK-INSTANCE trigger raised unhandled exception ORA-01403
    When I am giving the following code, it is working
    SELECT BM_MR_LCL_STD INTO :BLOCK2.ITEM5 FROM FABRIC_TYPE_MAST_DVLP WHERE FABRIC_TYPE = 'AT';
    But when I am giving the below code, it is not working,
    SELECT BM_MR_LCL_STD INTO :BLOCK2.ITEM5 FROM FABRIC_TYPE_MAST_DVLP WHERE FABRIC_TYPE = :BLOCK1.ITEM4;
    Please Help.
    Regards,

    That means there were no rows in the table which matched the criteria in your query. You need to trap the no_data_found exception, eg
    exception
      when no_data_found then
        :block2.item5 := null;
    end;and if fabric_type is not unique then you'll need to trap the too_many_rows exception too.
    I think for this you might be better off with an explicit cursor.

  • FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-

    Hi,
    In R12 When trying to search existing users through Sysadmin or any other user ...we are getting the below errror...
    ORA-01403: no data found
    FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-06510
    This error is not happening when we search for the SYSADMIN user....
    Any idea why this error happening...
    Also another error which is faced by users other than SYSADMIN is the below one when changing the responsability...
    APP-FND-01926---The custom event WHEN-RESPONSIBILITY-CHANGED raised unhandled exception:User Defined Exception
    Thanks
    Joseph
    Edited by: 783717 on Sep 27, 2010 10:49 PM

    Hi,
    In R12 When trying to search existing users through Sysadmin or any other user ...we are getting the below errror...
    ORA-01403: no data found
    FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-06510
    This error is not happening when we search for the SYSADMIN user....
    Any idea why this error happening...What changes have been done recently?
    Please run AutoConfig and make sure it completes successfully.
    Also another error which is faced by users other than SYSADMIN is the below one when changing the responsability...
    APP-FND-01926---The custom event WHEN-RESPONSIBILITY-CHANGED raised unhandled exception:User Defined ExceptionCan you find any errors in the database log file?
    Please compile CUSTOM.pll (and other files) as per these docs and try again (as you are on R12 use frmcmp_batch.sh instead of f60gen).
    APP-FND-01926, ORA-06508 [ID 797242.1]
    APP-FND-01926: The custom event WHEN-LOGON-CHANGED raised unhandled exception: ORA-06508: PL/SQL: [ID 831159.1]
    APP-FND-01926 when logon changed ORA-06508 [ID 334295.1]
    Thanks,
    Hussein

  • FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger

    Hi Guys,
    Can someone help me to find the root cause of my follwoing issue
    Issue
    My Sales Order was giving following error when trying to open the form
    'FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger '
    Bounced the instance the issue was resolved.
    Again today morning ,same issue started again after the daily bounce which is done bu a script.
    This time I bounced Form server and issue was resolved.
    Can someone help me in finding the root cause of this issue.
    This is issue is happening only on one form (Sales Order ) !!!!!
    Thanks

    Hi
    This is a Standard form using cusom.pll.
    This was working perfect for last 1 year.
    There where no changes made in the forms or in the environment.
    Only activity carried out was a rebooting of server.
    Surprising it is working fine after boucing!!!!
    any idea
    Thanks

  • FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception

    I have a form that I migrated to 10g from 6i. I have no problems with it in 6i.
    When I launch this migrated form on the web in 10g, I get the following error:
    Error: FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-03127From oracle error code
    03127, 00000, "no new operations allowed until the active operation ends"
    // *Cause: An attempt was made to execute a new operation before the active
    //         non-blocking operation completed or a new operation was attempted
    //         before all the pieces of a column were inserted or fetched.
    // *Action: Execute the new operation after the non-blocking operation
    //          completes. If piecewise binds/defines were done, execute the new
    //          operation after all the pieces have been inserted or fetched.What does the above suggested action mean?
    Any suggestions.
    Thanks

    Run the debugger and see what line of code is failing.

  • FRM-40735: WHEN-NEW-BLOCK-INSTANCE trigger raised unhandled exception

    Hello,
    I get the following error FRM-40735: WHEN-NEW-BLOCK-INSTANCE trigger raised unhandled exception ORA-06502 in an R12 customized form . I have no code in when-new-block-instance . In my when-new-form-instance there's only
    CLEAR_FORM(NO_VALIDATE);
         GO_BLOCK('blockname');
         EXECUTE_QUERY;
         SHOW_VIEW('CAN_STK1');
         go_item('version_no');
    Any help please ?

    twinklin_girl wrote:
    Hello,
    I get the following error FRM-40735: WHEN-NEW-BLOCK-INSTANCE trigger raised unhandled exception ORA-06502 in an R12 customized form . I have no code in when-new-block-instance . In my when-new-form-instance there's only
    CLEAR_FORM(NO_VALIDATE);
         GO_BLOCK('blockname');
         EXECUTE_QUERY;
         SHOW_VIEW('CAN_STK1');
         go_item('version_no');
    Any help please ?Please do the following to get more details about the error.
    - Obtain FRD files -- https://forums.oracle.com/forums/search.jspa?threadID=&q=FRD+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    - Obtain debug log -- How to Obtain Debug Log in R12 [ID 787727.1]
    Thanks,
    Hussein

  • Commit_form creating issue with When-New-Record-Instance trigger

    Hello friends,
    I am using Oracle forms 6i . I have a multi-data block. I have written commit_form in when-new-record-instance of the data block. When I launch the form on my instance the form does not open.
    But when I comment out this code, the form opens on the instance. What could be the exact problem?
    Also is there any condition that I can specify if the whole data block is null when I open the form?

    Hi...
    In When-New-Record-Instance, check if the block status is NEW. If Not, then just apply COMMIT_FORM;
    try this code in your trigger
    IF :SYSTEM.BLOCK_STATUS = 'CHANGED'
    THEN
    COMMIT_FORM;
    END IF;
    Should work for you.
    Thanks....

  • When new record instance trigger at Fire Enter Query event is throwing erro

    HI
    I have the following code on when new record instance which is set to fire at Enter Query Mode
    IF :SYSTEM.BLOCK_STATUS <> 'QUERY' THEN
    rec_num:=Get_Block_Property( 'MASTER', CURRENT_RECORD);
    GO_ITEM('DETAIL.ITEM_NAME');
    CLEAR_BLOCK(NO_VALIDATE);
    GO_BLOCK('MASTER');
    GO_RECORD(rec_num);
    END IF;
    But this is throwing error when I am querying record on master block.
    It says 'Function not allowed.Please see a list of keys or functions'
    Thanks in advance.

    hi,
    GO_ITEM( ) procedure is resctricted procedure.It can not be used in Enter Query mode to navigate to an item in a different block.
    You can check wheter rest of the procedures are Enter Query Mode -Yes/No thourgh forms help window.
    Message was edited by:
    Manish.Sharma

  • Verifying Responsibility in a When-New-From-Instance Trigger

    Hi All,
    I want to restrict the accessability of a form to different responsibilities using resp_id, how do I do that? Is there any other method of by which I can restrict the accessibilty to different responsibilities?can we use system variables? Any help would be appreciated.
    Thanks,
    Karthik

    If you write code that is run by the when-new-form-instance trigger which checks resp_id against the userid in some type of access table, your form can then choose to continue or not. If it cannot continue, it could either exit or call another form, depending on how it was started.

  • Getting IP address of machine in when-new-for-instance trigger

    Hi,
    I want to get IP address of the machine which is going to use fmx file. sys_context does not work. Please help me to solve this problem.
    Thanks

    Hi,
    Did you get any error while using that in WNFI trigger? Add this to your when-new-form-instance trigger and see if you are getting the message with the IP address,
    declare
    v_ip varchar2(20);
    begin
    v_ip :=SYS_CONTEXT('USERENV','IP_ADDRESS');
    message('IP Address : ' ||v_ip);
    message(' ');
    end;If you get any error, post the error.
    -Arun

Maybe you are looking for

  • Should an iPod Nano 2nd Generation Work With Windows Vista?

    I understand that many people are having problems with their iPods and come here for support and solutions. I'm just wondering if the iPod Nano 2nd generation 4g I have that is working just fine SHOULD work with latest iTunes on Windows Vista laptop

  • How to install fonts in indesign cs5 mac

    My designer sent me some fonts for a document they created for me, but I have been unable to figure out how to install the fonts. Google search and adobe search and still I am not able to figure this out. I am using macintosh os 10.64. Can someone pr

  • Access point not detected

    I have a Palm TX My wifi works fine, it detects almost any wifi signal, but it wont detect wifi at my university. First time I used it there I could connect, but suddenly I lost connection and since then I don´t even detect the access points. With ot

  • Both my iPad and iPhone will not update apps

    Both my iPad and iPhone are neither updating installed apps not installing new apps via WiFi (or 3G) but can be synced via my Mac when the new apps/updates are downloaded on the computer. This appears to be a recent problem (past few days): all I get

  • HT1595 apple tv can't find my network. What can I do?

    All of a sudden my Apple Tv shut down and after retarting (no good) and resetting it continues to say that it cannot find my network, which is an Airport Extreme router system. Any suggestions?