How to remove a line of view object

Hello

I have a table whose data are populated according to the view... and for each line object, I have an icon to the trash...

When I press this icon to the Recycle Bin I want to remove that particular line of the object view only... but not data

basis of... Please help me in this issue

Thank you

Hello

According to priya krishna says that you can remove.

-1st thing let me know vo is eo based. ???.

If not here is the sample code to delete a line, not the database. :

' Public Sub Deleterow (pageContext OAPageContext, OAWebBean webBean, String prjid)
{
int idtodelete;
int fetchedrowcount;
Number prjojectid;
RowSetIterator deleteIter;
prjidtodelete = Integer.parseInt (prjid);
OADBTransaction tr = getOADBTransaction();
Line ProjectsVORowImpl = null;
ProjectsVOImpl vo = getProjectsVO1();
fetchedrowcount = VO. GetRowCount();
deleteIter = vo.createRowSetIterator ("deleteIter");
deleteIter.setRangeStart (0);
deleteIter.setRangeSize (fetchedrowcount);
for (int i = 0; i)<>
{
line = (ProjectsVORowImpl) deleteIter.getRowAtRangeIndex (i);
prjojectid = (Number) row. GetAttribute ("ProjectId");
If (prjojectid.compareTo (prjidtodelete) == 0)
{
Row.Remove ();
break;
}
}
deleteIter.closeRowSetIterator ();
}

Concerning
Meher Irk

Published by: Meher Irk November 2, 2010 12:42 AM

Tags: Oracle Applications

Similar Questions

  • How to remove a line in a PDF document?

    How to remove a line in a PDF so it's not an empty space left after that I have remove the text in the line I want to delete?

    Basically you don't have. PDF is not a file format of spreadsheet or word processing (see ISO 32000 for a description of this PDF "is").

    After enjoying a few eve readings long winter of the ISO standard, you will come to realize this PDF is no 'tables', the 'lines', the 'columns '...

    Content objects are "painted" on page PDF "canvas" - kinda sorta a paint-by-numbers thing.

    That said you can use content redaction Acrobat Pro for slick tool. Maybe not as elegant as you want, but if done correctly the content is gone (for sure, absolutely, forever).

    Be well...

  • How to remove a program compatibility view

    How to remove a program compatibility view.  Google is automatically addd to compatibility view.  I need to remove google.com to display correctly.

    Hello

    Go to IE > Tools (or Alt + t) > compatibility view settings and remove Google from the list.

    If Google is automatically added to the list, go to Internet Options > advanced and uncheck the box 'Automatically recover errors layout with compatibility view.'

    Don

  • How to remove a line empty in a table

    How to remove a line empty in a table?
    This is how to remove only a line including all columns as null values...
    Please help me

    Sounds strange, but you can use COALESCE to achieve this.

    ME_XE?create table all_nullz (col1 number, col2 number, col3 number);
    
    Table created.
    
    Elapsed: 00:00:00.20ME_XE?ME_XE?insert into all_nullz values (1,2,3);
    
    1 row created.
    
    Elapsed: 00:00:00.12ME_XE?insert into all_nullz values (null, null, null);
    
    1 row created.
    
    Elapsed: 00:00:00.06ME_XE?ME_XE?delete from all_nullz where coalesce(col1,col2,col3) is null;
    
    1 row deleted.
    
    Elapsed: 00:00:00.26ME_XE?
    
  • How to remove white space from an object?

    I made an object by using one of the brushes of whimsy. The now permanent object of whitespace on few important color that I've put on the object. How to remove the spaces? Thank youbling_test.png

    Select the path and set the 'fill' to 'none '. Several ways to do so. We have to go the the "color control panel', click on the 'fill' (at the top left square) to make active, and then click icon"without color"(it's the square with a red line through it).

  • How to remove empty lines of string?

    I have a string like:

    "

    Error

    "

    And I Don t get to compare it with the string "Error".

    How to remove these blank lines?

    Thank you!

    There is a function called Trim programming spaces > String > Trim spaces.

    Check if it works for you.

  • New line of view object does not receive committed to DB

    Hi guys,.

    I have a form to enter a new record on a view object entity based on a taskflow with a new transaction.

    Before the page is called I call the CreateInsert operation to create the new record on this view object.

    There is a certain attributes with default values that I determine in the create ViewRowImpl, method (using populateAttributeAsChanged to set the values).

    Now, if none of the inputValues in the form is filled manually and I want to record the data (the default values are sufficient to back up the folder) return taskflow commit action does not commit data from the db. As soon as I manually enter a value in any field the same return valid action recording correctly in the db. There is no error message and the new record is visible in the application because it is inserted in the iterator to view...

    Is there a way to mark the new line as changed / insert if only the default values are filled? Or I do something wrong?

    With the help of JDev 11.1.1.5

    Achim

    Add the following method in your class RowImpl:

    {} public void setNewRowState (byte b)
         If (b! = Row.STATUS_INITIALIZED |)
             getNewRowState()! = Row.STATUS_NEW) {}
             super.setNewRowState (b);
         }
    }
  • How to remove these lines

    Hello muse, I implemented and made a basic website but I still these two black lines left and right, I have no margin without padding Center just horrizonally, 1 column boh design and preview show these lines.

    1. What are they

    2. How can I remove them

    how do i.jpg

    Just remove the lines around your page. You can find the command in the upper command band.

  • How to remove unused lines

    Hello

    I developed a master details Page, at the level of the line I always used to display 10 lines. I used to assign the foreign key values when you save it and it works fine.

    My problem is how to remove the unused lines, save empty in the database lines, please help it's UAT edition.

    Hello

    Public Sub removeUnusedLines()
    {
    Pervert XXEGASRLinesVOImpl = getXXEGASRLinesVO1();
    XXEGASRHeadersVOImpl pervo1 = getXXEGASRHeadersVO1();
    Rank rank [] = pervo.getAllRowsInRange ();
    Rank row1 [] = pervo1.getAllRowsInRange ();
    XXEGASRHeadersVORowImpl = (XXEGASRHeadersVORowImpl) row1 rowh [0];
    for (int i = 0; i)<>
    {
    Rowi rank (XXEGASRLinesVORowImpl)= XXEGASRLinesVORowImpl;
    If ((Rowi.getItemDescription ()! = null) &!("".)) Equals (Rowi.getItemDescription (). Trim()))
    & (rowi.getDimLength ()! = null)
    & (rowi.getDimHeight ()! = null)
    & (rowi.getDimWidth ()! = null)
    & Rowi.getWeight ()! = null
    & (rowi.getItemNumber ()! = null & (!("".)) Equals (Rowi.getItemNumber (). Trim()))
    & (rowi.getProjectName ()! = null & (!("".)) Equals (Rowi.getProjectName (). Trim()))
    & (rowi.getTaskName ()! = null & (!("".)) Equals (Rowi.getTaskName (). Trim()))
    Rowi.Remove ();
    }

    }

    This code number is checked for single value null to a string are checked for both null and string with spaces like "", if it please take care of this in your code, otherwise the code does not work as expected. "

    Hope this will help.

    Kind regards
    Out Sharma

  • How to remove the line in the section when printing

    I've found anywhere how to remove a blue line around section when printing to PDF. I change the color of it (#ffffff) in Portalcontent.css in. SectionTable, but when I try to print the dashboard I blue line around section. Please help me how to solve this problem.

    Thank you

    Published by: Ivana2 on December 16, 2008 04:35

    Edit this file: OracleBI\web\app\res\s_oracle10\b_mozilla_4\pdfstyle.fst

    And I guess you have to change the border width to "0" or the border color to "#FFFFFF" in this line:

    Kind regards
    Stijn

  • How to remove a line in the database

    Hello

    I want to remove a line in the database... I used the (drag and drop the data control), delete operation when I push the button in the page it removes just in the session not on the database,

    This means that when I reload the session or I check line in the database, that I always find...

    I use jdeveloper 12.1.3.0.0 and business components.

    You must press the validate after the delete operation (from data controls drag / move validation operation).

    If you want to run Remove and validate the operation in a single action, in your page, you can add the button and in the action of the button write this code:

      public String DeleteAction()
      {
        OperationBinding operationBinding = BindingContext.getCurrent().getCurrentBindingsEntry().getOperationBinding("Delete");
        operationBinding.execute();
    
        operationBinding = BindingContext.getCurrent().getCurrentBindingsEntry().getOperationBinding("Commit");
        operationBinding.execute();
    
        return null;
      }
    

    Make sure that the "Delete" operation point to the desired pageDef VO. and don't forget that "Commit" operation existence in pageDef.

  • How to remove children lines with removal of multi line?

    Hello!

    I have a DSM process that removes the selected lines of the report, but it gives an error if the line have a child row in another table, so I have to go to this report and remove these first.

    Just add somewhere in the DSM process something then it removes children lines too, or I have to create new process for this?

    Hi EgaSega,

    DELETE will work if there is no foreign key constraints that refer to the line to remove.

    If you don't have foreign key constraints, you can change them to 'ON DELETE CASCADE '. This way, if you DELETE a row in a parent table, all child rows will be auotmatically DELETED, too.

    There are also "ON DELETE SET NULL', which allows you to DELETE the parent rows with children. When you DELETE a parent, child rows are not automatically DELETED, but the columns that pointed to the DELETED parent are automatically changed to null.

    Check out this old thread of discussion forum SQL and PL/SQL for more details:Delete record based on the ID of the main table

    Hope this helps you,

    Kind regards

    Jitendra

  • How to remove a line empty without validation error in ADF Table (EMP)

    Hello world

    I use the EMP Table in page jspx ADF to insert data into database.when, I insert a line in the table by createInsert operation, it the insertion of the line. But I need to remove that line immediately with enter them any value.

    But it displays a validation to empno error. Y at - it means to remove the empty line? If not, what are the reasons that we cannot remove the line.

    could someone tell me why!

    Thanks in advance!


    Kind regards
    Amar

    Published by: 973755 on December 11, 2012 06:42

    Amar,

    I'm a bit confused with your logic here...

    But if you try to delete the row by clicking the button Delete you can set the immediate property to true, this function of deletion will take place without performing any validation of the entity...

    R

  • How to remove a line duplicate a table

    Hello

    I have two lines in a table of data same as duplicate. I want to remove a line from that.

    When I try, it was remove the two lines of the same data.

    Thank you

    Remove the table table_name
    where (rowid, column_name)
    not in
    (select min (rowid), column_name column_name PGE group)

    ex:

    Delete from emp
    Where (ROWID, empno)
    not in
    (select min (rowid), empno from emp by empno group)

  • How to remove a mesh of an object

    OK, a fundamental question.

    If I have an object, I did an application object > envelope distort > make a net, how can I remove this mesh and leave just the revised form?

    It's OK, it worked.  It is object > envelope distort > expand.

Maybe you are looking for