ADJUSTMENT APPROVE실행시 에러 발생 FRM-40735

제품 : FIN_AR
작성날짜 : 2005-11-28
ADJUSTMENT APPROVE실행시 에러 발생 FRM-40735
=====================================
PURPOSE
ADJUSTMENT APPROVE실행시 에러 발생 FRM-40735에러가 나고
조정을 승인또는 취소할수도 없는 상태로 됨
Problem Description
조정 처리에 대한 Session이 Lock이 걸려서 처리를 하고 있지 못함
Workaround
Solution Description
만약 결산 시점에 빠른 처리를 하여야 한다면
승인처리를 하기 전이기 때문에
지금 입력한 조정을 삭제하고 다시 승인을 처리하는 것이 가장 빠르고 안전한 방법입니다.
delete from ar_adjustments_all
where adjustment_id = 74091
commit;
update ar_payment_schedules_all
set amount_adjusted_pending = null
where customer_trx_id = 1926700;
Reference Documents
2642064.995

Similar Messages

  • 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

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

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

  • Calling a report from forms - FRM-40735 when-button-pressed raised unhandle

    Hi,
    I created a form to generate a pdf report.
    its not going too well, so i need some help.
    my form only has one button , when pressed I want it to generate a report in pdf format.
    i created a when-button-pressed trigger and the following code is below:
    I also create a web service proxy jar file,
    the jar file is in the FORMS_BUILDER_CLASSPATH, and the jar file is imported from forms builder without any issues.
    As of now I am hard coding everything in the code below to see if it works.
    The error I am getting  FRM-40735 when-button-pressed raised unhandled exception ORA-105100 i dont know why ?
    This error is occurring at this line of code, please help, this is my first time doing something like this.
    obj := publicreportserviceclient.new(); DECLARE
    param_name varchar2(200);
    un varchar2(200);
    pw varchar2(200);
    out_file varchar2(200);
    obj ORA_JAVA.JOBJECT;
    BEGIN
    obj := publicreportserviceclient.new();
    param_name := 'EMP';
    un := 'Administrator';
    pw := 'Oracle123';
    out_file := 'D:\DevSuiteHome_1\j2ee\home\default-web-app'||'output';
    publicreportserviceclient.callRunReport(obj,'/~administrator/Learn/Test1/Test1.xdo','EMP','141414',un,
    pw,'pdf','New_Template',out_file);
    web.show_document('http://jmenge-de.de.oracle.com:8889/j2ee/' || 'output');
    exception
      --check for ORA-105101
      when ORA_JAVA.EXCEPTION_THROWN then
         message('Java Exception : '
          || Exception_.toString(ORA_JAVA.LAST_EXCEPTION));
          ORA_JAVA.CLEAR_EXCEPTION;
          return;
      --check for ORA-105100
      when ORA_JAVA.JAVA_ERROR then
                   message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
              return;
    END;This is my java function
        public void callRunReport (String reportPath, String paramName, String  paramValue, String
        username, String password, String format, String template, String outFile) {
        try {
                bip_webservice.proxy.PublicReportServiceClient myPort = new bip_webservice.proxy.PublicReportServiceClient();
                // Calling runReport
                ReportRequest repRequest = new ReportRequest();
                repRequest.setReportAbsolutePath(reportPath);
                repRequest.setAttributeTemplate(template);
                repRequest.setAttributeFormat(format);
                repRequest.setAttributeLocale("en-US");
                repRequest.setSizeOfDataChunkDownload(-1);
               ParamNameValue[] paramNameValue = new ParamNameValue[1];
                paramNameValue[0] = new ParamNameValue();
                paramNameValue[0].setName(paramName);
                String[] values = new String[1];
                values[0] = paramValue;
                paramNameValue[0].setValues(values);
                repRequest.setParameterNameValues(paramNameValue);
                ReportResponse repResponse = new ReportResponse();
                repResponse = myPort.runReport(repRequest,username,password);
                byte[] baReport = repResponse.getReportBytes();
                FileOutputStream fio = new FileOutputStream(outFile);
                fio.write(baReport);
                fio.close();
            } catch (Exception ex) {
                        ex.printStackTrace();
        }Thanks - please help

    If there is a way to make it work with Bi publisher, Please let me know.
    I need to something to make it work with BI publisher.
    thanks,
    Edited by: Rooney on May 27, 2010 1:27 PM

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

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

    Hi,
    In Oracle EBS 11i ->HRMS module , when opening any form showing error message like FRM -40735 and ora 6508.
    And the error is only in this module. In other modules the forms are working. it has no error.
    What is the reason for this? Can any solution for this?
    Please reply.
    Regards
    Naseer

    What is the exact application release? Database version? OS?
    Please post the complete error message.
    Was this working before? If yes, any changes have been done recently?
    Do you have any custom code on this module? --FRM-40735: PRE-UPDATE trigger raised unhandled exception ORA-06508 - ORA-1403: no data found [ID 783098.1]
    Do you have any invalid objects? Any errors in the database?
    Known errors generated on the People form (PERWSHRG) [ID 206584.1]
    ORA-04063 and FRM-40735 Errors When Creating Employees Using Human Resources [ID 149672.1]
    If none of the above helps, please obtain the FRD file and see if you get more details about the issue in the logs.
    How To Perform Forms Runtime Diagnostics (FRD) Tracing in Applications 11i [ID 167635.1]
    Obtaining Forms Runtime Diagnostics (FRD) In Oracle Applications 11i [ID 150168.1]
    Quick Ref: How To Perform Forms Runtime Diagnostic Trace (FRD) in Applications 11i [ID 149201.1]
    Unable to Create Forms Runtime Diagnostics (FRD) Trace on Ebusiness Suite 11i? [ID 749363.1]
    Thanks,
    Hussein

  • FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065

    Please help....This error is comming when opening the form. The form is running on oracle 11g 64bits web logic.
    "FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065"

    Welcome to OTN
    Before posting on this forum please read
    FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
    you'll get some hint here
    Oracle/PLSQL: ORA-06502 Error

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

  • Filling datarows before creating a new record  frm-40735 ora-01422

    Hello
    I want to create a user-control table where I Store in the Mastertable the user informations. in the 2 detail tables I store the programmnames of the first level, in the second table I store the name of the form and if the user is allowed to insert, amend or delete.
    I use a Master/2 Detail-Form. When I create a new record in the master block, I want to fill in the first and second detail block, informations of another user of the 2 detail tables. therefore I created a when-new-block-instance trigger with the following code:
    select programm
    into :k_zugriff.Programm
    from k_zugriff, K_benutzer
    where r_benutzer_zaehler=k_benutzer.zaehler
    and oracle_user='ROBERT';
    because this sql serves more than one row I receive the error code frm-40735 ora-01422
    so how could I solve the problem to insert 5-10 rows in :k_zugriff.Programm. I can not make an insert before I go to the block k_zugriff, because the user number is not commited known. Also I want to commit the form when all informations are filled in. in case of a mistake I want to exit the form with no commit;
    has anyone a usefull Idea?
    regards
    robert

    it works thank you. where can I get further information about this technik. are there any turtorials or something where I get information how to build this complex forms??
    right statement
    DECLARE
    CURsOR cr IS
    select programm
    from k_zugriff, K_benutzer
    where r_benutzer_zaehler=k_benutzer.zaehler
    and oracle_user='ROBERT';
    BEGIN
    FOR rec IN cr LOOP
    IF :SYSTEm.RECOrD_STATUS!='NEW' THEN
    CREATE_RECORD;
    END IF;
    :k_zugriff.Programm:=rec.PROGRAMM;
    END LOOP;
    END;

Maybe you are looking for

  • Broadband Speed dropped and wont come back

    Hi, I need help and advice please. Background info first though, so please bare with me. During last July 2011 I was fed up of very low speeds and managed to get a BT engineer out to check the wiring etc... He did a great job by finding a badly insul

  • Itunes won't recognize ipod nano (6th gen) HELP :(

    I have restarted the computer and done everything the 6th gen troubleshooter has told me. I have a packard bell desktop PC, the operating system is Windows Vista and all the USB ports are working. I previously had an ipod on my laptop but itunes did

  • Color issues in Safari

    Hello, I've just uploaded my first Muse site: www.michaelphipps.net It worked well and looks perfect in Firefox on my computer (I haven't checked IE yet). In Safari, some of the rollover images are showing as a different color than the background. Se

  • Kodo Connector in WebSphere 4.0.2

    Hello, WebSphere 4.0.2 supports JCA. Could I install the Kodo Connector in WebSphere? Are there any tests and/or documents? Andreas

  • Create IDoc from flat file - How to do the message mapping

    Hi everybody, I want to create an IDoc from a flat file. The file structure looks like this: MT_XYZ - Node001       0...1   - Leaf001 - Node002       0...unbounded    - Node003    0...1       - Leaf002       - Leaf003    - Node004    0...1       - Le