FRM-40735: Formula-CALCULATION trigger

Hi,
I'm getting this error in my form....
FRM-40735: Formula-CALCULATION trigger raised unhandled exception
How can I find where the issue is? Can you please suggest some ideas?

I have the following 6 formula columns in my form....
1. PCT_COND_COMP_FORMULA -->
(:CLT.DUCT_LENGTH_ACTUAL / :CLT.TRENCH_FT_EST) * 1002. ACTUAL_COST_FORMULA -->
nvl(:clt.unit_cost,0) + nvl(:clt.te_cost,0) + nvl(:clt.paving_cost,0)3. CSOA_AVG_COST_TRENCH_FT_AVG -->
:CR_ACCOUNTS.CONDUIT_COST_TO_DATE_SUM / :CR_ACCOUNTS.CONDUITS_COUNT4. COST_TO_ACCRUE_FORMULA -->
((:cr_accounts.completed * :cr_accounts.unit_price) * (nvl(:clt.residue,100)/100))5. CWE_FORMULA -->
:cr_accounts.accrual + ((:cr_accounts.est_quantity - :cr_accounts.completed) * (:cr_accounts.unit_price))6. COST -->
:CR_ACCOUNTS_DETAIL.UNIT_PRICE * :CR_ACCOUNTS_DETAIL.QUANTITY1. POST-TEXT-ITEM trigger on ESTIMATE_CUSTOM item has....
BEGIN
if get_block_property('cr_accounts', update_allowed) ='TRUE' then
     IF NVL(:CR_ACCOUNTS.EST_QUANT_CUSTOM,0) <> 0 THEN
          :CR_ACCOUNTS.UNIT_PRICE_CUSTOM := (:CR_ACCOUNTS.ESTIMATE_CUSTOM / :CR_ACCOUNTS.EST_QUANT_CUSTOM);
          update_nonprano;
     END IF;
end if;
END;2. Procedure update_nonprano ...........
PROCEDURE update_nonprano IS
BEGIN
:CR_ACCOUNTS.COMPLETED := (:CR_ACCOUNTS.PCT_COMPLETE_CUSTOM/100) * :CR_ACCOUNTS.EST_QUANTITY;
-- sets cost_to_date
:cr_accounts.cost_to_date := ((:cr_accounts.estimate_custom) * (:cr_accounts.pct_complete/100)) ;
-- sets cost_to_accrue
:cr_accounts.cost_to_accrue := (:cr_accounts.cost_to_date) * (nvl(:CLT.residue, 100)/100);
-- sets accrual
:cr_accounts.accrual := (:cr_accounts.cost_to_accrue) + NVL(:cr_accounts.adjustment, 0);
-- sets CWE per ACCOUNT
:CR_ACCOUNTS.CWE := :CR_ACCOUNTS.CWE_FORMULA;
-- sets CWE
:CLT.CWE := :CR_ACCOUNTS.CWE_SUM;
IF :CLT.PCT_COMP = 100 AND :CLT.CWE > :CLT.ESTIMATE THEN
     WARNING_ALERT('The Layout Complete is set to 100% but the CWE is larger than the Estimate.  This job is incomplete and over budget.  Please modify % Layout Complete.');
END IF;
END;Now in my form when I enter EST_QUANT_CUSTOM= 12, ESTIMATE_CUSTOM=13, PCT_COMPLETE_CUSTOM=15... I get error.
But when I put EST_QUANT_CUSTOM= 12, ESTIMATE_CUSTOM=12, PCT_COMPLETE_CUSTOM=12... I don't get error.

Similar Messages

  • In R12.1.3 we get FRM-40735: ON-ERROR trigger raised unhandled exception.

    Hello,
    after we upgrade to R12.1.3 users are getting FRM-40735: ON-ERROR trigger raised unhandled exception ORA-01001, can you please help to resolve this issue immediately.

    Can you provide the list of patches you have applied?
    In addition to the log files mentioned above, please confirm that you have no invalid objects in the database.
    Loading the System Administrator Forms Responibility Produces Error FRM-40735,ORA-06508 (Doc ID 271652.1)
    Oracle Application Return The following Error FRM-40735: ON-ERROR trigger raised unhandled exception ORA-6508 (Doc ID 797293.1)
    After Migrating To Linux, Users Are Seeing FRM-40735 When Trying To Access Forms. (Doc ID 1282488.1)
    Thanks,
    Hussein

  • FRM-40735 POST- UPDATE trigger raised unhandled exception ORA- 01403

    FRM-40735 POST- UPDATE trigger raised unhandled exception ORA- 01403
    I am getting the above error when i am trying to change the Assignment Category field of
    an employee from Junior Staff to Senior Staff.
    Navigation People> Enter & Maintain> (B)Assignment.
    Kindly assist me to resolve this error.
    Plz note there is a promotion that is suppose to be given to some employees in our company as of
    01-APR-2010 so i had to open the closed payroll periods and do the changes. I managed to change for all
    the 9 employees but 1 employee's assignment is giving me an error as follows :
    FRM-40735 POST- UPDATE trigger raised unhandled exception ORA- 01403
    The error displays after i try to save the changes made to the Assignment Category from Junior Staff to Senior Staff.
    NB: i have also tried to switch off the custom code...but its giving me same error.
    Also the element links have been defined for employment category on the links window.
    please help!!
    Edited by: 594647 on Jul 20, 2010 10:26 PM

    Release 12.1.1.
    OS is Red Hat Ent Ed 4
    i am trying to change the employee assignment category from Junior to Senior. so when i am updating the assignment details on the assignment screen (Navigation is People >Enter & Maintain> Assignment) and trying to save, the system gives error on the status bar of the application as follows:
    FRM-40735 POST- UPDATE trigger raised unhandled exception ORA- 01403
    NB: Error is appearing on the Assignment screen.
    Please help!!
    Edited by: 594647 on Jul 21, 2010 2:48 PM

  • Error when adding any menu - FRM-40735: ON-INSERT trigger raised unhandled

    When I try to add any new menu in my newly cloned instance I get this error:
    Error when adding any menu - FRM-40735: ON-INSERT trigger raised unhandled excpetion. ORA-04031.
    Using Oracle EBS version 12.1.3.
    Details:
    Menu JOB_STRUCTURE_MENU
    User Menu Name Job Strucure Menu
    Menu Type Standard
    Description Menu to add job, grade, and incentives
    Seq = 1
    Prompt = Enter and Maintain
    Function = Combined Person & Assignment Form WF="US SHRMS TSKFLW
    When I click save I get the error.
    Any assistance would be greatly appreciated.
    Thanks!

    Please post the details of the application release, database version and OS.
    When I try to add any new menu in my newly cloned instance I get this error:
    Error when adding any menu - FRM-40735: ON-INSERT trigger raised unhandled excpetion. ORA-04031.Is the issue with all menus or specific ones only?
    Did AutoConfig complete successfully?
    When I click save I get the error.
    Any assistance would be greatly appreciated.Do you have any invalid objects in the database?
    Any errors in the database log file?
    Please obtain FRD log file for details about the error -- https://forums.oracle.com/forums/search.jspa?threadID=&q=FRD+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • FRM-40735: ON-ERROR trigger unhandled exception ORA-06508

    Guru,
    Today we changed few customization in CUSTOM.pll and regenerated it , but we received the following error message after login to application irrespective of any responsiblity/form
    FRM-40735: ON-ERROR trigger unhandled exception ORA-06508
    So we reverted CUSTOM.pll change and recompiled successfuly. However we are still getting same error.
    Kindly give us little light on it.
    Regards,
    Raju

    Hi Raju,
    In addition to Hussein's post, Can you check the following notes, since you have changed & reverted the custom.pll
    - Cannot Log into Oracle Applictions after the Custom.pll has been Changed [ID 146038.1]
    Best Regards,

  • FRM-40735:PRE-FORM trigger raise unhandled exception ORA-04067

    FRM-40735:PRE-FORM trigger raise unhandled exception ORA-04067:not executed, stored, procedure "PUBLIC.FND_TIMEZONES" does not exist.
    After I log into Applications, and when I click on responsibility, and when I'm in the Form to retreive the Navigator page, I got the above error.
    If I click on any one of the menu from the list, I automatically gets log off. "your logon session has become invalid".
    please help..

    Hi,
    Yes this was working befor enable rapid clone feature.How did you enable this feature? Did you apply any patches?
    Following Task has been made by me:
    Enable Rapid Clone Featue -------> execute pre clone -------> change IP and Hostname --------> execute post clone-----------> change has been made sucessfully.
    APPS.FND_TIMEZONE package is not avaliable .What does this query return?
    SQL> select object_name, object_type, owner
    from dba_objects
    where object_name = 'FND_TIMEZONES';Regards,
    Hussein

  • Sir how I avoid I this error FRM-40735: POST-QUERY trigger raised unhandled

    Hi master
    Sir this error crate may problem for me
    FRM-40735: POST-QUERY trigger raised unhandled exception ORA-01403
    sir how I avoid I this error and show my message
    or system not show this error and bypass this error
    please send me code how I avoid this error
    thanks
    aamir

    There may be many causes of this error. You better diagnose and remove them.
    1- A field length may be less than what your query return a data into it.
    2- A POST-CHANGE trigger on any data may return un-desired data (character into numrice field, longer value than a field etc).
    likewise.
    Regards
    Sayeed
    [email protected]

  • FRM-40735:PRE-FORM trigger raised unhandled expception ORA-06508-SATYAM

    Hi,
    This is Sateesh, presently working on Designer migration project from Designer 2000 V1.3.2 to Designer 10g with headstart.I successfully completed the migration of repository from 1.3.2 to 6i and also migrated the headstart to 6i using simple upgrade method.After this i successfully migrated the repository from 6i to 10g and I compiled all the libraries using forms10g and then i generated all the 10g forms through designer.then 10g forms and libraries are deployed in Oracle Application Server and then we are trying to access the application then we are getting the messsage for most of the forms, i.e FRM-40735:PRE-FORM trigger raised unhandled expception ORA-06508. Can you please help me out in this regard.
    Regards
    K.Sateesh Kumar

    Yes,
    that's right. FRM-40735 is a generic error message generated in case of form failure.
    This may be as a result of failure while calling sub-programs in a form or any other problem.
    For my case I had a call to a built in Package for which the user didnt have the privileges to execute that package.
    So how did I find out?
    EXCEPTION
    WHEN OTHERS THEN
    MESSAGE('SQLERRM: ' || SQLERRM);
    exception handling does the trick. I got the real error that was causing the problem.
    Error was: SQLERRM: xxx package does not exist. This made me think in the lines of either privileges or synonym problem. I found out that the user in the db doent have the execution privileges.
    GRANT ALL ON xxxpackage TO xxxuser;
    This is a nice forum. I love it and thanks to everyone.

  • FRM 40735 Post Query trigger raised unhandled exception TOO_MANY_ROWS

    I'm using Developer 2000 Forms 4.5 and after a query on the form; an error message is on the screen "FRM 40735 Post Query trigger raised unhandled exception TOO_MANY_ROWS". And form can't be closed.
    How can I solve this problem?

    You must have a POST-QUERY trigger defined somewhere in your form.
    In this trigger you probably do a "select into" that retrieves more than one row.
    That explains the "too many rows" error.
    When you do a query in the form, the POST-QUERY trigger fires for each row retrieved.
    So if you do a query on a underlying table that has 100 rows, the POST-QUERY trigger fires 100 times. After 100 alerts, so to speak, you'll be able to close your form.
    Solution off course is to correct the POST-QUERY trigger by making sure you only retrieve one row with the select into, or define a too_many_rows exception in that trigger.
    Good luck.

  • When trying to setup a new Operating Unit gives an error: FRM-40735: PRE-FORM trigger raised unhandled exception ORA-06502

    EBS - Payables - Version 12.1.3.
    We Have many others Operating Units configured and no errors occurs.
    This error occurs only if we set a new OU.
    All profiles have been configured properly. (MO: Operating Unit, HR: Security Profile, etc..)
    The trace shows:
    SELECT PROFILE_OPTION_VALUE
      FROM FND_PROFILE_OPTION_VALUES
    WHERE PROFILE_OPTION_ID = 5852                           
       AND APPLICATION_ID = 178
       AND LEVEL_ID = 10003
       AND LEVEL_VALUE = 124280
       AND LEVEL_VALUE_APPLICATION_ID = 200        
       AND PROFILE_OPTION_VALUE IS NOT NULL
    The PROFILE_OPTION_ID = 5852   is  "ICX:Session Timeout".
    If I set this profile the error does not occur. But its is very strange to have to configure it for a responsibility level.

    Hi All.
    I discovered what the problem was.
    The size of the name of the responsibility was with many characters.
    Reduced the size and the error stopped occur.
    Tks!

  • Frm-40735 -Fromulation Calucation trigger raised exception - ORA-06502

    HI..
    i am getting above exception when i assign value like 1235.333336987413136 to the number(34) item, please give me a solution
    Regards
    Yashavanth

    i tried but still i am getting same error...
    please help me anybody
    Regards
    Yashavanth

  • 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-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

  • ERROR FRM-40735 while migrating from 6i to 9i using FMA

    Hi,
    We have migrated a sample form which is in 6i to 9i using Oracle Forms Migration Assistant. It is compiling without errors and while running hitting the error
    FRM-40735:PRE-FORM trigger raised unhandled exception ORA-06508.
    and not opening up the form...Please post any suggestions on this.
    madhu.

    Thank you very much for the help...I could resolve it by just adding the appropriate pll's in forms90 folder.
    Now, we are trying to implement the calender in forms 9i. As we are moving from Forms 6i C/S to Forms 9i, as a first step I've implemented calender in web forms 6i (using demo's in oracle doc's--using CalenderWidget Bean)
    I tried doing the same for Oracle 9i too but it didn't work..I mean it is deleting the code for the trigger
    WHEN_CUSTOM_ITEM_EVENT which is written for Bean.
    Please suggest me regarding how to proceed with this...
    thank you
    madhu.

  • FRM-40735 AFTER EBS UPGRADE 12.1.1 TO 12.1.3

    hi all ,
    i have succesfully upgrade oracle ebs from 12.1.1 to 12.1.3
    but i cannot open jsp page from form navigator, but if i open jsp page form home page nothing problem.
    error will be saw :
    this error FRM-40735: WHEN-LIST_ACTIVATED trigger raised unhandled exception ORA-29532
    this any clue for solve this problem ?
    regards
    imron s

    application log from forms
    12/11/22 11:11:44.732 formsweb: 10.1.3.4.0 Started
    12/11/22 11:14:52.305 formsweb: ListenerServlet init()
    12/11/22 13:40:34.619 formsweb: 10.1.3.4.0 Stopped
    12/11/22 14:43:29.207 10.1.3.4.0 Started
    12/11/22 14:43:30.388 formsweb: FormsServlet init():
    configFileName: /oraapps/PROD/inst/apps/PROD_smjkt-prrp01/ora/10.1.2/forms/server/appsweb.cfg
    testMode: false
    12/11/22 14:43:30.414 formsweb: 10.1.3.4.0 Started
    12/11/22 14:45:16.246 formsweb: ListenerServlet init()
    application log from oacore
    html: chain failed
    java.lang.ArrayIndexOutOfBoundsException
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:122)
    at oracle.apps.fnd.oam.sdk.util.support.OAMOutputStreamWrapper.write(OAMOutputStreamWrapper.java:135)
    at java.io.OutputStream.write(OutputStream.java:110)
    at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:355)
    at sun.nio.cs.StreamEncoder$CharsetSE.implClose(StreamEncoder.java:450)
    at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:183)
    at java.io.OutputStreamWriter.close(OutputStreamWriter.java:227)
    at oracle.cabo.ui.UnsynchronizedBufferedWriter.close(Unknown Source)
    at oracle.cabo.ui.UnsynchronizedPrintWriter.close(Unknown Source)
    at oracle.cabo.ui.ServletRenderingContext.finishResponse(Unknown Source)
    at oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(Unknown Source)
    at oracle.cabo.servlet.AbstractPageBroker.renderPage(Unknown Source)
    at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    at oracle.apps.fnd.oam.servlet.ui.OAMServlet.doGet(OAMServle
    12/11/22 14:43:20.958 html: 10.1.3.4.0 Started
    12/11/22 14:44:11.164 html: oracle.apps.fnd.security.LeakDetectionFilter.initialized:1353570251164
    12/11/22 14:44:11.164 html: LeakSetting:
    global:true,session:false,aggressive:false,stderr:false,appslog:false,corelog:false
    ignoring:null
    12/11/22 14:44:17.559 html: Servlet error
    java.lang.NullPointerException
    at OAErrorPage.jspService(_OAErrorPage.java:356)
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.4.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:871)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:816)
    at OA.jspService(_OA.java:256)
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.4.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.serv
    12/11/22 15:02:14.451 html: setupGLRRO.uix: Parsing error, line 25, column 42: Could not find class oracle.apps.fnd.oam.servlet.ui.handlers.setup.dashboard.RequestsSetu
    pHandler
    12/11/22 15:02:14.458 html: setupSLRRO.uix: Parsing error, line 25, column 42: Could not find class oracle.apps.fnd.oam.servlet.ui.handlers.setup.dashboard.RequestsSetu
    pHandler
    12/11/22 15:02:14.469
    html: setupGLPRO.uix: Parsing error, line 25, column 42: Could not find class oracle.apps.fnd.oam.servlet.ui.handlers.setup.dashboard.RequestsSetu
    pHandler
    12/11/22 15:02:14.473 html: setupSLPRO.uix: Parsing error, line 25, column 42: Could not find class oracle.apps.fnd.oam.servlet.ui.handlers.setup.dashboard.RequestsSetu
    pHandler
    ~
    this error in application log
    any suggest ?

Maybe you are looking for

  • Same number range for commercial invoice.

    Hi. Can we maintain same number range as last year for commercial invoice for new fiscal year? if last year Invoice no is 60000001 new fiscal year again 1st no is  60000001 then what will happen to earlier number? Reg. Amol

  • Too Many Line Items While Creating a PO

    Dear All, Here we have a scenario: We are creating a PO which is having around 10000(ten thousand) line items, and while saving system is showing error message "Too Many PO Line Items" Message No: FI899. and not able to save it. Kindly Let me know is

  • Hide a row or column for characteristic value # in Query Designer

    Hi gurus, I would if we could hide a result row / column if one of the characteristic value is #. The requirement is actually to remove the meaningless row / column from the whole result set. For example, I have a char Material Group in the column. S

  • Selling my macbook, buying a new one. What do I do with my iPhone?

    I'm selling my macbook. I already bought a new MacBook Pro. The problem is that I don't know what to do with my iPhone account. How can I move my music, photos, apps, and contacts to my MBP? Is there any possible way to do all this?

  • Using environmental variables in dataexport calc

    I'm using 11.1.2.1, and I thought I'd try this fancy new feature of using environmental variables in a DATAEXPORT calc script. I've played around quite a bit, and believe the following is true. The environmental variables must be the full path (inclu