Updating rows in a master-detail udo form

Dear Sirs,
I'm using a form connected to a UDO and I want to use standard services provided by SAP.
In a column I have a CFL button, and if I set a new rows data with the following code in the et_CHOOSE_FROM_LIST event:
oDetailDS.SetValue("U_ItemCode", pVal.Row - 1, code);  // code and name are variables containing values returned by the CFL
oDetailDS.SetValue("U_ItemName", pVal.Row - 1, name);
oMatrix.SetLineData(pVal.Row);
this works fine until I add new rows in sequece, but if I attempt to modify an already inserted row, the sysstem gives the following error:
"This entry already exist in the following tables "(@MY_UDO_ROWS) (ODBC -2035) [Message 131-183]
Replacing the previous code with the following one:
oDetailDS.Clear();
oDetailDS.InsertRecord(0);
oDetailDS.SetValue("U_ItemCode", 0, code);
oDetailDS.SetValue("U_ItemName", 0, name);
oMatrix.SetLineData(pVal.Row);
oDetailDS.Clear();
oMatrix.FlushToDataSource();
the system let my update existing rows, but the both lineid and visorder fields are completely re-entered with new values and this make me loose all previous references and also change the order data are presente on the matrix.
Can anyone help me to find the right way to insert neew rows and update existing ones?
Thank you for the attention
Massimo Landi

Hi,
Whenever you make changes to the existing record and want to update the record, you need to delete all the records from the child table pertaining to that entry. use the below code in BeforeAction=true.
If pVal.BeforeAction = True Then
                    If pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED Then
                        oForm = oSBOApplication.Forms.ActiveForm
                        If pVal.ItemUID = "1" And pVal.FormMode = 2 Then
                            oEdit = oForm.Items.Item("txtOpnCode").Specific 'you master document number/code
                            oRecordSet = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                            oRecordSet.DoQuery("delete from [@MY_UDO_ROWS ] where [Code/DocNum]='" & oEdit.Value & "'")
                        End If
                    End If
                End If
Regards,
Noor
Edited by: noor_023 on May 10, 2010 4:41 PM
Edited by: noor_023 on May 10, 2010 4:42 PM

Similar Messages

  • Master details report/form

    Hi Friends,
    I want to create a Master-Detail report/form.
    I have one Master Table and it has 3 Detail tables.
    Example:
    Master Table: Members
    Detail Tables: Contributions
                   Loans
                   Benefit ClaimsI want to show when I click on a specific Member in the report edit , I can make entry/update to all
    the 3 detail tables. And not going each entry separately.
    Is this design requirement good?
    Thanks a lot

    You can look here on how to create multiple detail tables:
    http://htmldb.oracle.com/pls/otn/f?p=31517:163
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Is it possible to create a Master-Master-Detail JClient Form?

    Hi,
    I've been trying to create a Master-Master-Detail JClient Form, where both master-values will be displayed in a seperated drop-down-list.
    First I've tested this with a single Master-Detail (is it correct, that a single drop-down-list, working as master will not work with LoV-Binding!?) - However, the combobox-model must be set to Navigation-Binding...
    After adding another combobox (the second master), and testing the result, it seems that the detail-table only corresponds to the selection of the first master.
    The problem with LoV-Binding was, that the drop-down-list starts with the value at ID '0' (which doesn't exists) instead of '1'...
    The Question is, how can I create a Master-Master-Detail JClient Form!?
    thanks,
    hubi

    Hi,
    I've been trying to create a Master-Master-Detail JClient Form, where both master-values will be displayed in a seperated drop-down-list.
    First I've tested this with a single Master-Detail (is it correct, that a single drop-down-list, working as master will not work with LoV-Binding!?) - However, the combobox-model must be set to Navigation-Binding...That's true for navigation as you want to use the Combo as the navigator for the Master VO iterator. Lov Binding is used to "update" certain attributes based on selection. You are trying to drive the detail rowset for a selected master and NavigationBinding is the appropriate binding for this purpose.
    After adding another combobox (the second master), and testing the result, it seems that the detail-table only corresponds to the selection of the first master.That's the behavior you get from the default data model.
    The Question is, how can I create a Master-Master-Detail JClient Form!?First you need to create a ViewUsage structure that implements Master-master-detail. This is not allowed by Bc4j wizards. However you can create such a structure at runtime by using createViewLink method on the ApplicationModule to link the "second" master with the detail (same VO as the first Master's detail).
    Assuming both the comboboxes are bound to individual Master VOs using NavigationBinding, you should now be able to traverse the details using both ComboBoxes (which represent the master).

  • Master Details Entry Form in Oracle ADF

    Dear Sir,
    Please tell me how we create the Master Details Entry Form in Oracle ADF.
    Thanks in Advance
    Shiv Naresh Gupta

    hi Number(922941) :)
    welcome ,
    to this forums
    thing 1: change handle(name) as string as well as meaningful.
    first go through
    https://forums.oracle.com/forums/ann.jspa?annID=56
    Next look.
    http://www.youtube.com/watch?v=OCWMzfbd96E
    http://www.fireboxtraining.com/blog/2011/01/09/oracle-adf-11g-creating-master-detail-detail-tables/
    http://www.baigzeeshan.com/2010/03/creating-master-detail-form-in-adf.html

  • ADF Master Detail entry form issue

    Hi All,
    I am new to JDeveloper and I am creating a Master Detail entry form. I have separate buttons to create master records and detail records in Master and Detail sections respectively. After completing data entry in Master portion, when I hit the create button to create a line in detail, it removes data from the last field of master which is a "description" field. I haven't write any custom code yet. How can I fix this?
    Help will be appreciated.
    Thanks,
    CAH

    Hi,
    Thanks for your reply and links to the tutorials.
    I have changed the default binding to CreateInsert from Create. Unlike in the sample application in the links, my form is editable at both the levels. Apart from the clearing out the description field, it clears out the list items I have defined at Detail level when I create second or greater record. It works fine for the first record at Detail level. And as I mentioned, I have not written any custom code anywhere.
    Any clue will be a great help.
    Thanks,
    CAH

  • Master Detail Java Form

    Where can i find any source code of master detail java form without using BC4J?

    Gawish,
    JSP and Applets are kind of exluding the other. If you don't like to use BC4J, you can use all kind of technologies like EJB or POJOs. ADF will work the same for the two technologies when building user interfaces. See otn.oracle.com/products/jdev for tutorials and how-to.
    Frank

  • MASTER -DETAILS ENTRY FORMS IN APEX

    THIS IS MY TABLE, HOW I WILL MASTER -DETAILS ENTRY FORMS IN APEX.
    PLEASE HELP
    CREATE TABLE BUY_INFO_MST
    SUPPLIER_CODE VARCHAR2(5) NOT NULL,
    MEMO_CODE VARCHAR(12),
    ITEM_CODE VARCHAR2(3) NOT NULL,
    BUY_DATE DATE ,
    USER_NAME VARCHAR2(15) ,
    ENTRY_DATE DATE ,
    UPD_USER VARCHAR2(15) ,
    UPD_DATE DATE ,
    CONSTRAINT PK_BUY_INFO PRIMARY KEY (SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,BUY_DATE)
    CREATE TABLE BUY_INFO_DTL
    SUPPLIER_CODE VARCHAR2(5) NOT NULL,
    MEMO_CODE VARCHAR(12) ,
    ITEM_CODE VARCHAR2(3) NOT NULL,
    ITEM_DETAILS_CODE VARCHAR2(3) NOT NULL,
    BUY_DATE DATE ,
    ROLL VARCHAR2(3) ,
    UNIT_CODE_M VARCHAR2(3) ,
    UNIT_CODE_I VARCHAR2(3) ,
    QUANTITY_M NUMBER(10,4) ,
    QUANTITY_I NUMBER(10,4) ,
    UNIT_PRICE NUMBER(15,4) ,
    BUY_AMOUNT NUMBER(15,4) ,
    USER_NAME VARCHAR2(15) ,
    ENTRY_DATE DATE ,
    UPD_USER VARCHAR2(15) ,
    UPD_DATE DATE ,
    CONSTRAINT PK_BUY_INFO_DTL PRIMARY KEY (SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,ITEM_DETAILS_CODE, BUY_DATE),
    CONSTRAINT FK_BUY_INFO_DTL FOREIGN KEY(SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,BUY_DATE)REFERENCES BUY_INFO_MST
    JAHANGIR

    Hi,
    Because you're using a composite key with more than 2 columns you'll need to create a view of each table with a ROWID column and use those as your primary keys. Either that or add a new column to the table for each entry.
    Mike

  • MASTER -DETAILS ENTRY FORMS PROBLEM

    THIS IS MY TABLE, HOW I WILL MASTER -DETAILS ENTRY FORMS IN APEX.
    PLEASE HELP
    CREATE TABLE BUY_INFO_MST
    SUPPLIER_CODE VARCHAR2(5) NOT NULL,
    MEMO_CODE VARCHAR(12),
    ITEM_CODE VARCHAR2(3) NOT NULL,
    BUY_DATE DATE ,
    USER_NAME VARCHAR2(15) ,
    ENTRY_DATE DATE ,
    UPD_USER VARCHAR2(15) ,
    UPD_DATE DATE ,
    CONSTRAINT PK_BUY_INFO PRIMARY KEY (SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,BUY_DATE)
    CREATE TABLE BUY_INFO_DTL
    SUPPLIER_CODE VARCHAR2(5) NOT NULL,
    MEMO_CODE VARCHAR(12) ,
    ITEM_CODE VARCHAR2(3) NOT NULL,
    ITEM_DETAILS_CODE VARCHAR2(3) NOT NULL,
    BUY_DATE DATE ,
    ROLL VARCHAR2(3) ,
    UNIT_CODE_M VARCHAR2(3) ,
    UNIT_CODE_I VARCHAR2(3) ,
    QUANTITY_M NUMBER(10,4) ,
    QUANTITY_I NUMBER(10,4) ,
    UNIT_PRICE NUMBER(15,4) ,
    BUY_AMOUNT NUMBER(15,4) ,
    USER_NAME VARCHAR2(15) ,
    ENTRY_DATE DATE ,
    UPD_USER VARCHAR2(15) ,
    UPD_DATE DATE ,
    CONSTRAINT PK_BUY_INFO_DTL PRIMARY KEY (SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,ITEM_DETAILS_CODE, BUY_DATE),
    CONSTRAINT FK_BUY_INFO_DTL FOREIGN KEY(SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,BUY_DATE)REFERENCES BUY_INFO_MST
    JAHANGIR

    THIS IS MY TABLE, HOW I WILL MASTER -DETAILS ENTRY FORMS IN APEX.
    PLEASE HELP
    CREATE TABLE BUY_INFO_MST
    SUPPLIER_CODE VARCHAR2(5) NOT NULL,
    MEMO_CODE VARCHAR(12),
    ITEM_CODE VARCHAR2(3) NOT NULL,
    BUY_DATE DATE ,
    USER_NAME VARCHAR2(15) ,
    ENTRY_DATE DATE ,
    UPD_USER VARCHAR2(15) ,
    UPD_DATE DATE ,
    CONSTRAINT PK_BUY_INFO PRIMARY KEY (SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,BUY_DATE)
    CREATE TABLE BUY_INFO_DTL
    SUPPLIER_CODE VARCHAR2(5) NOT NULL,
    MEMO_CODE VARCHAR(12) ,
    ITEM_CODE VARCHAR2(3) NOT NULL,
    ITEM_DETAILS_CODE VARCHAR2(3) NOT NULL,
    BUY_DATE DATE ,
    ROLL VARCHAR2(3) ,
    UNIT_CODE_M VARCHAR2(3) ,
    UNIT_CODE_I VARCHAR2(3) ,
    QUANTITY_M NUMBER(10,4) ,
    QUANTITY_I NUMBER(10,4) ,
    UNIT_PRICE NUMBER(15,4) ,
    BUY_AMOUNT NUMBER(15,4) ,
    USER_NAME VARCHAR2(15) ,
    ENTRY_DATE DATE ,
    UPD_USER VARCHAR2(15) ,
    UPD_DATE DATE ,
    CONSTRAINT PK_BUY_INFO_DTL PRIMARY KEY (SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,ITEM_DETAILS_CODE, BUY_DATE),
    CONSTRAINT FK_BUY_INFO_DTL FOREIGN KEY(SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,BUY_DATE)REFERENCES BUY_INFO_MST
    JAHANGIR

  • Master Details Input Form

    Hi,
    I'm using JDeveloper 10.1.3.1, ADFBC JSPX, I've created two tables dept with deptid and deptnm primary key deptid, emp with empno, empnm and deptid foreign key deptid references dept table.
    i've created business component Diagram, in that i dragged 2 tables. i've created views for that tables, and view link between these two. i've creaed Data Control as a Master Details. in Jspx, i dragged Dept View as a creation form, and down of that, Emp as a creation form, then from operations, i dragged commit and rollback buttons. When i'm testing in Application Module, it's running perfectly ok, while running jspx these errors are comming, how can i solve this.
    1. JBO-27027: Missing mandatory attributes for a row with key null of type AM.EmpView1
    2. Empno - JBO-27014: Attribute Empno in AM.EmpView1 is required
    3. Deptid - JBO-27014: Attribute Deptid in AM.EmpView1 is required
    Thanks and Regards,
    Sudha Teki.

    Hi,
    Whatever link u've send i've tried that with using Service Requests and Products Tables.
    public Result newServiceRequestForNewProduct(String prodName,
    String prodDesc,
    String problemDesc,
    Number customerId){
    //1. Create a New Service Request
    ServiceRequestsImpl newSR = createNewServiceRequest();
    //2. Create a New Product
    ProductsImpl newProd = createNewProduct();
    newProd.setName(prodName);
    newProd.setDescription(prodDesc);
    //3. Set the product id to which service request pertains
    newSR.setProdId(newProd.getProdId().getSequenceNumber());
    newSR.setProblemDescription(problemDesc);
    newSR.setCreatedBy(customerId);
    //4. Commit the transaction
    getDBTransaction().commit();
    //5. Construct a bean to hold new product id and SR id
    Result result = new Result();
    result.setSvrId(newSR.getSvrId().getSequenceNumber());
    result.setProdId(newProd.getProdId().getSequenceNumber());
    //6. Return the result
    return result;
    After adding this code i'm trying to test client program. i'm getting errors like
    Error(66,25): interface javax.xml.transform.Result is abstract; cannot be instantiated
    Error(67,12): method setSvrId(oracle.jbo.domain.Number) not found in interface javax.xml.transform.Result
    Error(68,12): method setProdId(oracle.jbo.domain.Number) not found in interface javax.xml.transform.Result
    Anything else i'm missing here, please let me know.
    Thanks and Regards,
    Sudha.

  • Multi-row insert in master-detail tables

    Hi, I'm using jdev 10.1.3.2 with jheadstart and my problem is:
    I hava a master-detail structure, both are tables and my goal is that I want multi insert (exactly 3) in master and detail table when user makes new order(some business scenario). I cannot create rows in master or detail VO by overriding create() method because its entities have complex primary keys and some part of this key is populated by the user with lov. So I set in jhs new rows to 3 and checked multi-row insert allowed but the problem is that overall I can only create rows in master table after I submit form. I want to create row in master table and fill rows in detail table, and after that I want to have opportunity to create second (or even third) row in master table and fill rows in detail table.
    thanks for help.
    Piotr

    See JHS DevGuide: 3.2.1. Review Database Design:
    If you are in the position to create or modify the database design, make sure all
    tables have a non-updateable primary key, preferably consisting of only one
    column. If you have updateable and/or composite primary keys, introduce a
    surrogate primary key by adding an ID column that is automatically populated.
    See section 3.2.4 Generating Primary Key Values for more info. Although ADF
    Business Components can handle composite and updateable primary keys, this
    will cause problems in ADF Faces pages. For example, an ADF Faces table
    manages its rows using the key of the underlying row. If this key changes,
    unexpected behavior can occur in your ADF Faces page. In addition, if you want
    to provide a drop down list on a lookup tables to populate a foreign key, the
    foreign key can only consists of one column, which in turn means the referenced
    table must have a single primary key column.
    Groeten,
    HJH

  • Master-detail  in forms 4.5

    I am trying to make a master-detail form work, but so far the details in the form does not correspond to the master block.
    What I did was
    1. created a primary key in table1
    2. created a foreign key in table2 referencing the primary key in table1
    3. created a new block (master block based on table1)
    4. created another block (detail block based on table2)
    5. under the tab master/detail of detail block I
    5.1 selected the master block from the block LOV
    then the "Join Condition" textbox automatically showed the relational keys
    or Join
    But when I ran the program, only the master block showed different records when navigating.
    Thanks for any help you can give.

    Bob,
    check the property palette of the relation node (build under the detail block) for the "deferred" property. This should be set to "no", otherwise the query only gets updated if you navigate into it.
    Frank

  • Error in Master-Detail report form

    Hi every one,
    I am a beginner to Oracle APEX, i am learning from this "Building an Application using Oracle Application Express: Part 1" tutorial, i went through this, but i got error while in detail field, from tutorial, detail table shows, tasks table, but in my detail field it doesn't shows tasks table, Please help me........
    Thankyou,
    Suresh

    Hello 942793 -- Do you have a name / nickname? -- We still don't know how to address you,
    Say, could you tell us -- because sometimes different versions have different capabilities:
    Full APEX version number,
    Full database version number,
    APEX web browser architecture (EPG, OHS, or APEX listener)
    Browser(s) and version(s) used,
    Operating System with version number and architecture (32/64 bit),
    [If you mentioned these before we don't have access to that info in this thread.]
    Also, are you using ARP (Automatic Row Processing) for this Master-Detail or have you programmed your own updates?
    Did you use an APEX wizard to create the Master-Detail or have you written you own code for the Master-Detail?
    To the problem:  In short, APEX is ensuring update consistency by preventing an update of a record/row that has changed since the code retrieved it.  So, one needs to figure out where/why it changed and what to do about it.
    ?  Is this Master-Detail part of you application fairly simple?  Could you put just that part out on apex.oracle.com for folks to look at?  That can speed resolution of these, sometimes difficult, update problems.
    Regards,
    Howard

  • Master detail report/form FK problem

    Anyone...anybody!!!
    I'm using APEX 4.0.1... and Oracle 10g.
    I have two tables that are linked with FK in the detail table
    Master table
    ID_ENDURGR     NUMBER --PK populated with a trigger
    KT_UMSAEKJANDI     VARCHAR2(10 BYTE)
    TIMABIL     NUMBER
    NUMER_UMSOKN     NUMBER
    HEILDARKOSTNADUR     NUMBER
    Detail table
    ID_EIGENDUR     NUMBER --PK populated with a trigger
    KENNITALA     VARCHAR2(10 BYTE)
    EIGNARHLUTI     NUMBER
    KOSTNADUR_VINNA     NUMBER
    ENDURGR_ID_FK     NUMBER -- FK on ID_ENDURGR in the master table
    If I create a application with a master detail page using the wizard, pages with a report and a tabular form are created. This works fine and the FK field in the detail table is automatically populated with the PK from the master table.
    If I create an application with a blank page an on that page create a region > form > master detail > same tables >use existing triggers > default > Edit detail on separate page ... three new pages are created: Report, master form and a detail form.
    If I create a new detail record with this application the FK field is not automatically populated.
    Why? What am I doing wrong?
    The trigger on the detail table:
    create or replace
    TRIGGER "bi_RSK_541_EIGENDUR"
    before insert on "RSK_1018_EIGENDUR"
    for each row
    begin
    if :new."ID_EIGENDUR" is null then
    select "RSK_541_EIGENDUR_SEQ".nextval into :new."ID_EIGENDUR" from dual;
    end if;
    end;
    Do I need to add something here... or what?
    Please help.
    Edited by: 805740 on 2.12.2010 07:14

    Thanks for your reply. I have created my pages on apex.oracle.com
    ws: RSK_APEX
    user: demo
    pwd: demo
    There are two tabs. Different solutions on each one.

  • Error trying to run a sample master-detail JSF form in Jdev 10.1.3

    I've tried JDeveloper 10.1.3 folowing a tutorial , master-detail one , involving Adf Faces which I found it here http://www.oracle.com/technology/products/jdev/101/tutorials/e2ebcfaces/buildmaster-detailpagewithjdevandadfbc.htm.
    1. I dowloaded JDeveloper 10.1.3
    2. I made -in Jdeveloper- a connection to OE8 schema
    2. I created an application with web application template ; in my new workspace i had 2 projects Model and ViewController
    3. In model i choose Business Tier - ADF Bussiness Components - Business Components from Tables and I followed instructions in tutorial
    4. In ViewController I created Web Tier - JSF - JSF JSP , with the JSF-JSP wizard a jsp page browseCustomerOrders.jsp. For building a master detail form i folowed instructions in tutorial
    However ...
    5. When I tried to run i received ....
    " [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    D:\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config>
    D:\jdevstudio1013\jdk\bin\javaw.exe -ojvm -classpath D:\jdevstudio1013\j2ee\home\oc4j.jar;D:\jdevstudio1013\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    05/11/30 12:04:16 Exception in thread "OC4J Launcher" oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: oracle.core.ojdl.logging.LoggingConfiguration
         Dependent class: com.evermind.server.XMLApplicationServerConfig
         Loader: oc4j:10.1.3
         Code-Source: /D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar
    The missing class is not available from any code-source or loader in the server.
    05/11/30 12:04:16      at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2073) [D:/jdevstudio1013/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1681) [D:/jdevstudio1013/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [D:/jdevstudio1013/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [D:/jdevstudio1013/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]
         at com.evermind.server.XMLApplicationServerConfig.initJ2eeLogging (XMLApplicationServerConfig.java:243) [D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.XMLApplicationServerConfig.postInit (XMLApplicationServerConfig.java:255) [D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.xml.XMLConfig.init (XMLConfig.java:200) [D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.xml.XMLConfig.init (XMLConfig.java:117) [D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:74) [D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]
    05/11/30 12:04:16 Fatal error: server exiting
    Process exited with exit code 1. "
    Where do you think i am wrong?
    Many thanks

    Hi,
    the problem seems not to be within your application but in missing files on your embedded OC4J. Just try and unzip the JDeveloper 10.1.3 install again.
    Frank

  • Creating a new row in a master detail VO relation and its consequences.

    Hi,
    I'm currently facing a lot of problems which make me doubt if my perception about the whole ADF entity-view object mechanism is right.
    I have a page which displays data from a master detail VO relation (master offer - detail officeinfo). I also have a small dialog LOV window which makes it possible for me to select an office to match up with the current offer... Both the office LOV and the officeInfo detail use the same Office entity object.
    This worked perfectly fine until I wanted to add create NEW offers. I created my own insert method which basically performs a createRow on the master VO and inserts the newly created row in this VO. On a sidenote, I also fill out some default data read from a property file, which is why I decided to implement my own insert method in the first place.
    Initially, the problem was that the inputText fields of the detail VO (OfficeInfo) were not displayed at all. I imagined that I also had to perform the create and insert methods on the detail VO and indeed, from that point on all inputText fields were displayed and my page was ready for input.
    Yet today, I notice that in my Office LOV which is based on the same entity as the one my detail OfficeInfo VO uses, this newly created row is ALSO visible. To me this is quite unwanted and surprising behavior. I did not expect the row already to be visible in the LOV, since basically it's just an empty row ready for input...
    Am I perceiving things wrong? Or anyone has a nice solution to fix this?
    Thanks,
    Douglas

    Hi Douglas,
    It is happening because you have created an updateable office LOV which is based on same entity object used to save your newly created records.
    Use readonly LOV based on plsql query in your page and you can keep rest of the thing as it is.
    I think it will solve your problem.
    Cheers,
    Suyog

Maybe you are looking for

  • Unresponsive system following update to 10.6.2

    Just ran the update to 10.6.2, and it appeared to go off without a hitch. When it rebooted, however, it gets stuck when loading the desktop. The image appears, the icons appear, and then a blank white box with a drop-shadow appears, after which all l

  • Standard open PO report

    can anyone tell me the t-code for standard open PO report. full mark awarded.

  • Missing workbooks

    Howdy Gurus, We have some workbooks that appear to have gone missing.  These comprise about 4 workbooks from two totally unrelated infocubes that were working fine on Friday, and on Monday we cannot find them if we search for them in BEx.  People tha

  • How to remove virus from words with friends?

    Recently when I play words with friends the app opens up my safari browser to the following address but it is blank. "Cdn3.doubleverify.com".  I downloaded all my apps from the App Store and I thought they were supposed to be "virus free". Can anyone

  • Store French & Japanese in WE8ISO8859P1

    Hi We are using the below character set in our R12 12.1.3 instance. NLS_CHARACTERSET - WE8ISO8859P1 NLS_NCHAR_CHARACTERSET - AL16UTF16 We want to use French and Japanese languages in our R12 instance. I can see French is supported, But How can I enab