FRM-40654 error in master-detail form while deleting record in detail block

Hi,
I am facing an issue in a custom form which is a Master-detail form while deleting a record in detail block. It is giving an error "FRM-40654 Record has been Updated by another user. Re-query to see change". I have checked the record is matching with that in database.
Can anyone help on this.
Thanks In Advance,
Midhun

Hi jan,
master block is based on Table "A" and detail block is based on a View "X".
View "X" definitions includes the tables "A","B","C" etc..
Now I have tried removing table"A" from view "X", even then the same error is ocuuring but the lock is happening on table "B" instead of "A"
Thanks,
Midhun

Similar Messages

  • Portal Master-detail form how to auto assign detail record sequence number

    Portal Master-detail form how to auto assign detail record sequence number.Please help me?

    You can just read the following section
    Can I specify a sequence number generator as the default value for a form column?
    Yes. Enter the following in the "default value" field for the column:
    #<schema name>.<sequence name>.nextval
    where <schema name> is the name of the schema containing the sequence, and <sequence name> is the name of the sequence. The entry is preceded by a "#".
    For example, if the schema name is "SCOTT", and the sequence name is "CUSTOMER_SEQ", the default value entry is:
    #SCOTT.CUSTOMER_SEQ.NEXTVAL
    same way you can do for master - detail form.
    for more information on forms please refer the following URL.
    http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm#BuildingApplications
    hope it helps.

  • Error in html  Page while deleting record.

    Hi all
    Can any one help me out in solving this problem
    Actually i am getting some error while deleting record in html page created usin OAF.
    Error.
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.DMLException: JBO-26080: Error while selecting entity for xxPersonDetailsEOP
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at xxt.oracle.apps.ak.webui.xxPersonMainCO.processFormRequest(xxPersonMainCO.java:54)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.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.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.sql.SQLException: ORA-00911: invalid character
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:503)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:1029)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:535)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1126)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3043)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelect(OracleSQLBuilderImpl.java:730)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:5594)
         at oracle.apps.fnd.framework.server.OAEntityImpl.doSelect(Unknown Source)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:3847)
         at oracle.apps.fnd.framework.server.OAEntityImpl.lock(Unknown Source)
         at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:4328)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4472)
         at oracle.apps.fnd.framework.server.OAEntityImpl.postChanges(Unknown Source)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2996)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2807)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1971)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2173)
         at oracle.apps.fnd.framework.server.OADBTransactionImpl.commit(Unknown Source)
         at xxt.oracle.apps.ak.server.xxPersonAMImpl.deletePersonMethod(xxPersonAMImpl.java:49)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at xxt.oracle.apps.ak.webui.xxPersonMainCO.processFormRequest(xxPersonMainCO.java:54)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.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.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    java.sql.SQLException: ORA-00911: invalid character
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:503)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:1029)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:535)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1126)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3043)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelect(OracleSQLBuilderImpl.java:730)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:5594)
         at oracle.apps.fnd.framework.server.OAEntityImpl.doSelect(Unknown Source)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:3847)
         at oracle.apps.fnd.framework.server.OAEntityImpl.lock(Unknown Source)
         at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:4328)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4472)
         at oracle.apps.fnd.framework.server.OAEntityImpl.postChanges(Unknown Source)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2996)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2807)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1971)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2173)
         at oracle.apps.fnd.framework.server.OADBTransactionImpl.commit(Unknown Source)
         at xxt.oracle.apps.ak.server.xxPersonAMImpl.deletePersonMethod(xxPersonAMImpl.java:49)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at xxt.oracle.apps.ak.webui.xxPersonMainCO.processFormRequest(xxPersonMainCO.java:54)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.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.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Paste your code.
    -Anand

  • Master detail form - Cascade Delete gives error

    I am using 3.0.9.8.2 and have made a master detail form which works fine except for cascade delete. Insert and update works well, but I have to delete the child rows first to be able to delete the parent.
    "Cascade Delete Detail Rows on Master Delete" is checked.
    Error situation 1 (where the master just has one child row (number of detail rows to be displayed = 2)):
    When trying master action=delete I get:
    Error: No conversion performed for type INTEGER, value . (WWC-49102)
    This happens whatever is chosen from the detail action drop down list during the attempted delete.
    Error situation 2 (where the master has two child rows (number of detail rows to be displayed = 2)):
    When trying master action=delete I get:
    Error: An unexpected error occurred: ORA-02292: integrity constraint (MILLS_PORTAL.TEX_ACCOUNTS_FK) violated - child record found (WWV-16016)
    This also happens whatever is chosen from the detail action drop down list.

    Sorry to say, but this is a bug which will get fixed in the forth coming releases.
    Till then, there are 2 ways to avoid this problem:-
    1> The change the foreign key in the detail table to have an ON DELETE CASCADE clause.
    2> (Though not desirable, but still as a workaround)- Drop the foreign key constraint from the detail table.

  • FRM-41830 error when opening zoom form

    Hi All,
    I am facing a strange issue.
    We are using ZOOM functionality. Now I need to make some changes to the existing CUSTOM.pll file. The CUSTOM.pll is in our $CUSTOM_TOP/resource. The CUSTOM.plx file is placed in $AU_TOP/resource. I have taken backup of the CUSTOM.pll and plx file. I have made the changes and compiled in Middle tier from $AU_TOP/resource path.
    Once I open the application and click on ZOOM button, I am receving FRM-41830 error. Once I click ok, the ZOOM form is opened and could see the LOV details and the subsequent process is working fine.
    To test, I have replaced the backup CUSTOM.plx file and the issue is not reinstated.
    There is CUSTOM.pll file in $AU_TOP/resource, but it is a seeded copy and do not contain any of our custom logic.
    I am confident that the .pll file in $CUSTOM_TOP is the source.
    As another test, I have renamed the CUSTOM.pll in $AU_TOP/resource and tried compiling. I received the below error :*PDE-PLI018 Could not find library CUSTOM*. Once I undo the renaming, the compilation was successfull. Does it mean that Custom.pll in $AU_TOP/resource is being mapped?
    Command used is:
    f60gen Module=$CUSTOM_TOP/resource/CUSTOM.pll Userid=APPS/xxxx Output_File=$AU_TOP/resource/CUSTOM.plx Module_Type=LIBRARY compile_all=special
    Can anyone help me in resolving the issue.
    Thank You
    Sateesh
    Edited by: user11083692 on Aug 5, 2009 12:40 AM

    FRM-41830 error is "List of values contains no entries" - what changes have been made to CUSTOM.pll ?
    HTH
    Srini

  • FRM-18108 Error when opening a form with subclassed objects

    Dear Group,
    I have 2 forms in Oracle Forms 6i. One of the forms contains an object group. The other form contains the object that I subclassed it to.
    When I open the form that contains the subclassed object group, I get the FRM-18108 error.
    If I open the form with the original object group, then open the subclassed form, there is no error.
    Does this mean I must always open the original form in order to work on the one with the subclassed object group?
    I hope there is an simple solution to what is something I am missing in my Oracle Forms setup.
    Thank you in advance.
    Emad

    Hi Duncan.
    Your suggestion worked.
    Thank you for the fast response!
    Truly,
    Emad

  • Master-Detail-Form; Hide/Show columns in detail form depending on column

    Hi,
    i have a master detail form. In the detail form i have the columns:
    ID, MASTER_ID_FK, PC_SOURCE, A_C1, A_C2, A_C3, B_C1, B_C2, B_C3
    The Column PC_SOURCE should be a LOV with values
    NULL
    A
    B
    So if i choose or enter a master record the detail form appears and i can enter one or more detail records.
    PC_SOURCE is the first column.
    If i choose A, the columns B_C1, B_C2, B_C3 should disappear as there should no entry possible.
    If i chhose B, the columsn A_C1, A_C2, A_C3 should disappear as there should no entry possible.
    Is that possible?
    I tried a little on my own but without success. I tried to put into the first column (PC SOURCE lov) in Element Attributes a javascript call like onChange="do_Refresh('#PC_SOURCE#');"
    The javascript funktion do_Refresh tries to catch the column value and set a hidden item P1_SOURCE like document.getElementById('P1_SOURCE').value = v_source;
    But this does not work, as there is not the value of the column fetched.
    And probably can´t work because of the more than one detail rows.
    Thanks & regards,
    Matthias

    Hi,
    The html for your detail form will be a table of input elements with names f01,f02,etc. The columns for the key fields are normally hidden so your PC_SOURCE column will probably use the name f03. The name for column A_C1 will be f04 etc.
    Once you have the input names for your columns you can create a dynamic action (DA) to hide the elements you want.
    You want the DA to fire when any PC_SOURCE element is changed so you want the when to be:
    Event: Change
    Selection Type: jQuery Selector
    jQuery Selector: input[name="f03"]
    Condition: no condition
    The action is to hide an element in the same row if the changed element is a value. So the action should be:
    Action: Execute JavaScript Code
    Fire when Event is: true
    Code: if(this.triggeringElement.value=="A"){$x_Hide('f04_'+this.triggeringElement.id.split('_')[1])}
    You then need lots of true actions for each element you want to hide.
    Rod West

  • Master detail form initial insert issue on details sub-region

    Hello,
    I created a master detail form with report which should do insertion on master and detail region/subregion.
    On insert mode I enter with data master and detail block, when I press "Create" button, insertion happens only on master block (order table) not and on detail block (order_item table).
    On EDIT mode it does insertions/updates on master and detail block without problems.
    Application Express 4.2.1.00.08
    Oracle Database 11g Express Edition Release 11.2.0.2.0
    I appreciate your help.
    Regards

    Something like this should do the work:
    CREATE OR REPLACE TRIGGER order_item_table_tr
       BEFORE INSERT
       ON order_item_table
       FOR EACH ROW
    BEGIN
       IF :NEW.order_id IS NULL
       THEN
          :NEW.order_id := v ('P1_ORDER_ID');
       END IF;
    END order_item_table_tr;
    /Make sure the Automatic Row Processing (DML) of the order table returns key into item > Return Key Into Item > P1_ORDER_ID (or however the primary key of the order table is named)
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Master detail form - drop down list in detail (ADF)

    Hi,
    Been racking our brains for a few days/weeks about this one, and would be grateful for any pointers why this does not work.
    We have developed an in-house application for dealing with risk and chemical assessments.
    The process we have adopted allows users to create an assessment first then they are taken to another form where they are then able to add risk factors/ or chemicals relating to the assessment. The intention is to present the user with the ability to select from a drop down list which contains the chemical names.
    We have been going through the forums and have tried all the examples we can find (all the examples work on our system), but when we try to adapt them to our approach they create an error indicating that they cannot find the values in the entity object.
    Has anyone else come across the same problem or is it that the ADF is not suited to dealing with the master/detail approach and drop down menus.
    The drop down lists are in an ADF table.
    Thanks in advance
    Andrew

    Hi Kuba,
    Thanks for the pointer, I think we tried that one early on. For the time being we have opted for using a selectInputText box, and that appears to be working. Well at least it has got us past the deadline for yesterday, now onto the next deadline.
    Thanks again!
    Andrew

  • FRM-92101 Error by calling the form with parameters

    Hi All!
    After the migration Oracle Forms from version 6i to 10g by calling the form with parameters the error FRM-92101 occurs. In Application Server log shows the following:
    08/12/01 10:26:20 formsweb: Forms session <5> aborted: unable to communicate with runtime process.
    08/12/01 10:26:20 formsweb: Forms session <5> exception stack trace:
    java.io.IOException: FRM-93000: Unexpected internal error.
    Details : No HTTP headers received from runform
    at oracle.forms.servlet.ListenerServlet.forwardResponseFromRunform(Unknown Source)
    at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    System: Oracle Application Server 10.1.2.0.2 with Red Hat Enterprise Linux Release 4. Client PC: Windows XP SP3 and Internet Explorer 7.
    Please help me if anybody has this problem before.
    Sergey

    Hi Sergei,
    I've just finished a three day search for a FRM-92101problem, so I want to post my case, just in case it helps someone.
    My case is similar to yours, in that you have a Forms 6i form migrated to 10g and deployed on Linux, although my problem was "very" specific, and thus very hard to find, this might give you some light.
    I had a visual attribute that defined the property "Fill Pattern" as "none" applied to a canvas, and it deployed without any problem on 10gR2/Windows, but when deployed on Linux (10gR2/SUSE 9) it would abort the application getting a FRM-92101.
    The solution in this case was just changing "none" to "Transparent".
    Hope this helps.
    Regards,
    Miguel.

  • Master Details form - button click records are vanishing

    Developed One Custom Form, In the Master Block One Organization ID Column is there Based on ID, through LOV i am populating live level some data. it is working
    fine.
    In the Master Blokc based on Line level information I am doing calculations.
    for that once Command Button Inserted. if i click the Command button
    without changing Org ID it is working fine. if i changed to Some other organization id during
    Entry. that time only records are vanishing. for other organization details in line level.
    in the command button i am not referring organzation id.
    begin
    go_block('XX_JVG_BLEND_LINES');
    first_record;
    --           FND_MESSAGE.SET_STRING('inside 1');
              --FND_MESSAGE.SHOW;
              declare
              WEIGHTED_AVERAGE_ATOTAL NUMBER:=0;
    BEGIN
         WHILE :XX_JVG_BLEND_LINES.MTL_SYSTEM_ITEMS_SEGMENT1 IS NOT NULL
    loop
                   --FND_MESSAGE.SET_STRING('inside loop');
                        --FND_MESSAGE.SHOW;
              DECLARE
                   WEIGHTED_AVERAGE_A NUMBER:=0;
                   WEIGHTED_AVERAGE_ALTOTAL NUMBER:=0;
              CURSOR
              C1           
              IS
              SELECT NUMERIC_VALUE FROM XX_JVG_SYSTEM_PARAMETERS WHERE FIELD_NAME='LA'
                   AND CHARACTER_VALUE = :XX_JVG_BLEND_LINES.A;
                   BEGIN
                   open c1;
                   FETCH C1 INTO WEIGHTED_AVERAGE_A ;
                        WEIGHTED_AVERAGE_ALTOTAL:=(NVL(:XX_JVG_BLEND_LINES.ISSUE_QUNATITY_KG,0)*NVL(WEIGHTED_AVERAGE_A,0));
                        WEIGHTED_AVERAGE_ATOTAL := WEIGHTED_AVERAGE_ATOTAL+WEIGHTED_AVERAGE_ALTOTAL;
                   close c1;
                   end;
                             IF :System.Last_Record = 'TRUE' THEN
                                  EXIT;
                             ELSE     
                   NEXT_RECORD;
              END IF;     
              End LOOP;
    this is my code
    what are the possbilities.

    bcz of post update trigger line level firing in another column
    probled solved

  • FRM-90928 error when executing a form

    After installing the Oracle 9i Developer suite, I tried to run a simple form for the first time but I keep getting the following error:
    "FRM-90928:Position parameter after keyword in the commandline."
    Could anybody has any idea on how to fix this. Any help will be appreciated!
    Thanks,
    MS.

    Maybe it's because your form is located in a directory with spaces in it, like "d:\trail forms\...."
    Try to place the form in a directory without spaces.
    Regards
    Harm van Zoest

  • FRM-41213 : Error raised by a form when launching report on the same server

    Hello !
    I get this error FRM-41213 when launching a report via rp2rro.rp2rro_run_product.
    I don't want to set the report server in a var or property into a library or a form cause my app is to be sent to customers who will not have the sources files.
    This app is a migration from an app 10g to 11g.
    In 10g whe hadn't to set the ReportServerURL ... But in 11g it can't be ok if we don't set the server URL (with the URL it's ok)
    The 11g Report server is running on port 9002, and the form server on port 9001 on the same machine. But the two server are accessible by an ohs on port 8888.
    What the f**k ?
    :)

    Hi
    I don't run my reports using rp2rro.rp2rro_run_product but in both 10g and in 11g have always needed to specify the name of the report server.
    We have used different methods for different clients/customers. At times we have stored this name in a table in the application, other times in a pre-defined file on the server which we read using text_io.
    HTH
    Tony

  • Creation of Master-Detail Form for new record.

    Hi Friends,
    This is my requirements. Please help me to complete my task.
    I have two tables Master and Detail. Detail have foreign key relationship with Master.
    I want to design the page Master table columns are in header portion and Detail table columns are in af:table.
    When i load the page, it should contain empty header portion and one empty row in the table and table should contain Create, Edit and Delete button.
    I want to use one Save (Commit Operation) only. If i save the record it should insert first in Master table and then detail table.
    I gone through lot of documents but not able to find anything related to my need.
    Please if any link or sample or document is there means please share it.
    Thanks & Regards
    Vimalan Balan

    Hi Frank,
    Yes Frank, I am planning to create master and detail within one form and one submit action to save the master and detail values in the table. In detail table i want to have only create and delete operation for the rows.
    Example:
    Master - Header
    PO ID -- input value
    Name -- input value
    Detail - table row.
    <create> <delete>
    Select Amount Exchange Rate
    <save> --- this is for entire master and detail. Need to save the master and detail after user entered in the screen.
    Please guide me or help or provide solution to solve the problem.
    Thanks & Regards
    Vimalan Balan

  • Runtime error in xi abap stack -while getting AE logon details

    Hi XI gurus
                     We are getting a error in abap stack , transaction SMQ2 in XI box - whose details in sxmb_moni are as follows
    <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>
      <SAP:P1>400</SAP:P1>
      <SAP:P2>ICM_HTTP_CONNECTION_FAILED</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
    When we look at the error trace in sxmb_moni, I see the following :
    <Trace level="2" type="T">return fresh values from cache</Trace>
      <Trace level="2" type="T">Get logon data for adapter engine (SAI_AE_DETAILS_GET):</Trace>
      <Trace level="1" type="T">HTTP Multipart document length: 30971</Trace>
      <Trace level="2" type="System_Error">HTTP-Client: exception during receive: HTTP_COMMUNICATION_FAILURE</Trace>
      </Trace>
      </Trace>
    Is there a RFC destination to adapter engine from ABAP stack that is failing here ? What should we check ?

    Hi
    Please perform below tasks
    1. Please check INTEGRATION_SERVER_HMI rfc is working fine using SM59 transaction
    2.  If you are using RFC detination to connect to Proxy system, then i suggest you to check the connection
    3. Have a look at SAP Note 755372, 634006 and 773830 for the solution.
    4. refer to this blog - /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    5. If still problem persist please post us the ICM trace file
    Regards
    Sekhar

Maybe you are looking for

  • Classification purchase order (with batch management)

    Hi, I need some help in the next situation: I need to order a material with batch management. I've used the classification system to assign the material specifications to the material of a batch. When I create a purchase order I want to specify some

  • Year Close Process

    Our fiscal closes on Sep 30. We are unable to process any transactions with dates from next Fiscal year that starts on Oct 1. Typically, we have this problem with AR Invoicing where in the due date falls on or after Oct 30. Any help to resolve this w

  • Can't find my purchased songs anywhere

    I downloaded an album and a handful of songs this past summer, and they're no longer available to me.  Itunes shows them in my purchase history, but they're no longer on my phone or on my computer.  Thoughts?

  • P780 signal issue after upgrading build number

    Recently i had upgraded build number P780_ROW_8G_S227_141121 after upgradation both sim card showing no sim signal on handset  how to solve this problem please suggest .even factory restore password not accepting . Regards Wasi

  • Class type 022 is not defined for object for BATMAS

    Hi Experts, while creaitng the LSMW for batch classification,I faced the error during IDOC processing as "Class type 022 is not defined for object".I am using Business Object      BUS1001002 Method               SAVEREPLICA Message Type         BATMA