Master Detail Auto Insert

Hi:
I have a SQL report from which I use a link on the ID. When user click's on the ID a Master Detail form shows all the Master and Detail Rows. Working Fine.
Problem: I need to create new Master detail records.
My Approach: I have created a menu item using the same link as used in the report to take the user into the same MD form for doing the Data Entry.
What I am trying to do is before doing the query check for the parameter coming into the form, If the parameter is blank then call a procedure which creates the master and detail records using seq. number and returns the seq back to the calling procedure. Then pass the returned number into the parameter and let the form keep doing what it wanted to do.
I don't know what is the paramter names or values to check for. If anyone has any syntax examples or any other ideas to work around this then the help will be greatly appriciated.
It will be really cool if I don't have to call the procedure until the user hits the save button that way I won't loose any seq. numbers
Thanks

To get the list of parameters you should go to component management screen, then click on "Show call interface" link, it will show the complete list of parameter MD form accepts. But you can only link to the master section of MD forms.
Second, you still will be losing sequence numbers regardless of form behavior, a better solution is to keep a separate table holding the last number and populate the key field via trigger.

Similar Messages

  • Master-detail page: insert in detail not working

    Hello JHeadstart Team,
    I'm using jdev 10.1.3.2.0 and jhs 10.1.3.1.26.
    I have a master-detail page (master = table-form layout and (on same page) detail = table layout).
    If starting the page, pushing the new master record button, inserting a new master record and finally inserting a new detail record following error occurs:
    07/05/02 14:50:30 [720] (16) DCBindingContainer.reportException(220) DCBindingContainer.reportException :oracle.jbo.TxnValException
    07/05/02 14:50:30 [721] (16) Diagnostic.printStackTrace(410) oracle.jbo.TxnValException: JBO-27023: Validieren aller Zeilen in einer Transaktion nicht möglich.
    and for every mandatory column in the detail
    ## Detail 0 ##
    oracle.jbo.RowValException: JBO-27027: Fehlende obligatorische Attribute für eine Zeile mit dem Schlüssel oracle.jbo.Key[-5 ] vom Typ Quellen
         at oracle.jbo.server.JboMandatoryAttributesValidator.validate(JboMandatoryAttributesValidator.java:118)
    There is also a warning in the embedded OC4J log
    02.05.2007 14:49:26 oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
    WARNUNG: rowIterator is null
    If I query the data first I can insert master and detail records as exspected! The same if the details are placed on a separate page!
    Trying to use the new feature AddRow-Button for table layout gives ALLWAYS
    500 Internal Server Error (
    javax.faces.el.EvaluationException: java.lang.NullPointerException     
    at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)     
    at oracle.adf.view.faces.component.UIXComponentBase.__broadcast(UIXComponentBase.java:1087)     
    at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:204)     
    at oracle.adf.view.faces.component.UIXCollection.broadcast(UIXCollection.java:95)     
    at oracle.adf.view.faces.component.UIXTable.broadcast(UIXTable.java:208)     
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)     
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)     
    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)     
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)     
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)     
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)     
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)     
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)     
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)     
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)     
    at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)     
    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[Oracle Containers for J2EE 10g (10.1.3.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException     
    at oracle.jheadstart.controller.jsf.bean.JhsCollectionModel.addRow(JhsCollectionModel.java:443)     
    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 com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)     
    ... 30 more
    In the ADF BC Tester the application module runs properly.
    How can I debug?
    Is there something wrong in the model level or view level?
    Thanks in advance
    Peter

    Thanks Menk for your idea!
    I located the source of the problem in the pagedef:
    After changing the RefreshCondition of the Detail Iterator from
    <iterator id="DETAILIterator" Binds="DETAILView1"
    DataControl="xyzDataControl" RangeSize="-1"
    RefreshCondition="#{searchMASTER.queryExecuted}"/>
    to
    <iterator id="DETAILIterator" Binds="DETAILView1"
    DataControl="xyzDataControl" RangeSize="-1"
    RefreshCondition="#{adfFacesContext.postback == true}"/>
    and switching off "Generate Page Definiton" everything works as exspected!
    Peter

  • Master-Detail prevent inserting detail row if master doesn't exist

    Hello,
    I have a complex page that has several master-detail table pairs on it. I have what should be a simple problem to work around that I can't seem to figure out. On each table (either master or detail) I have a create button in the header and a delete button in each row. I have a couple issues I just can't seem to get past.
    1. How to disable the detail create button if no master row exists or one hasn't been selected by the user? (Right now you can create detail rows without a valid master row)
    2. How to disable the master row delete button if there are any (commited or not) detail rows present?
    I think I have figured out 2 by having a transient attribute on the master row that uses groovy and the view link accessor to count the detail rows. This appears to be working but if there's a better, cleaner solution I'm all ears. I just can't seem to get 1 working no matter what I try.
    Thanks for any help you can provide.

    hi,
    you can use estimatedRowCount of iterator to disable the button like
    disabled="#{!(bindings.mastervoIterator.estimatedRowCount ge 0)}"and use currentRow property to determint whether current row is selected like
    disabled="#{!(bindings.mastervoIterator.currentRow ne null)}"so the combination will be as follows
    disabled="#{!(bindings.mastervoIterator.estimatedRowCount ge 0 and bindings.mastervoIterator.currentRow ne null)}"hope this helps...
    Regards.

  • Master / Details validation insert row details before master

    Hi,
    I have the following scenario:
    I have a form with a master details input.
    When I click on 'New' to add a record in the details, the validation of the input in the master alerts me that I should fill the inputText.
    If I fill the Master then the details, it will works.
    But, if I fill the details before the master, I got the validation to fill the records.
    What I want:
    - to be able to fill the details without firing the validation of the master inputText since the button I clicked was for adding a new record and NOT to commit the master details ...
    I tried to copy some code ..
    maybe it will help.
    I tried partialSubmit, partialTriggers ...
    All attributes don't work. Maybe I did an error in my design page or my organazation of forms.
    Please give me a detailed example that works for my situation
    <af:panelHeader text="Visitors" id="ph1">
    <af:panelFormLayout id="pfl1" partialTriggers="newVisitdetail">
    <af:inputText value="#{bindings.Name.inputValue}"
    label="#{tasdeequiBundle['m_name']}"
    required="#{bindings.Name.hints.mandatory}"
    columns="#{bindings.Name.hints.displayWidth}"
    maximumLength="#{bindings.Name.hints.precision}"
    shortDesc="#{bindings.Name.hints.tooltip}" id="it234"
    partialTriggers="test"
    autoSubmit="false">
    <f:validator binding="#{bindings.Name.validator}"/>
    </af:inputText>
    </af:panelFormLayout>
    </af:panelHeader>
    <af:panelHeader text="Visitors" id="ph2">
    <af:toolbar flex="0" id="toolbar1">
    <af:spacer width="10" height="5" id="spacer1"/>
    <af:commandToolbarButton text="#{tasdeequiBundle['global.button.New']}"
    icon="/images/new_ena.png"
    partialSubmit="false"
    id="newVisitdetail"
    actionListener="#{bindings.CreateInsert.execute}"
    disabled="#{!bindings.CreateInsert.enabled}"
    partialTriggers="t1 ph2">
    </af:commandToolbarButton>
    <af:spacer width="5" height="5" id="spacer3"/>
    </af:toolbar>
    <af:table rows="#{bindings.TsVisitdetailsVO2.rangeSize}"
    fetchSize="#{bindings.TsVisitdetailsVO2.rangeSize}"
    emptyText="#{bindings.TsVisitdetailsVO2.viewable ? 'No data to display.' : 'Access Denied.'}"
    var="row"
    value="#{bindings.TsVisitdetailsVO2.collectionModel}"
    rowBandingInterval="0"
    selectedRowKeys="#{bindings.TsVisitdetailsVO2.collectionModel.selectedRow}"
    selectionListener="#{bindings.TsVisitdetailsVO2.collectionModel.makeCurrent}"
    filterVisible="true" varStatus="vs"
    width="100%" inlineStyle="width:100%"
    rowSelection="single" id="t1"
    summary="Visitdetails List"
    editingMode="clickToEdit">
    <af:column headerText="#{tasdeequiBundle['d_fullname']}"
    rowHeader="false"
    sortProperty="Name" sortable="false" id="c8">
    <af:inputText value="#{row.bindings.Name.inputValue}"
    label="#{bindings.TsVisitdetailsVO2.hints.Name.label}"
    required="#{bindings.TsVisitdetailsVO2.hints.Name.mandatory}"
    columns="#{bindings.TsVisitdetailsVO2.hints.Name.displayWidth}"
    maximumLength="#{bindings.TsVisitdetailsVO2.hints.Name.precision}"
    shortDesc="#{bindings.TsVisitdetailsVO2.hints.Name.tooltip}" id="ot15">
    <f:validator binding="#{row.bindings.Name.validator}"/>
    </af:inputText>
    </af:column>
    </af:table>
    </af:toolbar>
    </af:panelHeader>
    Regards,

    Hi,
    did you see this part of the documentation
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcadveo.htm#CEGJAFCF
    Frank

  • ADF Master Detail Insert Page

    Hi all,
    i must create a jsp with a master detail in insert mode. The problem is that the master and the detail must be validated in the same time because i must have a record in the master that must have NECESSARILY a record in the detail.
    All the samples that i've been found makes validate first the master and then the detail...can anyone help me?
    Thanks in advance...
    Fabio

    you make both insert, whitout any automatic validation...then, in the onCommit metod manually check your conditions, and eventually you force rollback: what about this solution?

  • Master-detail editing or inserting

    Hi,
    I'm very sorry because I don't write English well...
    I'm studying ADF and I want to know master-detail editing(inserting) method using ADF.
    I know master-detail view and deleting.
    I need one master row editing(inserting) and multi detail row editing(inserting) in the same page(.JSP file) and Form tag.
    For reference, I read and practice below URL.
    http://www.oracle.com/technology/products/jdev/tips/mills/JSP_Multi_Row_Edits.html
    Please help me..
    Have a nice day..
    Thank you...
    May..

    Have you looked at our Oracle JHeadstart offering? If you truly need multi-row editing, it extends the base ADF DataAction to easily generate pages that handle multi-row operations of all kinds.
    A complete tutorial is available here:
    http://www.oracle.com/technology/products/jdev/tips/muench/jhstutorial/index.html
    Otherwise, you'll need to indicate more about what's not working for you after you have read Duncan's tutorial you cite above.

  • Use master-detail as both insert-edit mode

    Guys,
    I am again in need for your expert suggestions....(I am using Jdev 11.1.1.3 and really new to adf world)
    I need to implement a scenario where user will click the menu item and system should open a detail page in insert mode.
    I have a page fragment for headers.... which has menu bars.... and one the of item in the menu bar is "Create new Record"
    My application has master-detail page (master with multiple details). I would like (don't have to) to use the same master-detail for Insert and Edit
    More detail scenario: 1. User will click "Create new Record" menu item
    2. Load the master-detail page in insert mode
    3. when they save the record, page should turn to edit mode...
    any help is greatly appreciated......
    Edited by: raj-acha on Sep 2, 2010 9:22 AM

    I can use goMenuItem to open the master-detail page. Do you think any issue with this?
    Also, Can i use the master-detail page for both Insert and Edit? if so, please suggest me possible solution. (I have master-detail page and only opens in edit mode)
    -R

  • Master-Detail and Auto Insert Detail rows

    Apex 3.0
    I'm trying to do a Master-Detail form. I have it set to stay on the same page when I Create a new Master Record.
    Now, what I would like to do is auto insert data into the Detail Rows some predefined information and have it ready for the user to enter the rest of the information. I did this by creating a Page Process to trigger on the Add Row button for the Details region. The code I used is:
    begin
    insert into purch_insurance_type (Contract_ID, INSURANCE_TYPE) values(:P7_Contract_ID, 'General');
    insert into purch_insurance_type (Contract_ID, INSURANCE_TYPE) values(:P7_Contract_ID, 'Automobile');
    insert into purch_insurance_type (Contract_ID, INSURANCE_TYPE) values(:P7_Contract_ID, 'Excess');
    insert into purch_insurance_type (Contract_ID, INSURANCE_TYPE) values(:P7_Contract_ID, 'Workers Comp');
    insert into purch_insurance_type (Contract_ID, INSURANCE_TYPE) values(:P7_Contract_ID, 'Others (Builders Risk)');
    end;
    P7_Contract_ID is the PK on the Master table and I predefine the Insurance Type. The rest of the table the user is able to enter as needed.
    When I run it, the new rows show up but the Insurance Type is NULL and browsing from one record and back the new rows are gone. It seems like the PK for the Detail rows are not being filled. I have a Sequence Trigger set to fire on Update:
    CREATE OR REPLACE TRIGGER "BI_PURCH_INSURANCE_TYPE"
    before insert on "PURCH_INSURANCE_TYPE"
    for each row
    begin
    if :NEW."INSURANCE_TYPE_ID" is null then
    select "PURCH_INSURANCE_TYPE_SEQ".nextval into :NEW."INSURANCE_TYPE_ID" from dual;
    end if;
    end;
    ALTER TRIGGER "BI_PURCH_INSURANCE_TYPE" ENABLE
    What am I missing? Any ideas or suggestions?

    Hi All!
    I think there is no solution to this problem, only single selection is the solution.
    If any one has anyother solution plz let me know.
    Thanks and regards.
    Abbasi

  • How to create Insert & Update on master-detail form JPA/EJB 3.0

    Is there any demonstration or tips how to Insert record on master-details form for JPA/EJB 3.0 with ADF binding?

    I have master-detail forms (dept-emp). I drag the dept->operations->create method to JSF page. But when I click create button, only dept form is clear and ready for insert. But emp form is not clear. How can I add create method for this?
    Can you give some example how to pass the right object to the persist or merge method so that it can save both the two objects (master-detail tables)
    Thanks
    Edited by: user560557 on Oct 9, 2009 8:58 AM

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

  • How can I insert in the table detail of a master/detail form??

    Hello, I have created a master/detail form from the assistant, and with the code generated by APEX I do not manage to insert a row in the table detail, I press the button 'Add Row' and refill information, when I press the button ' to apply changes ' me the following mistake appears:
    'Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "C85B64D53C8D63E9D3EE83B82728DFA3", item checksum = "244B1FED90DF5CC5B0DDB6728F4D02DD"., update "CRM_ADMIN"."ASIGNACIONES_AM_CONTACTOS" set "SECUENCIA" = :b1, "CODIGO" = :b2, "NOMBRE_CLIENTE" = :b3, "NOMBRE" = :b4, "COMENTARIOS" = :b5, "CODIGO_COMERCIAL" = :b6'
    How I can solve and be able to insert in the table it detail?
    Thanks

    Hi Law,
    Text in a shape or a text box will not feature in the table of contents.
    To get a colour behind your titles, type them into your document (not a shape). Format as Heading or some other paragraph style the TOC will recognise.
    Select the title text and Format Panel > Text > Font > Gearwheel > Advanced Options.
    Choose Character Fill Color and choose a colour from the palette (left) or colour circle (right).
    Example Titles (all on the same page for a smaller screen shot).
    Chapter 3 (in a coloured Text Box or Shape) does not appear in the TOC:
    Hint for cheats :
    To give the titles a wider Character Fill Colour, add some Tab characters before and after.
    Regards,
    Ian.

  • Insert Record in Master-Detail block

    I am using JDev 10.1.2, Struts, ADF and JSP
    I have a Master-Detail relationship. As the master table(Course) is browsed , the details(Students) record keep changing. Now I want to insert records to the detail (Students) block alone. I am generating the Students id using Sequence, but I want use the Course Id that is being browsed for the new record inserted. How do I do this.
    I used the 'Read Only Dynamic Table' for the Details table and used the create button and forward it to create jsp. When I click on create button, it does go to the create jsp, but the the row is not blank. what do I have to do.
    Any help will be appreciated.

    Hi Shay,
    Thanks for the response. At least I'm getting some response after so long a time.
    I'm not sure what are you looking at. But this is what I have.
    I have a browseCourse.jsp that displays the courses in the master and students in the detail. I have a create button for the detail, and my code looks like this.
    public class BrowseCourseAction extends DataForwardAction
    public void onCreate (DataActionContext actionContext)
    actionContext.getHttpServletRequest().getSession().setAttribute("type", "create");
    if (actionContext.getEventActionBinding() != null)
    actionContext.getEventActionBinding().doIt();
    actionContext.setActionForward("createstudent");
    when the user click on create button it shows the createstudent.jsp. My question is how to set the course id for the new student that is about to be created.
    What do I have to do for this?

  • Insert record in master detail relationship

    Hi,
    I have the following situation. I have two tables (master and detail in 1:1 relationship). What I want to do is to skip through the master table and insert a record into the detail table containing only the id of the master table (foreign key column in detail table).
    My tables look like this:
    Master:
    ID
    NAME
    ADRESS
    Detail:
    ID
    DETAILS
    MASTERID (foreign key)
    For I am not experienced in PL/SQL does anybody give me an idea on how to do this. I think it is suitable to have a procedure solving this...
    Thanks in advance!
    Tino

    Here you go:
    CREATE TABLE dt_test_master
    (     id           number primary key,
         descr      varchar2(10)
    INSERT INTO dt_test_master VALUES(1, 'Master 1')
    INSERT INTO dt_test_master VALUES(2, 'Master 2')
    CREATE TABLE dt_test_child(id number, master_id number, col1 varchar2(10))
    alter table dt_test_child add constraint dt_test_child_fk_master
    foreign key(master_id) references dt_test_master
    CREATE SEQUENCE dt_test_child_id_seq
    CREATE OR REPLACE PROCEDURE p_CreateChild(     an_MasterId dt_test_child.master_id%TYPE,
    av_Col1          dt_test_child.col1%TYPE
    IS
    BEGIN
         INSERT
         INTO
              dt_test_child
              (     id,
                   master_id,
                   col1
         VALUES
              (     dt_test_child_id_seq.NEXTVAL,
                   an_MasterId,
                   av_Col1
    END;
    SQL> exec p_CreateChild(1,'Child1');
    PL/SQL procedure successfully completed.
    SQL> exec p_CreateChild(1,'Child2');
    PL/SQL procedure successfully completed.
    SQL> exec p_CreateChild(2,'Child1');
    PL/SQL procedure successfully completed.
    SQL> exec p_CreateChild(3,'Child1');
    BEGIN p_CreateChild(3,'Child1'); END;
    ERROR at line 1:
    ORA-02291: integrity constraint (TYLERD.DT_TEST_CHILD_FK_MASTER) violated - parent key not found
    ORA-06512: at "TYLERD.P_CREATECHILD", line 8
    ORA-06512: at line 1HTH
    David

  • Insert error in master-detail form

    Probably a stupid question. When I populate the master block of
    a master detail form from an LOV, I am asked to save the form.
    Since the information is loaded from the LOV, there are no
    changes to save. If I answer yes, it gives an Insert error due
    to the primary key violation in the master block table. If I
    answer no, it opens the detail block and gives the correct
    information. The problem is that when I enter information into
    the detail block and try to save it, I get the same error
    message regarding the primary key violation in the master block.
    The form works fine if I do not populate the master block from
    the LOV (or from select statements in triggers). Any suggestions
    will be appreciated.
    LS

    Hi,
    Check for the form or block status.Looks like the status has
    changed.Thats why u r getting the message.If any of the base
    table item has changed then u will get such a message.Try
    working on this an check it out.
    Thanks
    Vinod

  • Insert in master-detail

    Hello all,
    I'm having a problem with an insert in a master detail. Situation is as follows:
    I have a VO based on an entity, VOMaster. This has a ViewLink to another VO based on an entity (1..*), VODetail. In my application, I do a CreateInsert on VOMaster. All works well, I can edit the fields there and I could do a commit if I want to.
    But I don't want to commit just yet. I now want to CreateInsert a row of VODetail. When I do that, I either get nullpointer exceptions because the row isn't actually created (when I uncheck the composition chexbox in the Association between the 2 entities), or I get an InvalidOwnerException (when that checkbox is checked).
    I also tried to not do a CreateInsert but a Create, but then the fields are not editable.
    Can anybody help me?
    Many thanks!

    On a side note: I tried http://radio.weblogs.com/0118231/stories/2003/01/17/whyDoIGetTheInvalidownerexception.html but I get the same errors (InvalidOwner on .createRow())...

Maybe you are looking for

  • Preflight color image resolution warning

    I've designed a book cover in ID CS3 for a client who wants to publish her book with Createspace.com. I've exported the file to pdf per Createspace's speciifcation. When doing a preflight in Acrobat 9, using a profile provided by Createspace, I get a

  • How to use BAPI_ACC_DOCUMENT_POST for CO-PA Account Assignment

    hi all, when i used bapi to posting docment,but for document_type ='DR'(customer invoice), it is related with Profit. Segment. it returned following message in return table: E RW                   609 Error in document: ZBKPF ZY2005 DEVCLNT230 E F5  

  • Blank Screen in Import Manager under Import Status Tab

    Hi Experts, Problem: Blank Screen in Import Manager under Import Status Tab. I have opened import manager with source file(excel & xml) and i have also did mapping from source fields to destination fields and also seleted display/key field in match r

  • IPhone 4 Video Editing In Final Cut Pro

    So i just got an OWLE Bubo for my iPhone 4 and have been taking a lot of video lately that I wanted to start editing. I've figured out that I needed to transcode the H.264 video the iPhone 4 produces to something edit-friendly like ProRes 442. I've d

  • Is it possible to recover an apple i web site

    Is it possible to recover an iweb site that has disappeared in conversion to i cloud?