FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-06502.

Hi Guys,
I am a beginner in Oracle apps and have been trying to setup receivables module. I have completed all necessary setups such as system options, transaction types, transaction sources, Auto accounting etc.
Now, when I try to open transaction window, I am getting the following error
FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-06502
RDBMS : 11.2.0.2.0
Oracle Applications : 12.1.3
Thanks in advance.. :-)

Please see these docs.
Repair Orders Form Error: 'FRM-40735: When-Create-Record Trigger raised unhandled exception ORA-06502' For Instances With Alphanumeric Instance Numbers [ID 580147.1]
FRM-40735:WHEN-CREATE-RECORD Trigger Raised Unhandled Exception ORA-06502 [ID 125204.1]
Attempt To Open IGIPAPPF Approval Profile Form Fails With Error: FRM-40735 WHEN-CREATE-RECORD Trigger raised unhandled exception ORA-06502 [ID 418546.1]
Transactions Workbench Error: ORA-06502 [ID 1295626.1]
Transactions Workbench Error: Listing of FRM Errors [ID 1321612.1]
Forms Error: FRM-40735 [ID 1295620.1
Credit Transactions Form Errors Out With FRM-40735 [ID 1079945.1]
Thanks,
Hussein

Similar Messages

  • FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-01403

    hi
    when i am searching AP module and
    Payables Manager - > Oracle Payable - > Setup -> Invoice-> Distribution Set
    i am getting this FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-01403.
    what to do?
    RHEL 5.3
    EBS 12.0.0 RUP 6
    1)I have tried adadmin compling forms
    2)generating trace and tkprof but still found none.
    what to do?
    Regards
    Edited by: new2appsdba on Jul 16, 2010 1:33 AM
    Edited by: new2appsdba on Jul 16, 2010 1:37 AM

    hsawwan wrote:
    Hi,
    Please see if (Note: 1074119.1 - R12. APXINWKB: When Trying To Change Invoice Distribution Line Type Get Error: FRM-40735:PRE-RECORD Trigger Raised Unhandled Exception.ORA-01403) is applicable.9747677:R12.AP.B patch which is for 12.1 and made the SR.
    >
    If this does not help, obtain the FRD file and see if more details are collected in the logs.
    Note: 445166.1 - How to create a FRD (Forms Runtime Diagnostic) Log in EBusiness Suite R12 using Forms 10gwatching
    Note: 438652.1 - R12: Forms Runtime Diagnostics (FRD), Tracing And Logging For Forms In Oracle Applications
    Note: 867943.1 - Steps To Take FRD Trace in 11.5.10 & R12
    Thanks,
    Hussein

  • FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-01422

    when i am searching AR module and
    Receivables - > Transactions - > Transactions
    i am getting this FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-01422.
    what to do?

    user9095240 wrote:
    Hi,
    1. This form was working fine until patch 8407693 has been applied.
    2. Yes, I'm getting this error in every responsibility or user
    3. No, no personalizations
    I've read another time docs Hussein linked and as in "Troubleshooting Transaction Types In Oracle Receivables (Doc ID 1090878.1)" Patch Related paragraph, seems like I need  Patch 8302210:R12.AD.B cause my admorgb.pls  version is 120.21.12010000.2 instead of 120.21.12010000.3. I think replicate seed data program duplicated something in db. Is it possible?
    Regards
    With the information you have provided so far, it's hard to say that the cause of the issue is because of this file (version). However, if this is a test instance you may proceed and apply the patch and see if it helps.
    Thanks,
    Hussein

  • Frm-40735: when validate record trigger raised unhandled exception ORA-0406

    while on production when i open any form and inserting some valeus after that when i want ot save the information it is showing me following error
    frm-40735: when validate record trigger raised unhandled exception ORA-04062

    ORA-04062: %s of string has been changed Cause: Attempt to execute a stored procedure to serve an RPC stub which specifies a timestamp or signature that is different from the current timestamp/signature of the procedure.
    Action: Recompile the caller in order to pick up the new timestamp >
    Check the When-Validate-Record trigger in your form and look for any calls to a database stored procedure. Then check the status of the database procedure to ensure it is "Valid." If the procedure is not valid - find out why and fix it.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-06502

    Hi,
    I am trying to run a form in which I have a button which when pressed should display another popup window with few text fields in it. I have a WHEN-BUTTON-PRESSED trigger on that particular button and its raising an exception called
    FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-06502.
    When I debug the form with breakpoints its displaying the popup window correctly, but if I run it in a browser as soon as click the button it raises the Unhandled exception given above.
    Can anyone help with this? Urgent please....
    Thanks

    It is VERY good to handle your exceptions, specially a certain pre-defined exceptions like NO_DATA_FOUND, TOO_MANY_ROWS, ZERO_DIVIDE etc...
    You can also find samples on how to create user-defined exceptions, just search the online forms help (press the question mark in forms builder) for "User-Defined"
    But however you handle your exception never ever do
    WHEN OTHERS THEN NULL;If you do that you are telling to forms that no matter what kind of error is thrown do nothing, now that's very dangerous.
    You might also want to check Oracle's documentation on [url http://www.oracle.com/pls/db102/portal.portal_db?selected=5]Application Development and do a search on "Exception Handling"
    Regards,
    Tony
    Message was edited by:
    Tony Garabedian

  • FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-04063.

    Hi All,
    After Cloning the 11i instace to 12.1.3 and when trying to create an absence
    am gettin the follwing Error
    ORA-01403: no data found
    FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-04063.
    Please note I didnt get any of these kind of errors when cloned for CRP1 or CRP2.
    Thanks

    Hi,
    Its because of the invalid objects. We have compiled the invalid objects again and the issue got fixed.
    Thanks

  • FRM-40735:when-button-pressed trigger raised unhandled exception ORA-24247

    hi all
    i am using form 10g release2 i am having a problem
    when i use the following stored procedure in form then i am getting this
    error.
    FRM-40735:when-button-pressed trigger raised unhandled exception ORA-24247
    but the same code working fine when i use in SQLPLUS.
    CREATE OR REPLACE PROCEDURE mail_attach (dir1 VARCHAR2, filename VARCHAR2)
    AS
      l_output  utl_file.file_type;
      l_file       RAW(32767);
      l_size       NUMBER;
      BLOCK       NUMBER;
      b          BOOLEAN;
      l_start NUMBER := 1;
      TYPE ARRAY IS TABLE OF VARCHAR2(255);
      l_data ARRAY := ARRAY([email protected]');
    BEGIN
      UTL_FILE.FGETATTR(dir1, filename, b, l_size, BLOCK);
      l_output := utl_file.fopen('BACKUP', 'code.txt', 'r' );
      utl_file.get_raw(l_output, l_file, l_size);
      utl_file.fclose( l_output );
      FOR i IN l_start .. l_data.COUNT
      LOOP
        UTL_MAIL.SEND_ATTACH_RAW (
            sender   => 'Mailer',
            recipients => l_data(i),
            subject   => 'Data for ' || TO_CHAR((SYSDATE-1),'DD-MON-YYYY'),
            attachment => l_file,
            message   => 'Dear User, Please find attached the upload
    data for the period mentioned in the subject line.',
            att_inline => FALSE,
            att_filename => filename);
           l_start := l_start + 1;
      END LOOP;
    END;and this is used in form when-button-pressed trigger.
    BEGIN
      mail_attach('UTL_PATH','code.txt');
         message('FIle send successfully');
         message('File send successfully');
    END;

    hi
    Mehwish now check the following code and its working fine with me in form..........
    declare
         dir1 VARCHAR2(200);
          --filename VARCHAR2(200):='Logon.jpg';
           filename VARCHAR2(200);
      l_output  utl_file.file_type;
      l_file       RAW(32767);
      l_size       NUMBER;
      BLOCK       NUMBER;
      b          BOOLEAN;
      l_start NUMBER := 1;
      TYPE ARRAY IS TABLE OF VARCHAR2(255);
      l_data ARRAY := ARRAY('[email protected]');
    BEGIN
    -- EXECUTE IMMEDIATE 'ALTER SESSION SET smtp_out_server = ''192.168.56.103:25''';-- this is IP address and port of the server
      UTL_FILE.FGETATTR(dir1, :filename, b, l_size, BLOCK);
      --select directory_path into :filepath from dba_directories where directory_name='BACKUP';
      l_output := utl_file.fopen('BACKUP',:filename, 'r' );-- i added :filename as a text item.
      utl_file.get_raw(l_output, l_file, l_size);
      utl_file.fclose( l_output );
      FOR i IN l_start .. l_data.COUNT
      LOOP
        UTL_MAIL.SEND_ATTACH_RAW (
            sender   => 'Mailer',
            recipients => l_data(i),
            subject   => 'Data for ' || TO_CHAR((SYSDATE-1),'DD-MON-YYYY'),
            attachment => l_file,
            message   => :f,-- this is message item.
            att_inline => FALSE,
            att_filename => :filename);--this is attachment file name.
           l_start := l_start + 1;
      END LOOP;
      message('File Send Successfully');
      message('File Send Successfully ');
    END;hope this helps you.
    Attachment and mail are working fine with me, i can send attachment..............
    sarah

  • FRM-40735 when Button Pressed Trigger Raised Unhandled Exception ORA-03113

    Hi all,
    We are using oracle 9.2.0.4 on SUSE 10.When user try to insert record second time they are getting the error
    FRM-40735 when Button Pressed Trigger Raised Unhandled Exception ORA-03113And we are also getting ORa-0600 [12333]-[253]-[1]-[253]
    Please don't tell me that this is an oracle internal error and i have to contact oracle support.
    Actaually earlier we were using Oracle 9.2.0.6 (64 bit)on sun soalris 8 9(64 bit) and now after migrating the same to Oracle 9.2.0.4 to RHEL4 (32 bit).
    And i have also cross checked on the new server oracle 9.2.0.6 (64 bit) on rhel4 (64 bit).
    please suggest me....

    Please don't tell me that this is an oracle internal error and i have to contact oracle support.WHY? But it's the one and only reason! What do you think, how we can solve internal error? Do we have a special utility to demand from you some logs and by uising that utility analyze your database and solve your problem?

  • FRM-40735 WHEN BUTTON PRESSED trigger raised unhandled exception ORA-29282

    Hi All,
    while entering data in EAM forcaste workorder in maintenance workbench am getting this error
    FRM-40735 WHEN BUTTON PRESSED trigger raised unhandled exception ORA-29282
    check google and oracle forums and checked versions of pll and plx (as mentioned in one forum) for the form every thing is fine
    i hav also generated tkprof report but did'nt get enough info required
    my environment
    linux 5.6
    R12.1.3
    on 11.1.0.7
    please do let me know how to attach the print screen and tkprof report
    please help
    zavi

    Hi There,
    Srini:
    the form form name is different from one you mentioned in note
    ORA-29282 In POST-DELETE Trigger In EAMWOMDF Form [ID 1364328.1]
    any how i check the EAM diag option is set to yes,
    sorry i cant upload the screenshots and trace file we cant upload any from company
    here are few details from form-->help--> about
    RDBMS : 11.1.0.7.0
    Oracle Applications : 12.1.3
    Form Application : Enterprise Asset Management
    Form Name : EAMPLNWB
    Form Path : /u02/uat/apps/apps_st/appl/eam/12.0.0/forms/US/EAMPLNWB.fmx
    Form Version : 12.0.78.12010000.28
    Form Last Modified : $Date: 2011/05/17 02:44 $
    Forms PL/SQL
    APPCORE : 12.0.29.12010000.22
    APPDAYPK : 12.0.2.12010000.6
    APPFLDR : 12.0.6.12010000.2
    APPTREE : 12.0.0
    CUSTOM : 12.0.0
    EAMMRMDF : 12.0.27.12010000.4
    EAMOPMDF : 12.0.13.12010000.1
    EAMRSMDF : 12.0.10.12010000.2
    EAMWOMDF : 12.0.77.12010000.25
    FNDAPLT : 12.0.1
    FNDSQF : 12.0.3.12010000.8
    GHR : 12.0.46.12010000.14
    GLOBE : 12.0.76.12010000.10
    GMS : 12.0.51.12010000.8
    IGILUTIL2 : 12.0.32
    IGILUTIL : 12.0.3
    OPM : 12.0.7.12010000.2
    PQH_GEN : 12.0.7
    PSA : 12.0.17
    PSAC : 12.0.5
    PSB : 12.0.2
    Hi Hussain:
    from the note
    Please see (Creating Work Orders with Activity gives PL/SQL: numeric or value error: ORA-06512: at "APPS.EAM_WORKORDER_PKG", line 1431 [ID 822365.1]).
    it says about
    to debug the issue, users has enabled profile EAM: Debug Profile Option needs to be set to Yes at site level.
    Every time when WO API is involved, the following files are generated: createwo.log , updatewo.log.
    where can i find those logs please specify the location
    what i did
    as said by hussain i have manually compiled form and libraries assocaited with that form
    still waiting for reply from user
    got tkprof report
    few lines from that tkprof:
    declare                         
         m_stmt     varchar2(512);               
    begin                         
         m_stmt:='delete     from     sdo_geor_ddl__table$$';          
         EXECUTE     IMMEDIATE     m_stmt;          
         EXCEPTION                    
         WHEN     OTHERS     THEN          
         NULL;                    
    end;                         
    some select statement
    SELECT     MAX(STOCK_LOCATOR_CONTROL_CODE),     MAX(DEFAULT_DEMAND_CLASS),               
         MAX(CALENDAR_CODE),     MAX(CALENDAR_EXCEPTION_SET_ID),               
         NVL(MAX(PROJECT_REFERENCE_ENABLED),2),     NVL(MAX(PROJECT_CONTROL_LEVEL),1),               
         NVL(MAX(PM_COST_COLLECTION_ENABLED),2),     MAX(PRIMARY_COST_METHOD)               
    FROM                         
         MTL_PARAMETERS     WHERE     ORGANIZATION_ID     =     :B1
    insert statement its performing
    insert     into     eam_forecasted_work_orders(     pm_forecast_id,     group_id,                                                       
         pm_schedule_id,     activity_association_id,     cycle_id,     seq_id,                                                       
         scheduled_start_date,     scheduled_completion_date,     action_type,                                                            
         wip_entity_id,     process_flag,     wo_status,     created_by,     creation_date,                                                  
         last_update_date,     last_updated_by,     pm_base_meter_reading     ,                                                       
         ORGANIZATION_ID     )                                                                 
    values                                                                           
    (     :1,     :2,     :3,     :4,     :5,     :6,     :7,     :8,     :9,     :10,     :11,     :12,     :13,     sysdate,     sysdate,
         :14,:15,:16     )                                                                 
    please add a line through your vission
    cheers
    Zavi

  • FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-06503

    Hello to all...
    I am developing a form on form 6i like a registration form....
    Suppose emp_name is a text item....
    I need to validate that item such that number ,null and special characters should not be allowed.
    I have created a function to check those validations
    function v_check(p_item_name varchar2)
    return boolean is
    begin
         for i in 1..length(p_item_name)
         loop
              if substr(p_item_name,i,'1') in ('1','2','3','$','%','@','!','#') then
                   return false;
              end if;
         end loop;
    end v_check;
    When i click on save_Record button it commit the form i'm checking the emp_name field with this validation by calling the above function.
    for save_Record button i have written this code WHEN-BUTTON-PRESSED trigger
    declare
         a number;
    begin
         if :iptable.ip_name is null or (not v_check(:iptable.ip_name)) then
              set_alert_property('alert',title,'name validation');
              set_alert_property('alert',alert_message_text,'null ans spl char are not allowed');
              a:=show_alert('alert');
              go_item('iptable.ip_name');
              raise form_trigger_failure;
         end if;
         if :system.form_status='CHANGED' then
              set_alert_property('alert',title,'Save Box');
              set_alert_property('alert',alert_message_text,'Do u want to save');
              a:=show_alert('alert');
              if a=alert_button1 then
                   commit_form;
              else
                   raise form_trigger_failure;
              end if;
         else
              set_alert_property('alert',title,'Save Box');
              set_alert_property('alert',alert_message_text,'noting to Save Box');     
              raise form_trigger_failure;
         end if;
    end;
    But i'm gettin this
    FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-06503
    exception
    How can i resolve this error...help me
    thanks...
    Edited by: maddyd2k on Nov 25, 2010 10:37 AM

    Hi,
    Your function v_check actually can return a NULL value wich is not TRUE neither FALSE.
    Modify your function like this :
    function v_check(p_item_name varchar2)
    return boolean is
    l_return boolean := true;
    begin
    for i in 1..length(p_item_name)
    loop
    if substr(p_item_name,i,'1') in ('1','2','3','$','%','@','!','#') then
    l_return := false;
    end if;
    end loop;
    return l_return;
    end v_check;

  • FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-29261

    FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-29261.
    I m getting above message when I try to click on the button on form created using Form Builder 10G.
    I want to send email using UTL_MAIL.
    Code is:
    declare
    vSend VARCHAR2(30) := '[email protected]';
    vSubj VARCHAR2(50) := '10g new mail package';
    vMesg VARCHAR2(4000);
    vMType VARCHAR2(30) := 'text/plain; charset=us-ascii';
    BEGIN
    vMesg:= 'Hello mail 10g worked';
    utl_mail.send(vSend, '[email protected]', NULL, NULL, vSubj, vMesg, vMType, NULL);
    END ;

    Pl tell me asap whether I am right or not?

  • FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06508

    Hi all,
    In Production instance we have an issue on AP invoice workbench, gives an error (FRM-40735 Post-Query Trigger On Quering Invoice ) when we retrieve the existing invoice data entered.
    For this we compiled the invalid objects and applied the patch according to the metalink id [ID 1209736.1]
    After that we came up with new error FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06508.
    Can any one help us
    Thanks
    SAI

    Hi Thanks for the reply we have implemented the following things
    1) Please download and review the readme for Patch 8671468:R12.AP.B
    2) Please apply Patch 8671468:R12.AP.B in a test environment.
    3) Check the file versions , they have to be the same as given below.
    Patch/115/sql/aphanwfb.pls 120.64.12010000.11
    4) Please retest the issue.
    5) If the issue is resolved, please migrate the solution as appropriate to other environments.
    APXINWKB : When Entering Invoice Details, Get Error: FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06508 [ID 1284114.1]
    This is done no luck.
    Thanks
    Sai

  • FRM-40735: When-Validate-Item trigger raised unhandled exception ORA-01861

    Dear all, I runned a form designed by Developer 2000 version 4.5 and encountered a puzzling problem. The same program could be runned on one computer but not in another one. The error message is as below: FRM-40735: When-Validate-Item trigger raised unhandled exception ORA-01861. The OS of both computers are windows 2000 professional. The only difference between two computers is the patch files didn't installed on one of them. I don't know if it is the key point. Could you tell me why?
    Thank you!!!

    I sure wish people would post the entire text of the error message. "ORA-01861: literal does not match format string."
    What kind of field are you trying to validate? This message is usually due to a date format error. If you are trying to convert text into a date without using TO_DATE('some text','date-format'), then that is the problem. It sounds like you are, and the database default date format is different between the two systems.

  • Frm-40735 when-button-pressed trigger raised unhandled  exception ora-03114

    hi everybody,
    i am using oracle 10g release 2 in my test server and 10g release 1 in production server with forms in 10g running through the oracle 10g application server with no problem with our production server.
    but the same form when i try to use through the same application server for my
    with my test database server which is oracle 10g release 2 is giving me
    frm exceptions and disconnecting the session.
    like i get frm-40735 when-button-pressed trigger raised unhandled exception
    ora-03114. then frm-40655 sql error forced rollback;clear form and reenter transaction. then when i try to exit it shows ora-24324 service handle not initialized.
    The same thing when i try with my production server i dont get any exception handle error or forced rollback error.
    i am not facing any problem as such to connect to my test database(release 2)
    through sql plus client or TOAD OR ENTERPRISE MANAGER THEY ARE ALL FINE. IT IS ONLY WHEN I GO THROUGH THE APPLICATION SERVER TO ACCESS MY FORMS I GET THIS ERROR. BUT MY PRODUCTION IS RUNNING THE SAME WAY WITH NO ERRORS.
    any suggestions welcome as i have to bring release 2 in the production next month
    thanks and regards
    manish

    ORA-03114 not connected to ORACLE
    Cause: A call to Oracle was attempted when no connection was established. Usually this happens because a user-written program has not logged on. It may happen if communication trouble causes a disconnection. In addition, this message could occur when ALTER SYSTEM KILL SESSION or ALTER SYSTEM DISCONNECT SESSION were issued with the IMMEDIATE qualifier because, in those cases, the client's connection to the database is terminated without waiting for the client to issue a request.
    Action: Try again. If the message recurs and the program is user written, check the program.
    zaibi.

  • FRM-40735: WHEN-LIST-ACTIVATED trigger raised unhandled exception ORA-29516

    Hi All,
    The users are facing problem on opening the OAF pages on 11i(11.5.10.2) instance.
    They face this error when they,
    1. Go to System Administrator responsibility.
    2. Open page under Workflow > Administrator Workflow > Status Monitor.
    3. This error pops up at the end of the form page. Below is what the error appearing.
    FRM-40735: WHEN-LIST-ACTIVATED trigger raised unhandled exception ORA-29516
    We are having DB:11.2.0.2.5,Applications:11.5.10.2
    Please suggest in resolving the error.
    Thanks
    Althaf khan

    The users are facing problem on opening the OAF pages on 11i(11.5.10.2) instance.
    They face this error when they,
    1. Go to System Administrator responsibility.
    2. Open page under Workflow > Administrator Workflow > Status Monitor.
    3. This error pops up at the end of the form page. Below is what the error appearing.
    FRM-40735: WHEN-LIST-ACTIVATED trigger raised unhandled exception ORA-29516
    We are having DB:11.2.0.2.5,Applications:11.5.10.2
    Please suggest in resolving the error.Was this working before? If yes, any changes been done recently?
    Can you find any errors in the database log file?
    Do you have any invalid objects?
    What is the complete error message? Any errors in Apache log files (error_log* and access_log*)?
    Thanks,
    Hussein

Maybe you are looking for