Multiple row update; CEV business rule parameters are not refreshed

During a multiple row update, a business rule is fired for each row.
This change event business rule must update the value of another column in the same table (and same row).
Unfortunately, the parameters of the BR are keeping the values of the first row that has been checked. Since my parameter p_id always keeps the same value, I always update the same row.
Does somebody have a hint on how to solve this problem ?
I'm using Headstart R6i and Forms6i with Oracle9i DB.
Thanks in advance for your help,
Denis.

I think that's how it works. I tried that with a variable where type is Members.
It is not showing me a prompt when i select multiple rows. However works only for first row. (even if the menu is initiated from second row).
Multiple rows selected, variable type is members. works only for first row in selection. (in 11.1.2.2) You can try log an SR and see what Oracle has to say.
Regards
Celvin
http://www.orahyplabs.com

Similar Messages

  • Business rule XML facts not visible soa  11.1.1.6.0

    Hello experts,
    Here comes the description of steps:
    When dragging a business rule with input and output facts defined(xsd:complexType), in bpel 2 process, in the edit rule dialog box:
    click on either of the assign input & output tabs to add a copy rule,
    in the decision fact map dialog box:
    the type is business rules facts in the drop down menu.
    Here the business rules variables are not shown.
    Having read the following older posts:
    Empty Business Rule Facts while assigning input/output facts
    SOA Jdev app - Bpel Business Rule - Assign Input Facts issue
    still, I do not see any solution or workaround offered.
    Any helping hand?
    TIA!
    Edited by: NickAiva on Oct 13, 2012 10:41 AM
    Edited by: NickAiva on Oct 15, 2012 3:16 PM

    Hi SK,
    I think, you have permissions issue. May be you are not able to write to C:\JDeveloper\mywork\MarkViewSerialApprovalApplication\MarkViewSerialApproval\oracle\rules
    Regards
    Borys

  • CEV business rule only uses first set of parameters in multiple inserts

    We have a cev rule that logs data for emails when a record is inserted in a table.
    Where there are two records inserted from a script, even where a qms_transaction_mgt.open_transaction and close transaction are used around each insert, the CEV record parameters do not change.
    By this I mean we have two records:
    1 - id: 22
    2 - id: 23
    We pass the id to the CEV business rule and dbms_output the parameter value - it indicates that for both records the p_id = 22.
    The insert into the table indicates that the record ids were 22 and 23.
    This appears to have been reported several times but there is no solution.

    I would set it lower than 20 minutes as that is quite high before it sends the rules into the background, if the spawning at 10 minutes try setting it just lower than 10 as a test.
    It may also be worth looking into the apache timeout (if you are using the apache web server plugin) as that could also be playing a part.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Multiple row update of a table from another one

    Im trying to make a multiple row update with date from a different table, but it's giving me an error.
    update inv.mtl_system_items_b
    set attribute1 = t2.description,
        last_update_date = SYSDATE,
        last_updated_by = 3606
    from inv.mtl_system_items_b t2
         inner join TMP.TMP_INACTIVAR_PRODUCTOS t1
         on t2.segment2 = t1.inventory_item_id;Edited by: user8986013 on 21-may-2010 14:15

    Hi,
    Whenever you have a question involving an error message, post the complete error message, including line number. Don't you think that might help people solve your problem?
    Whneve you have any question, post a little sample data (CREATE TABLE and INSERT statements) and the results you want from that data. (In the case of a DM<L statement, like UPDATE, the INSERT statements show the tables before the change, and the results are the contents of the changed table after it.)
    Review the syntax of the UPDATE statement in the SQL Language manual:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_10008.htm#sthref9598
    MERGE may be more efficient and easier to use than UPDATE.

  • Multiple Rows Update / Refresh Toplink Query when database trigger involved

    Hi everybody!
    I have two easy troubles for you; the platform is the same as the SRDemo Toplink version.
    1.     Multiple Rows Update: I want to update with mergeEntity method, multiple rows for an isolated table; that method receives a parameter that I try to bind with the iterator "dataProvider" but it only merges the first row, not all, any other combination returns an error.
    What I want to do is to have a form (like tabular forms in Apex) that lets me update multiple rows in a single page. ¿May anyone tell me how to do it?
    2.     Refresh Toplink Named Query: I have a list on a page with two columns. From another page, a button does an action that fires a database trigger that updates one of the columns on the list´s page. When I go back to the list, it is not updated; however, the CacheResults´s property is set to false on the iterator.
    Thanks in advance,
    Alejandro T

    I didn't use it (yet), but - you might take a look. You'll find a [url http://www.oracle.com/technetwork/developer-tools/apex/application-express/apex-plug-ins-182042.html]Timer plug-in on this page. It is a dynamic action which allows you to periodically fire other dynamic actions in the browser. For example use the timer to refresh a region every five minutes. You can perform any dynamic action you want using this infrastructure.So I was thinking: you might use it to run a dynamic action which would check whether something changed in that table (I suppose you'll know the way) (for example, a database trigger might set a flag in some table, timestamp or similar), and - if you find that something really changed - refresh the page.
    As I said, I never used it so that's pure theory. Someone else might know better, though.

  • Multiple Rows Update

    Hi,
    I am creating a form which will display the multiple rows from the table. Is there any way to make multiple rows update at the same time.
    If it is report generated by the query, can we do multiple rows update.
    Regards,
    Munish

    Munish,
    Sounds like what you’re looking for is a tabular form. Click on create page, then choose form, then tabular form and follow the steps of the wizard. This will create a tabular form for you that lets you update multiple rows, add new rows and delete multiple rows.
    Regards,
    Marc

  • Multiple Row Update in a Table

    Hi,
    How do I do a multiple row update in a single table in Oracle? I was thinking of something that is similar to the insert example below:
    Insert into SOME_TABLE (COL1, COL2) (select COL1, COL2 from ANOTHER_TABLE);
    ...wherein I don't have to write multiple lines of update statement.
    Thanks.

    Hi Mike,
    Thanks for replying. I was actually looking for a multiple row update using a single update statement. The only reason I provided an Insert statement example is to show the idea. I did some test and I was able to figure it out. I thought it was something complicated but I just had to retrieve the new values from another table and equate the primary key and foreign keys of the two tables.

  • SSRS,MDX- Passed parameters are not hitting the main query in Dataset

    I have created a SSRS report which has to accept two parameters i.e., store name, Date(to show sales on particular date) in report. which are working fine for me. but, those passed parameters are not hitting the main query in main Dataset. what ever i
    pass in parameters, it is displaying all the rows(every city values). i think i am not correct in creating the statement in  Main dataset query, to receive those 2 parameters into the main query. can anybody please help me how to create the statement
    in main date set to display the results for the exact parameter i am passing(which has to be in MDX).
    ram

    Hi ramprasad74,
    According to your description, you want to use parameter in the report, then after parameter values are selected, corresponding data will be displayed in the report. But the parameters do not work and all the rows are displayed.
    To pass parameter to main report dataset, we need to define parameter for MDX query and assign parameter name same as SSRS report parameter. For detail information, please refer to the following steps:
    Create a Dataset to retrieve data for Store name parameter.
    Create Store name parameter, type name and prompt, set Date type to Text, check Allow multiple values check box, then select get values from the dataset.
    Create a Dataset for Date parameter.
    Create Date parameter, type name and prompt, set Date type to Date/Time, then select get values from the dataset.
    Create a new dataset used to retrieve data for the report, add statement like below to the mdx query: {STRTOMEMBER(@Date)} * {STRTOSET (@Store_name)}.
    In Query Designer pane, click Query Parameters and assign parameter name same as SSRS report parameter.
    For more information about SSRS Report with Single and Multi Selection Parameter using MDX Query, please refer to the following blog:
    http://www.codeproject.com/Articles/799265/SSRS-Report-with-Single-and-Multi-Selection-Parame
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • Some parameters are not shown in parameter dialog

    Hello,
    I created a VB.NET program using VS2005 sample.
    When the program refers to CR10's DLLs (VS2005 bundle),
    it prompts all parameters correctly.
    But when the program refers to CR12's DLLs, some parameters are not prompted.
    I installed merge module 12.2.
    I also checked CR11 (merge module 11.5) and  found the result is equal to CS12.
    Thank you

    Sorry. I don't understand. Perhaps creating a phone case will be the better way to go(?). Phone cases can be obtained here;
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    Ludek

  • My iphone 4 after update says that the accessories are not compatible. what should I do today makes iphone two weeks?

    my iphone 4 after update says that the accessories are not compatible. what should I do today makes iphone two weeks?

    Your post doesn't make sense in English.  Please post in your native language.

  • Scheduling parameters are not defined for production orders

    Hi All,
             when i convert the planned order to production order  i got this massage popup coming  Scheduling parameters are not defined for production orders . please let me know this .

    Hi,
    One of major customization steps for the order type is missing. Run OPU3 and maintain settings for the order type you are using. You may copy settings from an older type.
    Regards.

  • RFC Function Module - Message Reference parameters are not allowed with RFC

    Hi,
    I’ve checked the Remote-Enabled Module radio button, declared Import and Export parameters using ‘Type’ typing and checked the ‘Pass Value’ in export and import parameters but I still receive message ‘Reference parameters are not allowed with RFC’ and not able to activate the function module.
    Am I missing something?
    Regards,
    ...Naddy

    Hi all,
                   I faced the same problem and solved it ,
    You have defined a reference parameter for a remotely called
      function module. However, only value parameters are allowed
      for this type of module.
      Procedure
      Change the reference parameter to a value parameter.
    Guys  pls .don't leave the thread un-asnwered when you solved problem , post the solution it might be useful for others also.
    Regards
    Krishna Acharya

  • Parameters are not Passed in a Struts(JPDK) Portlet

    Dear All,
    I am getting below problem in Oracle Portal Environment(10.1.2)
    I am passing news_id parameter along with title from one page to another page like below code
    In CompanyNewsShowPage.jsp
    <tr>
    <td class="desc">
    <%
    page_url ="/showpageNews.do?news_id="+com_events[0];
    // System.out.println("value of page url : "+ page_url);
    %>
    <input type="hidden" value="<%=page_url%>" id="hdnpageurl"/>
    <pdk-html:link page="<%=page_url%>" styleClass="desc">
    <%
    String obj_title= com_events[1];
    if((obj_title.length())>30)
    out.println(obj_title= obj_title.substring(0,15)+ "...");
    else
    out.println(com_events[1]);
    %>
    </pdk-html:link>
    </td>
    TO passing
    shownews.jsp
    The code for accepting parameter is below
    <%
    System.out.println("value of newsid :"+ newsid);
    String news_id=request.getParameter("news_id");
    if(news_id !=null)
    newsid= Integer.parseInt(news_id);
    System.out.println("value of newsid :"+ newsid);
    %>
    Kindly any one help me how to pass the parameter from one page to another page above problem, because our go live date is very close.
    But same code it is works in IE browser, but not working after deployed in Oracle Portal Environment.
    However, the
    parameters are not passed from the form to the Struts action. When retrieving the parameters, then
    a null value is retrieved, even when the parameter was specified in the form.
    Regards,
    Chandrashekhara
    Message was edited by:
    user487286
    Message was edited by:
    user487286

    Hi Anton,
    I make some tests and it appeared that it's only the output parameter which is not passed through the step (why ?).
    I get this output parameter by a post-running action which parse the joblog and retrieve the sequence number at the line with the pattern  "vendor" (hereunder) :
    100601 20091008 00 516 Job started  0       
    100601 20091008 00 550 Step 001 started (program ZCO_MANAGE_FILE, variant ECLO2, user ID ABAPUSER)  0 001 ZCO_MANAGE_FILE ECLO2 ABAPUSER   
    100601 20091008 00 001 No vendor specified  0 00233      
    100602 20091008 00 517 Job finished  0
    Here is the postrunning action script wich was working before we upgrade :
      JobFile log = jcsJob.getJobFileByName("log");
      if (log != null)
        com.redwood.scheduler.api.search.SearchResultSet myResultSet = log.search("No vendor specified");
        com.redwood.scheduler.api.search.SearchResult myResult = null;
        while (myResultSet.next())
          myResult = myResultSet.getSearchResult();
          String [] line = myResult.getLineText().split(" ");
          JobParameter jp = jcsJob.getJobParameterByName("VendorCode");
          if (jp != null)
            jp.setOutValueString(line[line.length-1]);

  • Exits with parameters are not displaying in CO Substitution

    Hi there...
    I am having this problem...I´ve created a CO substitution following all the steps involved, works fine when I define the parameter:
      exits-param = c_exit_param_none in form GET_EXIT_TITLES
    The transaction code OKC9 displays the exit with the field:
    parameters = "No change"
    but when I changed the parameters in my exit for use parameters:
    exits-param = c_exit_param_field
    After the activating and generating with RGUGBR00, the exit doesn´t display in exits availables in OKC9 in fact all the exits with using parameters are not displaying in OKC9.
    What am I doing wrong here?
    Thanks in advance!!!
    Alfredo
    Amber

    Calibrate your monitor.

  • The MRP parameters are not maintained in plant JK01

    Good morning,
    t-code : md04 (stock req.list) but got an error.
    MRP parameters for plant 'JK01' have not been maintained
    Message no. 61273
    Diagnosis
    The MRP parameters are not maintained in plant JK01.
    Procedure
    Maintain MRP parameters in Customizing.
    how to maintained mrp parameter fro plant JK01 ?
    Thank you.

    Hi Robert,
    First maintain the plant parameter using  tcode OMI8 for the plant JK01.
    this will solve ur issue.
    hope it wud have answered ur question
    reward if useful
    shawn

Maybe you are looking for