VO Row Issue

Hi,
I have one VO in OAF Page and I am inserting the rows in that VO.
I have set the max number of rows property to 200
There is a checkbox against each row and when I select all rows and try to delete all the rows, 30 rows are not being deleted. I am using following code for this. Can anyone tell me what may be the reason for this....
Row rows[] = dpDetailVO.getFilteredRows("ApplyDefaultChkBox","Y");
int len = rows.length;
for(int i=0; i<len; i++)
System.out.println("Row["+i+"]"+rows.getAttribute(5));
rows[i].remove();
int j = dpDetailVO.getRowCount();
System.out.println("Row Count..."+j);
Thanks
Anoop

Anoop,
I am suggesting something like this.
// Get handle of the VO.
vo = get<VO_NAMe>()
if(vo!=null)
VoRowImpl voRow = vo.first(); //Since query is already executed, no problems
while(voRow!=null)
if(voRow.get<VOAttributeName>!=null && "Y".equals(voRow.get<VOAttributeName>))
voRow.remove();
voRow = vo.next();
I am sure you are clear with the idea now. I would be amazed if it does not work. Please try to see if there is something being overlooked.
Thanks
Sumit

Similar Messages

  • Flex Table Add Row Issue with Dynamic Entry Lists in Visual Composer

    All,
    Your help would be kindly appreciated in resolving an 'Add Row'-issue within a Flex Table that uses Dynamic Entry Lists in Visual Composer. The issue here is as follows :
    When I use a [Local Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=O5hrG2aMxWZ84Mu1211193041]to populate a row field, the initial row and all next rows are emptied upon 'insert row', they loose their selected values and also the entry list values ('pull-down menus') are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    The initial row does [show the entry list values |http://www.postyourimage.com/view_image.php?img_id=2HybmEHAuQYs9cg1211192766]from the Local Dynamic Entry List based on the dynamically assigned input value; upon 'insert row' the entry lists are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    When using a [Global Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=m5p2KYuBb442dTq1211193501]to populate the row fields the Flex-table behaves normally as expected. Unfortunately with a Global Entry List it is not possible to dynamically assign a input value. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=U96V0zENCCyO3gA1211193157].
    Please also see the [issue summary image|http://www.postyourimage.com/view_image.php?img_id=06xti08tIEfely1211195178] I made to visualize the issue.  What I basically would like to know is whether this is a 'known issue' or not, or that it is an issue that can be fixed or whether there is an alternative workaround available ... I'm using Visual Composer 7.0 and the Portal is at SP 13.
    Many thanks,
    Freek

    Hi,
    you should be able to assign a dynamic value with global entry lists as well. If you say @myParam as dynamic value. VC will indicate in red letters, that the field @myParam is unknown. However, it will work, as long as @myParam is known in the form or table where you use the entry list.
    I have never heard of the problem that entry lists are emptied after "insert"-event.
    Kindes Regards,
    Benni

  • Flex Table Add Row Issue with Dynamic Entry Lists

    All,
    Your help would be kindly appreciated in resolving an 'Add Row'-issue within a Flex Table that uses Dynamic Entry Lists in Visual Composer. The issue here is as follows :
    When I use a [Local Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=O5hrG2aMxWZ84Mu1211193041]to populate a row field, the initial row and all next rows are emptied upon 'insert row', they loose their selected values and also the entry list values ('pull-down menus') are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    The initial row does [show the entry list values |http://www.postyourimage.com/view_image.php?img_id=2HybmEHAuQYs9cg1211192766]from the Local Dynamic Entry List based on the dynamically assigned input value; upon 'insert row' the entry lists are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    When using a [Global Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=m5p2KYuBb442dTq1211193501]to populate the row fields the Flex-table behaves normally as expected. Unfortunately with a Global Entry List it is not possible to dynamically assign a input value. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=U96V0zENCCyO3gA1211193157].
    Please also see the [issue summary image|http://www.postyourimage.com/view_image.php?img_id=06xti08tIEfely1211195178] I made to visualize the issue.  What I basically would like to know is whether this is a 'known issue' or not, or that it is an issue that can be fixed or whether there is an alternative workaround available ... I'm using Visual Composer 7.0 and the Portal is at SP 13.
    Many thanks,
    Freek

    Hi,
    you should be able to assign a dynamic value with global entry lists as well. If you say @myParam as dynamic value. VC will indicate in red letters, that the field @myParam is unknown. However, it will work, as long as @myParam is known in the form or table where you use the entry list.
    I have never heard of the problem that entry lists are emptied after "insert"-event.
    Kindes Regards,
    Benni

  • Front Row Issue When iTunes is Running

    On my Mac Mini (which is our media centre), I've noticed some strange behaviour. Namely, if I leave iTunes running and then start Front Row, after a while (up to 24 hours sometimes), Front Row can no longer see the iTunes library. With iTunes shutdown this doesn't happen.....

    I have confirmed that this issue only exists with a library on a network share. Local libraries seem to work fine. I have submitted a bug report to Apple.
    To anyone from Apple who may be reading: this is a huge degradation in capability for those of us who use our Macs as media servers and need the ability to simultaneously use front row locally and share the music library with other computers. I am looking forward to a fix.

  • Front Row issue

    Hi all,
    I currently have an issue with front row video playback.
    When I am playing AVI movies only through frontrow on the left hand side of the screen is a large white flickering bar.
    When I play these same files through VLC it doesn't happen but through Realplayer, QT and more annoyingly Frontrow it does.
    Every other format is fine
    Any suggestions? Thanks in advance

    thejman
    Frontrow uses Quicktime, so if you sole the problem in QT you'll solve the problem.
    avi is a hold all for a wide variety of codecs. What's likely going on here is that QT is having trouble with the particular codec. What might work is to install Perian, which adds a large range of codecs to QT and increases the chances that it will play properly.
    Regards
    TD

  • Reordering of rows - issue with drag and drop of editable columns in table

    JDeveloper: 11.1.1.6.0
    ADF Faces - Drag and Drop for reordering of rows within the same af:table
    I have a requirement for reordering rows in a table using drag and drop. This table is loaded using a list and I am able to programmatically do the reordering of the rows based on the events of drag and drop by manipulating the list. Reordering of rows is working fine if all the columns are read only. For all the input text and input date columns the values are not getting reordered. Anyone has any idea on what the issue may be with reordering of the rows for editable columns/rows (af:inputText and af:inputDate) in af:table. Below is what Iam doing on drop event which is a collection drop target.
    public DnDAction dropCollection(DropEvent dropEvent) {
    try
    Object dropSite = dropEvent.getDropSite();
    Transferable transferable = dropEvent.getTransferable();
    DataFlavor<RowKeySet> rowKeySetFlavor = DataFlavor.getDataFlavor(RowKeySet.class, "rowmove");
    RowKeySet rowKeySet = transferable.getData(rowKeySetFlavor);
    RichTable table = (RichTable) dropEvent.getDragComponent();
    if (rowKeySet != null)
    CollectionModel dragModel = transferable.getData(CollectionModel.class);
    Object dragM = dragModel.getRowData(0);
    Object currKey = rowKeySet.iterator().next();
    dragModel.setRowKey(currKey);
    table.setRowKey(currKey);
    OrderData orderData = (OrderData)this.prodReportTableData.get(Integer.parseInt(currKey.toString()));
    this.prodReportTableData.remove(Integer.parseInt(currKey.toString()));
    this.prodReportTableData.add(Integer.parseInt(dropSite.toString()), orderData);
    OrderData orderDataAdded = this.prodReportTableData.get(Integer.parseInt(dropSite.toString()));
    JSFUtils.addPartialTarget(this.getProdReportTableBinding());
    catch(Exception e)
    e.printStackTrace();
    return DnDAction.MOVE;
    Code snippet from UI:
    <af:table value="#{pageFlowScope.prodReportBackingBean.prodReportTableData}"
    var="row" styleClass="AFStretchWidth" rowBandingInterval="0"
    rows="40" emptyText="No data to display." id="t1"
    partialTriggers=":::cb1" columnStretching="column:c3"
    binding="#{pageFlowScope.prodReportBackingBean.prodReportTableBinding}" summary="PROD TABLE">
    <af:dragSource actions="MOVE" defaultAction="MOVE"
    discriminant="rowmove"
    dragDropEndListener="#{pageFlowScope.prodReportBackingBean.afterDragAndDrop}"/>
    <af:collectionDropTarget dropListener="#{pageFlowScope.prodReportBackingBean.dropCollection}"
    actions="MOVE"
    modelName="rowmove"/>

    Hi,
    not sure its the reason but you have huge bummer in your configuration.
    <af:table value="#{pageFlowScope.prodReportBackingBean.prodReportTableData}"
    var="row" styleClass="AFStretchWidth" rowBandingInterval="0"
    rows="40" emptyText="No data to display." id="t1"
    partialTriggers=":::cb1" columnStretching="column:c3"
    *binding="#{pageFlowScope.prodReportBackingBean.prodReportTableBinding}"* summary="PROD TABLE">
    JSF component bindings should not be to beans in a scope larger than request to avoid stale component instances.
    Frank

  • Financial Reporting Question - Formula row Issue

    Hello,
    I have a financial reporting question and would like to have your inputs in order to achieve what I am trying to do.
    I have a report with two grids – grid 1 & grid 2. And there is a formula row in grid 2 that is “change between the two years” worth of data. The year and period combination is in the page of the grids.
    Formula row (in grid 2) = ((Grid1.[b,6]) - [b,6]) / [b,6]
    The issue is when I change the Page selection in Grid 1 the formula in grid 2 doesn’t get updated values unless and until I make a change in the grid 2 Page selection too. If I don’t make any changes in the page selection in grid 2 it keeps the data (looks like it is still considering the previously retrieved/calculated values) as it is without any update.
    How can I make the formula row in grid 2 dynamic so that it gets updated no matter what combination of page selection I make in either grid 1 or grid 2 or even if I just change something in grid 1 and nothing in grid 2?
    Please let me know your inputs. Any help is appreciated.
    Thanks,
    Krrish
    Edited by: Krrish on Dec 3, 2012 7:45 AM

    Page POV will be specific to the grid.Why can't you try to have the POV at the report level.In the HTML view of the report,the report will give you a Drop Down to select POV for all Grids.Select All Grids option and then set the POV which will be same for both the grids (which you want) and all your formulas will work.

  • Poplist Blank Row issue in OAF on Advanced Search page in TCA

    Hi All,
    i have created Poplist programmatically for various attributes on the Advanced Search Screen  in OCO.
    We are able to search using the values in the poplist.
    When the Page renders, All the poplists have a Blank row in it.
    But as soon as we search using any of them the blank row disappears.
    We want this blank row to remain and not disappear.
    Another issue is that when the clear button is clicked then i am unable to clear the poplists which we created programmatically.
    Please let me know the steps for this if anyone has encountered these issues before.
    Any help would be appreciated.
    Thanks,
    Mayank

    Hi Mayank
    Can you please share your piece of code where you are creating picklist , then we can try.
    Regards
    Shobhit S

  • Keynote + External Projector + Front Row Issue

    When I have a lecture that is being projected with either my InFocus LP130 or in my most recent experience with the projector provided by the Denver Museum of Nature and Science, and I have to control the slide show using my Apple Front Row remote control it will Intermittently jump to the final chart. When I use my LP130 remote, this has never happened. On my most recent lecture at the Denver Museum, this happened three or four times during a 35-chart lecture. On my three previous lectures since my MacBook Pro arrived, it has occurred once or twice.
    My preferred, and most successful approach is to have my MacBook Pro on the Podium where I can physically control the flow from the Computer. Obviously, I can't control this, since I am always doing lectures on someone else's facility and generally have to work within their constraints.
    In the past four years I have been using my Powerbook G4 Aluminum for the lectures and obviously didn't have FrontRow and this issue of intermittent switching to another out of sequence chart, didn't happen.
    I am just wondering if anyone else has identified this issue?

    I use an Infocus LP340 weekly with iBooks and Keyspan Digital Media Remote since KN was released with all versions and have never had this phenomena. I never use the Infocus remote.

  • Front Row issues with MacBook Pro?

    I just bought my MacBook Pro today and transferred all my files from my old Mac via firewire. I run Front Row, and it says "an error has occurred" every time i try and play any playlist OTHER than the playlists of stuff bought from iTunes... any ideas?
    Also --- how do I NOT make it shuffle?
    Thanks!

    ohhhh
    No, actually, I leave my folders somewhere else. That must be why, because my downloads ARE there!
    Another question then...if you guys know...I reinstalled Entourage, and I'm now told that I can't access that identity with this version of Entourage!
    Thanks, you guys are awesome.

  • Report in Excel for large rows - issue

    Developer suite 9iAS with Oracle 9.2.0.4 ,Linux
    While generating in the excel format if the no of records exceeds more than 600 then the report server is not working.
    In Excel format the alignment is not equivalent to HTML or PDF format
    HTML format is primarily for view in the screen, If the user takes printout then it is not having the proper page break as it can not be controlled through programme.
    Record grouping is not possible in excel format.
    Have anybody solved these issues? Please suggest

    hello,
    9.0.4 does not have an excel output format. which output format (HTML, HTMLCSS, DELIMITED, DELIMITEDDATA, ...) are you using to produced the output for excel.
    when you say printout ... what output format does your app send to reports ? what do you mean by "no proper page breaks|" ?
    thanks,
    ph.

  • Left Group style report highlight row issue

    I have a Left group style report that I need rows highlighted for sub-total lines in the report. I have coded it with the following in a fiield after the for each of the report
    <?if@row:PERF_NON_PERF='Sub-Total'?><xsl:attribute name="background-color" xdofo:ctx="incontext">yellow</xsl:attribute><?end if?>It highlights MOST of the row but ends up missing the last few columns. The page setup has been set to landscape to maximize the amount of data being displayed.
    I can send along sample data and rtf file if needed, just seems rather... Weird...
    Any help would be welcome..
    Thank you,
    Tony Miller
    Dallas, TX

    Bump.. Anybody have an idea on how to have highlight for entire row of a landscape based report?
    Thank you,
    Tony Miller
    Dallas, TX

  • Combobox Filter Rows Issue

    HI All
       When using the  combobox Filtered Rows functionality to pick a subset of rows from a source of data and to place the subset of data into a destination cell range, upon making the second data selection, i.e., first selection uses 01.2010 and grabs 5 rows, the second time, when selecting 02.2010, that has 10 rows of associated data, the destination range appears to still have data from the selection in the target range left in it.  Is there some prerequisite to cleaning out the target range between selections?

    Replicated your situation: works here.
    Are you sure you have the options "Clear Destination when no selected item" and "Data Change and Interaction" on the main sheet checked/selected?

  • Formula/Row Issue

    Hi,
    I am currently writting a report in Business Objects (Web Intelligence Document) to reflect Incentives gained by our call centre staff. I have written the report and all the data is correct and it gives me the info i need, however for cosmetics reasons and easy view for managers i need the report to line the row correctly.
    For Example:
    A customer calls and wants to add legal cover and personal accident cover to their policy mid-term - Holly Daniels (a member of our staff) will do that change for the customer which means she gains 10% of the costing of each product sold..these changes are classed as two events but it is actually only one change. Which means Holly's name appears twice on two different rows and in the legal cover column it says £2.50 in the cell and on a separate row under the personal accident column she has £1.50 in that cell, however the question is, i need both of these showing on one row rather than two with Holly's name only appearing once.
    This will work in excel as the formula only represents one cell, however in the Web Intelligence Document one formula represents the whole column.
    Is there a formula for this or any advice would be much appreciated.
    Thanks very much
    Kelly

    As Per My below example to read the example properley please click edit above, this will help you understand my situation a bit more as my example is more clear.
    Example:
    Date             Policy Number   Customer Name   Legal Cover   Personal Accident   Breakdown Cover   Gadget Cover  Incentive Total
    21/10/2008   210000088          Holly Daniels                           £1.50
    21/10/2008   210000088          Holly Daniels       £2.50
    So the date and the policy number are exactly the same and the events were put in place at exactly the same time in one change, however i need a way of differentiating the two events so that the £2.50 value moves up to the first row and the second row disappears as it's only one change in affect.
    Thanks very much for any help!
    Kelly

  • DISPLAY AND DELETE ROW ISSUE

    Moderator message: please do not post subject in all capitals
    Dear friends
    i have created report for transfering data from one database table to another database table i.e. detail table.
    after executing Master data list will appear and after clicking on master data record it shows detail data with edit fields where i can enter my own data and after clicking save button i can pass that data to database table and at the same time data goes in display mode. I want that enterd data not to delete bye delete row button please tell me how can i avoid deletion of data.
    Thanks
    regards
    Rohan
    Edited by: Matt on Jan 19, 2009 1:51 PM

    Hi ,
    You csn hide the Delete button so that it will not delete the line...
    Please have a look at this example ...BCALV_EDIT_05. You need to append exclude table and pass in the set_table_for_first_display method like below...
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_delete_row.
      append ls_exclude to t_exclude.
    call method g_grid->set_table_for_first_display
           exporting is_layout             = gs_layout
                     it_toolbar_excluding  = lt_exclude
           changing  it_fieldcatalog       = gt_fieldcat
                     it_outtab             = gt_outtab[].
    hope this helps you,.
    Raj

Maybe you are looking for