Create record with 1:N relationship based on condition

Hi SDNers,
Need your suggestions..
The below is the issue:
I have fields with values:
Field_A    I  Field_B
100           I       P
100           I       Q
100           I       R
200           I       X
200           I       Y
200           I       Z
If in Field_A I select the value 100 , for Field_B .. i shud have the option to select only P or Q or R .
Similarly, in Field_A if  I select the value 200 , for Field_B .. i shud have the option to select only X or Y or Z .
I have already tried the below:
1. i have tried it with Nested lookup. The reason it does not work in this case is, we see it as a combination. For ex:
   100;P
   100;Q etc..
2. If i am using Field_A as Non-Qualifier and Field_B as Qualifier and imported the data. So, next time i create a record, selecting    Field_A as 100 , in Field_B .. all the values are displayed.. i.e P,Q,R,X,Y,Z ... whereas we want only P, Q, R to be displayed.
Please suggest.
Thanks,
Priti

Hi,
As per you requirement, it seems like a Field in main table is look up to Flat table which contains Two fields say Field A and Field B both as display fields. Field A has two values 100 and 200 only and Field B has six values P, Q, R, X, Y, Z.
You want whenever you select Field A as 100 then only P, Q, R comes.
I firmly believe that this is not achievable as per MDM capability using Fields. But you can run Validations to cross check that if it is 100 then correspondingly value of Field B should be from P, Q and R only. IIy, for 200 it should be from X, Y and Z.
Alternatively, I can suggest you to go for Taxonomy. Create 2 categories say category name Field100 and Field200.
Field100 category is linked with attribute 100 which has values P, Q and R.
Field200 category is linked with attribute 200 which has values X, Y and Z.
So whenever you select category Field100 associated linked attribute 100 will come and whose values can be populated using P, Q and R only.
lly, when you select category Field200 associated linked attribute 200 will come and can be populated using X,Y and Z only. Whenever for a record in main table you select this category field as Field100 and Field200 correspondingly linked Attribute comes with Predefined set of legal values.
Thanks and Regards,
Mandeep Saini

Similar Messages

  • Error in sharepoint external list while creating record with same id (this id is primary key)

    Hi,
    I have created one external content type in sharepoint designer to insert/update/delete table data.
    This table contains Primary key constraint.
    Then I have added this external content type to Sharepoint out of box List.
    Insert/Update/Delete is working fine. But when I am trying to insert record with the same id which is already exist in table, page crashed and its giving me following error:
    “Violation of PRIMARY KEY constraint 'PK_tbl_Accounts'. Cannot insert duplicate key in object 'dbo.tbl_Accounts'.
    The duplicate key value is (1). The statement has been terminated.”
    So I want to handle this exception. Can we show any popup message to hide this error?
    Thanks & Regards
    Rajni

    Avoid entering of primary from form  if possible.
    if not try to customize the new form with infopath and place your custom logic there.
    http://lightningtools.com/uncategorized/modifying-external-list-forms-with-infopath-2010/
    http://salnikan.wordpress.com/2011/07/26/prevention-of-duplicate-entries-based-on-two-or-more-columns-in-a-sharepoint-list/
    Bala

  • Create record with manual guid / primary key

    Hi All,
    Is this possible to create record in some entity in dynamics crm with set manual id / primary key / guid?
    like this:
    Entity entity = new Entity("new_test");
          entity.Attributes["new_testid"] = new Guid("688008C8-F95D-4158-BAB2-A3F695D7BEEF");
          entity.Attributes["trs_name"] = "AAAAA";
          organizationservice.Create(entity);
    is there any impact if I do that?
    please advise.
    thanks

    I have try it my development server, and it's work
    actually, this question for my requirement that need do integrate between another system to CRM, which the another system has guid as their PK (primary key) and they push their record to CRM using CRM web service and put their PK / guid value as Id in CRM's
    entity that they pushed.
    but, I have consult with microsoft support with this technique and I don't want get trouble in later time, and they said this is not recommended from microsoft, even it work as I said before.
    thanks.

  • dynamic way to create record with pipe delimited

    Hi guys,
    I got one program currently doing this to create record in a flat txt file
    APPEND WA_OUTPUT TO GT_OUTPUT.
    Now, client comes back and says they want pipe delimiter ( | ) between each field of record.
    So I know I can do something like this.
    CONCATENATE WA_OUTPUT-REC1 WA_OUTPUT-REC2 WA_OUTPUT-REC3.....INTO GT_OUTPUT-LINE SEPERATED BY "PIPE".
    The thing is, wa_output structure has like hundreds of field, and I do not want to do a long concatenate syntax.
    Is there anyway to go around this situation?
    Thanks in advance!
    BB

    Ok Alejiandro and Keshav,
    Let me get this straight, sorry in advance if I get it wrong.
    My work area in my program always has the first field populated since it's record type value and it's hard-coded. I would assume that it would be safe to check if lv_string is initial in the DO loop as is in the original code. What do you think?
    In case my work area first  field is blank, I did this below?
    ASSIGN COMPONENT sy-index OF STRUCTURE ls_kna1 TO <lv_field>.
        IF sy-subrc EQ 0.
          " add record to string, if it's the first field don't use separator
          IF <lv_field> IS INITIAL.
            WRITE <lv_field> TO lv_string_field.
            CONCATENATE lv_string '|' INTO lv_string.
          elseIF lv_string IS INITIAL.
            WRITE <lv_field> TO lv_string_field.
            lv_string = lv_string_field.
          elseIF lv_string(1) = '|' and sy-index = 2.
            WRITE <lv_field> TO lv_string_field.
            CONCATENATE lv_string lv_string_field INTO lv_string.
          ELSE.
            WRITE <lv_field> TO lv_string_field.
            CONCATENATE lv_string '|' lv_string_field INTO lv_string.
          ENDIF.
        ELSE.
          " add string to our table and leave the DO-ENDDO-loop for this KNA1 record
          APPEND lv_string TO lt_string.
          EXIT.
        ENDIF.
    I tested it, and it should work if the first field of the record is blank.
    Thanks,
    Edited by: Ben Boman on Aug 12, 2010 1:06 AM
    Edited by: Ben Boman on Aug 12, 2010 1:07 AM

  • I want to update multiple record in database which is based on condition

    hi all,
    I am using Jdev 11.1.2.1.0
    I have one table named(Pay_apply_det) in this table i want to update one column named(Hierarchy) every time and according to change i want to update or i want to maintain my log table named(pay_apply_appr).It based on level wise approval when the lowest person approve the record show on next level but if the second
    level person back it will be show only previous level hierarchy.And when the final approval happen the Posting_tag column of pay_apply_det will be updated too with hierarchy column.
    i have drag pay_apply_det's data control as a table in my .jsf page and add one column approve status in UI .in the approve status i used radio group which return A for approve B for back R for reject through value binding i make it get or set method in it baking bean.
    in backing bean class i have written code
        public void approveMethod(ActionEvent actionEvent) {
            ViewObject v9=new UtilClass().getView("PayApplyDetView1Iterator");
            int h5=0;
            Row rw9= v9.getCurrentRow();
            String x=(String) rw9.getAttribute("RemarkNew1");
            System.out.println(x);
            String z=getR2();
            System.out.println(z);
            if(( z.equals("R") || z.equals("B") )&& x==null)
                FacesMessage fm1 = new FacesMessage("Plz Insert Remark Feild");
                fm1.setSeverity(FacesMessage.SEVERITY_INFO);
                FacesContext context1 = FacesContext.getCurrentInstance();
                context1.addMessage(null, fm1);  
            else{
            ADFContext.getCurrent().getSessionScope().put("Radio",getR2().toString());
            String LogValue=(String)ADFContext.getCurrent().getSessionScope().get("logid");
            ViewObject voH=new UtilClass().getView("PayEmpTaskDeptView1Iterator"); 
            voH.setWhereClause("task_cd='449' and subtask_cd='01' and empcd='"+LogValue+"'");
            voH.executeQuery();
            Row row1= voH.first();
            int h1=(Integer)row1.getAttribute("Hierarchy");
              System.out.println("Login Person Hierarchy on save button press.."+h1);
            ViewObject vo9=new UtilClass().getView("PayApplyDetView1Iterator");
            Row row9= vo9.getCurrentRow();
            if(getR2().equals("A")&& h1!=1)
             row9.setAttribute ("ApprHier",h1);
                row9.setAttribute("IsClaimed","N");
                row9.setAttribute("ClaimedBy",null);
                row9.setAttribute("ClaimedOn", null);
            else if(getR2().equals("B") ) {
                ViewObject voO=new UtilClass().getView("LoHierViewObj1Iterator");
                voO.setNamedWhereClauseParam("QHVO", LogValue);
                Row rowO = voO.first();
               h5=(Integer)rowO.getAttribute("LPrehier");
                System.out.println("Back lower hier..."+h5);
                row9.setAttribute ("ApprHier",h5);
                row9.setAttribute("IsClaimed","N");
                row9.setAttribute("ClaimedBy",null);
                row9.setAttribute("ClaimedOn", null);
              else if((h1==1) &&(getR2().equals("A")) )
                      row9.setAttribute ("PostingTag","Y");
                      row9. setAttribute ("ApprHier", h1);
                        row9.setAttribute("IsClaimed","N");
                        row9.setAttribute("ClaimedBy",null);
                        row9.setAttribute("ClaimedOn", null);
              else if(getR2().equals("R"))
                row9.setAttribute ("ApprHier",-1);
                row9.setAttribute("IsClaimed","N");
                row9.setAttribute("ClaimedBy",null);
                row9.setAttribute("ClaimedOn", null);
            BindingContext BC=BindingContext.getCurrent();
            BindingContainer ac=BC.getCurrentBindingsEntry();
            OperationBinding ob=ac.getOperationBinding("Commit");
            ob.execute();
           vo9.executeQuery();
            FacesMessage fm = new FacesMessage("Your Data Successfully Commited..");
            fm.setSeverity(FacesMessage.SEVERITY_INFO);
            FacesContext context = FacesContext.getCurrentInstance();
            context.addMessage(null, fm);
        }here i put my approve status radio value in session variable because i also want to update my pay_apply_appr table which code i written in pay_apply_det IMPL class.
    Every thing is running well when i update single record but when i want to update multiple record then my current row only updated in pay_apply_det but log table( pay_apply_appr) created for all record.
    so is there any solution plz help me.
    thanks
    RAFAT

    Hi Rafat,
    If you are able to insert into, all you need to do is iterate through the rows. For this , before the first IF condition
    if(getR2().equals("A")&& h1!=1)Get the row count using int numRows =vo9.getRowCount(); , and then write it before the IF condition
    if (int i=0;i<numRows;i++} After
    row9.setAttribute("ClaimedOn", null);
            }write vo9.next(); to iterate to next row,
    Hope this will work.
    Nigel.

  • Calcullating no. of records in an internal table based on condition

    Hi,
    i have several records in an internal table. i need to calculate the number of records which meets a condition. is there any simple logic to find the records which meet the required criteria apart from looping into the internal table.
    your help would be appreciated.
    Thanks,
    kranthi.

    Hi,
    U can use sy-dbcnt after the select querry.
    DBCNT  Number of elements in edited dataset with DB operations
    WRITE: /12 'Number of selected records:', SY-DBCNT CENTERED.
    REPORT ZZZ_TEST1 .
    Tables: mara.
    Types: begin of ty_mara,
           matnr like mara-matnr,
          end of ty_mara.
    DATA: i_mara TYPE STANDARD TABLE OF ty_mara.
    DATA: v_cnt like sy-dbcnt.
    SELECT-OPTIONS: s_matnr FOR MARA-matnr.
    SELECT matnr from mara into table i_mara.
    if sy-subrc = 0.
    v_cnt = sy-dbcnt.
    WRITE: /12 'Number of selected records:', v_cnt CENTERED.
    endif.
    Hope this helps u.
    Thanks & Regards,
    Judith.

  • How to cause a form to reload with a newly created record?

    I hope this is easy and I'm just missing it.
    I have a form based on a table (a "parent" table.). The parent table uses a trigger to generate the PK.
    When a new parent record is created with the form, I want the page to reload with the newly created record still in the form. Then some conditional regions based upon child-tables would appear, with options to populate the detail records.
    My problem is simple: how can I access the value of the primary key of the newly created record once it is submitted to the database, so I can use it to reload that record into the form?
    Thanks very much for your help!

    John - The DML process (Automatic Row Processing) has a Return Key Into Item option. That's what you need.
    Scott

  • Is there a way for the Yosemite maps app to add address to an existing contact (in contacts app) instead of creating new contact record with blank name (not useful)?

    I was using the maps app in yosemite to look up an address, once I was able to verify the address, I wanted to add that address to an existing contact record in the contacts app.  When I clicked on the option to add address to contacts, it unfortunately creates a new record with the address in it, however, the rest of the contact is blank. 
    My question is: is there a way to prompt the user (me), to select whether they want to create a new contact or add it to an existing contact?
    Thanks in advance for your help!
    Regards,
    Peter

    I was using the maps app in yosemite to look up an address, once I was able to verify the address, I wanted to add that address to an existing contact record in the contacts app.  When I clicked on the option to add address to contacts, it unfortunately creates a new record with the address in it, however, the rest of the contact is blank. 
    My question is: is there a way to prompt the user (me), to select whether they want to create a new contact or add it to an existing contact?
    Thanks in advance for your help!
    Regards,
    Peter

  • Create customer master record with reference

    Hello guys,
    I'm trying to create a customer master record with reference using XD01 (existing in the referent company code only) but no data are copied at the general level of the customer (not only the address data but also these contained in KNA1). Is there something I can do in order to get the referent data?
    Thanks

    Only data that does not refer directly to the customer/vendor is copied from the reference account to the new account, that is,no address information, and so on.

  • Create customer master record with reference to existing division

    how to create customer master record with reference to existing division?

    what type of reports sd consultant configure in implementation project?and in supporting project?

  • Create condition record with reference to existing condition record

    how to create condition record with reference to existing condition record?

    Hi,
    See this link :
    http://help.sap.com/saphelp_47x200/helpdata/en/de/7a8534c960a134e10000009b38f83b/frameset.htm
    You can create with reference with Tcode : VK14 (or VK34)
    Or in VK12, you can copy condition records with copy rules.
    Regards,
    Lionel

  • Create Info record with IDOC

    Hi gurus,
    I would like to create info records from external system through IDOC. Can someone help me with this?
    Regards,
    Marina

    Thanks for the fast answer.
    We are trying to make Info record with IDOC INFREC (function module idoc_input_infrec). We create successfully info record, but the problem is that the NETPRICE = 0 and also VALID TO DATE = 31129999 (because no price).
    Please, if you need some more details, let me know.
    Thanks!
    Marina

  • Can it possible to create advancetableRN with eo based vo

    Hi gurus,
    i am trying to create advance tableRN with eo based vo.
    but i got the error.
    plz help me.
    Thanks
    latha
    Edited by: Latha on Dec 30, 2011 2:09 AM

    Hi Sanu,
    Thanks for ur replay.
    when i create advancetableRN with EO based VO i got the below error.
    plz help me its very urgent.
    oracle.apps.fnd.framework.OAException: oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for ManagerCustomTableEO.
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2637)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
    at OA.jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.InstantiationException
    at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1174)
    at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1532)
    at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:236)
    at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1050)
    at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1007)
    at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2701)
    at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2605)
    at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2001)
    at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1857)
    at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1269)
    at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2886)
    at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2521)
    at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2383)
    at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2586)
    at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:1674)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:597)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
    at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
    at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
    at wnsgs.oracle.apps.pa.managerinformation.server.ManagerInformationAMImpl.CustomtablePronoLogic(ManagerInformationAMImpl.java:124)
    at wnsgs.oracle.apps.pa.managerinformation.webui.ManagerDetailsCO.processFormRequest(ManagerDetailsCO.java:46)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
    at OA.jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    java.lang.InstantiationException
    at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1174)
    at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1532)
    at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:236)
    at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1050)
    at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1007)
    at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2701)
    at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2605)
    at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2001)
    at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1857)
    at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1269)
    at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2886)
    at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2521)
    at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2383)
    at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2586)
    at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:1674)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:597)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
    at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
    at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
    at wnsgs.oracle.apps.pa.managerinformation.server.ManagerInformationAMImpl.CustomtablePronoLogic(ManagerInformationAMImpl.java:124)
    at wnsgs.oracle.apps.pa.managerinformation.webui.ManagerDetailsCO.processFormRequest(ManagerDetailsCO.java:46)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
    at OA.jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    thanks
    Latha.

  • How to check/count whether child records with specific type exist?

    Hi
    We need to create a BIP report based on data from Siebel.
    In Siebel we have two entities:
    Entity <Mandate> = Parent Business Componet
    Entity <Attachment> = Child Business Component
    (An attachment has a specific type attribute (e.g. “contract”, “appendix” and lot of others…)
    Relationship between Mandate and Attachments is 1-m.
    We need to create a BIP report which displays all Mandates records which do not have at least two Attachments child records (there must be one attachment child record with type=”contract’ and another with type “appendix”). How can we check in BIP whether these child records with a specific Attachment type exist? And if not, display the Mandate in a list....
    Many thanks
    Alen

    Thanks for your help
    Well I'm not sure about the syatax I have to use in order to filter on the field *<GAMDocumentType>*
    The structure of the xml we use is as follows:
    <ListOfBipJbAmlMandateAttachmentReport>
    <JbAmlMandate>
    <ListOfJbAmlAttachment>
    <JbAmlAttachment>
                   <AccntFileName>DocumentPage_713328</AccntFileName>
                   <GAMDocumentType>*contract</GAMDocumentType>
                   <MandateId>1-4C79B</MandateId>
                   <Status>Active</Status>
    </JbAmlAttachment>
    I tried <?for-each:JbAmlMandate[count(./JbAmlAttachment[GAMDocumentType='contract']) > 1 and count(./Attachment[type='appendix']) > 1]?>
    But this returns nothing.
    Many thanks for your help
    Saggittarius

  • Use case for showing records in report view BAM based on version number

    Hi,
    I have a use case to update records based on version no. Let say I have a table or data object in BAM called 'Notes'. The Notes dataobject has three fields Id, Version, Description. The Notes data is displayed in a BAM report. I need to just display the latest version of the Notes. Say two records with one with Id as '124' and Version '4' and another with Id as '124' and version as '5'. The record related to version 5 should be dispalyed to user. How will I introduce this check in BAM reports for the latest version?
    Thanks
    Edited by: user5108636 on 28/06/2010 16:47

    That you see you're prints only means that your method outta called. The code creates a new row, but never inserts the row into the rowset. Then you call execute query which loses any connection to the new route which is not part of the rowset.
    First action would never to call insertRow(r1) on the view object.
    If you change data this way, only the model layer knows about it, the ui can't know about this (one of the disadvantages of using plsql or this construct you try). You have to tell the view controller to update it's data to. For this you can execute the iterator in the binding layer and/or ppr the container showing your data.
    Then I don't see any complicated plsql called do I question if a programmatic co is necessary.
    Timo

Maybe you are looking for

  • Write to GPIB at a specific time in AO waveform

    I would like to write a command to GPIB (using "GBIP Write.vi") at a specific time in every iteration of buffered analog output. But I have two question: 1. all iterations are generated at once by "AO Start.vi" ,how could I write to GPIB in every ite

  • Database Connections Not Closing

    I'm using iBatis for PostgreSQL database access and frequently have problems with connections not being closed. Here is a copy of my sqlMapConfig file: ============================ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE sqlMapConfig PUBLIC

  • Return delivary....

    Hi all , i can you please help me if we will get the finish material from customer ,as customer not statisfied with quality ,then how you are managing so that Quality inspection has to be carried out ?? what is the SD related flow ...to take material

  • URL and Google windows are missing from the window display. What is going on?

    Running Firefox 18.0 on a MacBookPro recently purchased. The windows are suddenly missing from the Firefox display window.

  • My ipod touch got stolen and i would like to know how to track it from my computer

    tell me how i can track my ipod that just got stolen, it has the ipod finder in it but i dont have another apple device to use to find it. is there a way to do it from my computer