clear the table in the OPS

Hello

I have a search page where the data is displayed in a table based on the search button. How to erase the data displayed in the table when you press a key "clear"?

I used

VO. Reset();
vo.clearCache ();

but they did not work.

Thank you
PK

Hello

Define where the clause of your VO as 1 = 2 and then run query on VO, table fade as a query with where clause as 1 = 2 can never pick a data.

Kind regards
Out Sharma

Tags: Oracle Applications

Similar Questions

  • How to clear the table dhcp clients

    Does anyone know how to clear the Table of Clients DHCP?

    I have a WRV54G.

    Concerning

    I understand this is a very old post, but since I found it when I was looking for the same answer in 2009, I thought go ahead and give my $.02 worth.

    I have a different router, so it may not be present in your.

    I use a version of the firmware WRT54GLwith 4.30.7 and finally found on the status under "Local network" page a link to the DHCP table. You can click on that and delete existing IP addresses.

  • How to clear a single block of the current page in the OPS

    Hi all

    How to erase a single block of the current page in the OPS. I used the CLEAR key.


    Thank you

    Hello

    I found the solution I wrote it in the button DELETE. I wrote the remove with vo1.setMaxFetchSize method (1);

    and remove called AOS

    Thank you

  • Need help | How to clear the filter of af values: table on table linen

    Hello

    JDeveloper version 11.1.1.7

    I have af:table inside a taskflow to which has been added to several pages as a region.

    The problem I'm facing is if I enter any value in current input for the data in the column filtering and if I navigate to another page that has even added taskflow as a region filter values is still visible.

    How can I clear the values entered in the input of the filter text.

    code fragment:

    < af:table value = "#{bindings." BulletinDataVO21.collectionModel}.

    Binding = "#{pageFlowScope.bulletinArchieveBean.bulletinTable} '"

    var = "row".

    lines = ' #{bindings. " BulletinDataVO21.rangeSize}.

    emptyText = "#{bindings." BulletinDataVO21.viewable? "{customtaskflowsBundle ['table.no.data.to.display']: customtaskflowsBundle ['table.access.denied']}."

    fetchSize = "#{bindings." BulletinDataVO21.rangeSize}.

    filterModel = "#{bindings." BulletinDataVO21Query.queryDescriptor}.

    queryListener = "#{pageFlowScope.bulletinArchieveBean.onQuery} '"

    filterVisible = "true" varStatus = "vs."

    rowBandingInterval = "0" id = "t1".

    styleClass = "datatable_inside_wrapper."

    autoHeightRows = "25" width = "700" >

    the queryListener at the bean code:

    {} public void onQuery (QueryEvent queryEvent)

    QPF FilterableQueryDescriptor =

    (FilterableQueryDescriptor) queryEvent.getDescriptor ();

    Map map < String, Object > = fqd.getFilterCriteria ();

    If (log.isDebugEnabled ()) {}

    {for (String key: {map.keySet ())}

    log. Debug ("touch of filter criteria:" + key + ", value:" +)

    Map.get('zoom') (Key));

    }

    }

    final String publishingFromKey = "Publishingfromdate";

    final String publishingToKey = "Publishingtodate";

    Object publishingFrom = map.get('zoom') (publishingFromKey);

    Object publicationdans = map.get('zoom') (publishingToKey);

    String titleValue = (String) map.get('zoom') ("Value");

    If (StringUtils.isNotEmpty (titleValue)) {}

    Map.put ("Value", "%" + titleValue + '%');

    }

    String targetDepts = (String) map.get('zoom') ("Targetdepts");

    If (StringUtils.isNotEmpty (targetDepts)) {}

    Map.put ("Targetdepts", '%' + targetDepts + '%');

    }

    Category String = (String) map.get('zoom') ("Category");

    If (StringUtils.isNotEmpty (category)) {}

    Map.put ("Category", "%" + category + '%');

    }

    DCBindingContainer links =

    (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    OperationBinding = setPublishingFromDateStartOperationBinding

    bindings.getOperationBinding ("setPublishingFromDateStart");

    OperationBinding = setPublishingToDateEndOperationBinding

    bindings.getOperationBinding ("setPublishingToDateEnd");

    setPublishingFromDateStartOperationBinding.getParamsMap () .put ("value",

    publishingFrom);

    setPublishingToDateEndOperationBinding.getParamsMap () .put ("value",

    Publicationdans);

    Map.Remove (publishingFromKey);

    Map.Remove (publishingToKey);

    setPublishingFromDateStartOperationBinding.execute ();

    setPublishingToDateEndOperationBinding.execute ();

    DcIteratorBinding = DCIteratorBinding

    bindings.findIteratorBinding ("BulletinDataVO2Iterator");

    ViewObjectImpl = bulletinVO

    (ViewObjectImpl) dcIteratorBinding.getViewObject ();

    final String publishingFromCriteria = "QueryByPublishingFromDate";

    final String publishingToCriteria = "QueryByPublishingToDate";

    If (publishingFrom! = null) {}

    bulletinVO.setApplyViewCriteriaName (publishingFromCriteria, true);

    } else {}

    bulletinVO.removeApplyViewCriteriaName (publishingFromCriteria);

    }

    If (publicationdans! = null) {}

    bulletinVO.setApplyViewCriteriaName (publishingToCriteria, true);

    } else {}

    bulletinVO.removeApplyViewCriteriaName (publishingToCriteria);

    }

    JSFUtils.invokeMethodExpression ("#{bindings.") BulletinDataVO21Query.processQuery} «»

    Object.Class, QueryEvent.class,

    queryEvent);

    Map.put ("Value", titleValue);

    Map.put ("Targetdepts", targetDepts);

    Map.put ("Category", category);

    Map.put (publishingFromKey, publishingFrom);

    Map.put (publishingToKey, publicationdans);

    }

    Please let me know we can clear the values entered in input boxes of text for filtering on whenever the load table.

    Thank you

    Madhukar

    Hi all

    I could solve the problem.

    Clear the fault and implicit criteria VO display!

    Here's the code to do the same.

    Hope it will be useful for others as well, also let me know if this can be done in the best way.

    Bean code:

    DCBindingContainer links =

    (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    DCIteratorBinding data binding =.

    bindings.findIteratorBinding ("TestDataView1Iterator");

    If (dataBinding! = null) {}

    ViewObjectImpl = testDataVO

    (ViewObjectImpl) dataBinding.getViewObject ();

    testDataVO.reset ();

    The below two lines code clears the default and display implicit criteris

    which gets set in ViewCriteriaManager when we filter the data in the table to help

    This table filter text box in the column af:table headings

    NOTE: It will not erase the other criteria of which are defined by users in VO

    testDataVO.getViewCriteriaManager () .removeViewCriteria (ViewCriteriaManager.DFLT_VIEW_CRITERIA_NAME);

    testDataVO.getViewCriteriaManager () .removeViewCriteria (ViewCriteriaManager.IMPLICIT_VIEW_CRITERIA_NAME);

    If (param.equalsIgnoreCase ("home")) {}

    testDataVO.setWhereClause ("attachment = 'Y'");

    } else {}

    testDataVO.setWhereClause ("attachment = ' n '");

    }

    testDataVO.executeQuery ();

    }

    Thank you all for the suggestions.

    Thank you

    Madhukar

  • How to clear the selection on an ADF faces table?

    I thought I'd call setSelectedRowKeys (null) gives the desired result. However it is not. Can you think of a reason why it would not clear the selection? What should I do?

    Here's the specific scenario:

    I have a two ADF faces table tell A and B with a column each and both of them have simple lines and their rowSelection property is set to "single". Now the requirement is when a line is selected from A, it must clear all selections of B and vice versa. So I registered selectionListeners on the tables and the code that is running inside this method does the following for the table has not been selected :

    tablenNotSelected.setSelectedRowKeys (null);

    lets say, I click on a first line, then on a row of B. So far so good. So if I click on the A, the control won't to the SelectionListener method. I think that SelectionEvent isn't getting fired no doubt because the previous selection has not been erased.

    JDev version I use is JDEVADF_MAIN_GENERIC_121113.1351.6521

    What I'm missing here?

    Published by: 981525 on January 23, 2013 08:20

    try to add addPartialTarget (table) after you turn off the selection.

  • How to clear the search results in an af:table?

    Hi all
    I use Jdeveloper 11 g with ADFBC.

    I have a query with a table of readonly page to display the result of the query, and there is a "Reset" button on the page (NOT reset in motion control) to clear the search results in the table.
    I try the following code to clear the contents of the search results, BUT it does not work. The data in the table is always run after the code below here.
    DCIteratorBinding binding = ADFUtils.findIterator("UserVO1Iterator");
    if (binding!=null) {
        binding.clear();
    }
    Can someone help me? How to clear the contents in an af:table supporting the Java bean code?

    Kind regards
    Samson Fu

    You can also try to call the method executeEmptyRowSet() on the view of the iterator object instance

    Sample:

    binding.getViewObject().executeEmptyRowSet()
    

    Jean Lou

  • Help needed in the table in the Table using the OPS approach

    We have a requirement in the OPS in which the region of the page of search results should provide details of the header. And in the header Details there is a show and hide the button that would show details of line corresponding to the header (such as the Table - to - Table).



    For more details header I used table under the tip, I used region of detail and there I created the table for more details of line.

    I also created see links in the header details links discovers the object and a view object Details.



    I put in the request of the controller process method, see link name and name of the child attribute for external table (table details header) and the inner table (line details table)



    When I launch OAF page, I get the error below. I am facing this error when I tried to put the link name view attribute and child of the internal table (i.e. table line details) in the controller.

    Retail 0 #.
    java.lang.NullPointerException
    at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.updateInnerTableProperties (unknown Source)
    at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequestAfterController (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAFlowLayoutBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest (unknown Source)

    User - try the framework OFA Forum

  • How can I clear the shift registers of sub for loop for each iteration of a larger loop?

    Hello

    I write a program to concatenate multiple text files.  However, I need to treat each column individually before they are concatenated.  I use one for a loop at normalze 6 columns choice the largest loop of concatenation.  However, the shift registers store data from previous iterations of the larger loop.  How can I clear the shift registers of the void loop based on the iteration of the larger loop?

    Thanks in advance!

    OK, that's fine. are there headers?

    In all cases, all you need to do is to place all of the 2D array in the shift register of the inner loop, iterate over the columns relevant to be normaized (use 'index array' to get the column it normalize, put it to help to "replace the subset of table".) You probably want to initialize the outer loop shift register. Use then "building the table" added to the beginning or the data of each file sets.

  • A few quick questions in the OPS?

    Hi all

    I have a few questions for which I need clarification for the interview questions.

    1. If I made extension of VO and made customizing too on some pages. Even if we get an error. How to find out that we got the error and how to fix that?

    2. If we add 2 new columns to the page through the extension of the VO, then everything by customizing the page to create two new points to the table columns, what instance name of view we need to specify for items/columns newly created in Customizing, expanded Standard VO or OV name? and why?

    3. how to implement de FACTO forces in the OPS?

    4. at what level do you jpximport?

    5. can we make our pages on standard pages? If there is a way then please explain how?

    6 EO is necessary for all the pages in the OFA Standard?

    7. give me an example of the difficult task that you encountered during development in the OPS? Please specify at least one task.

    8. how to set the property(Rendered/Disable) of any article on click of a button without using a PPR?

    Please provide answers to these questions...

    Your help will be really grateful to understand more the OAF and interviews of crack.

    Thank you.

    9. can I make LOV messageTextinput in the standard page of the OPS? If yes how?

    You must hide the messageTextInput (make = false) and add a LOV using customization.

    10 can be done messageTextinput to LOV in the OFA standard page through customization?

    Same as above

    11. how to set the property(Rendered/Disable) of any item on click of a button, without use of PPR and set any value in processFormRequest?

    Could not set the property to processFormRequest. As I mentioned before, you have 2 options.

    1 true/false value declaratively or in PR

    2 attach an attribute of the VO property Render/people with reduced mobility.

    If this isn't the case, PPR, another page submit event must occur for this is reflected.

    Reference: advice of Oracle of Johny: OAF: Spel liaison

    Advice from the Oracle Johny: OAF: how to create a PVO and use for Spel link in Oracle Application Framework

    See you soon

    AJ

  • Unable to get the parameter by using a controller in the OPS

    Hello!

    I am new to using the OPS and will very much appreciate your help!

    FYI:

    Basically, I need to add 2 descriptive flexfields in a page (by creating a VO) and I need to update the table with the data stored on these de facto forces (I did all the logic already).

    I created a (CO) controller that calls a method that is declared in an application module (AM) that runs a stored procedure (CO and the AM were created by me and that they extend a standard CO and I am).

    Problem:

    However, updated just before... I'm having a problem because I can't get a parameter using paramContext.getParameter("reqHeaderId"). who will help me to identify which line I need to update.

    Because the statement is not capture the value, it returns a null value, and I got the following error when I try to convert it to a number in: oracle.apps.fnd.framework.OAException: java.lang.NumberFormatException: null

    It is really important to mention that, before we get to the page where I clicked the Send button that makes the logic mentioned... There are 2 pages before that where I'm trying to capture the setting and the required parameter is defined on the 1st page. I have been checking each standard CO 3 pages and they use the statement pageContext.putParameter ("reqHeaderId"); to switch between the 3 pages (as far as I know, if not please correct me). On the 3rd and last standard CO that it uses pageContext.getParameter ("reqHeaderId"); to get the value and make another logic.

    So why Im not getting the value if I do the same thing (pageContext.getParameter ("reqHeaderId") ;) on my xxController (which extends the standard co)?


    Here is the code of the controller:

    public class xxController extends standardController {}

    ' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)

    {

    super.processRequest (pageContext, webBean);

    }

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)

    {

    super.processFormRequest (pageContext, webBean);

    String str;

    Str = pageContext.getParameter("_FORM_SUBMIT_BUTTON");

    If ((str! = null) & & (str.equals ("SubmitButton")))

    {

    String ReqHeaderId = pageContext.getParameter ("reqHeaderId");

    String ReqLineId = pageContext.getParameter ("reqLindId");

    [Serializable] Parameters = CLIENT1

    {

    ReqHeaderId

    ReqLineId

    pageContext.getParameter ("xxavtBienServicio") //dff

    pageContext.getParameter ("xxavtAttribute3") //dff

    };

    String var = (String) am.invokeMethod ("updateAttributes", parameters CLIENT1);    updateAttributes is the method that converts it to ReqHeaderId number and runs my stored procedure

    }

    }

    }

    Thank you in advance for your help!

    Hello

    I found the reason why I have problems to get the needed values.

    The reason was that the given property has been set to false in order to use pageContext.getParameter must be set to true. So, I went ahead and created as a "value of the form" this way I could put the melted property and keep the hide at the same time field.

    Thanks for your help!

  • How to clear the values of the APEX

    Hi team,

    In our application, I had implemented these changes listed below.

    1. we have two tabs, one for delete records & other one to restore the records that have been deleted.

    2. tab delete, I'll be if you select date & click the button remove.

    3. click on Remove button a pop-up window will be opened where we needed fields and click on submit button.

    4. for the first time, when popup window open required fields will be empty and once provided and click on submit these values will be removed from the rear end and store in the table.

    5 now, I went to tab to restore, where I had provide date and click Restore, so the records which had been deleted got restored back.

    6. After restoring back, I returned to Delete tab and once again chosen the date and click on the button Delete, click clear said previous window will be open, but this time in the pop-up screen, we can see values already exist which have been entered previously.

    -If the problem is how we can clear the values in the popup screen when comes to remove the tab and process. Any help much appreciated.

    Kind regards

    Sruthitamiri

    Sruthi Tamiri wrote:

    Thank you for the quick turn around, little confuse how to delete in URL, here's what we used. Could you please help me were to make changes.

    The element is P3_Requested, P3_Who, P3_Why

    1. URL = ' f? p = & APP_ID.: 3: & APP_SESSION. : 3::P3_TRADE_DATE, P3_DAILY, P3_MONTHLY: "+ $x("P1_START_DATE").value + ',' + $x("P1_DAILY_0").value + ',' + $x("P1_MONTHLY_0").value;
    2. w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");

    You have '3' in the position of debug in the URL, not the ClearCache position:

    f?p=App:Page:Session:Request:Debug:ClearCache:itemNames:itemValues:PrinterFriendly

    It's basic stuff that should be easily resolved by referring to the documentation...

  • How to get the full name of the user of the OPS?

    Hi Experts,

    I know we can get the login controller pageContext.getUserName () user name. Is there a simple way/API to get the full name of the user (name, first name) of the OPS?

    Thank you.

    Hello

    USER name and information of the PERSON are two different concepts. You can get the id of user with pageContext.getUserId () connection. In order to get the first name, last name, you must select it from table PER_ALL_PEOPLE_F.

    You can use the sql select and set pUserId of pageContext.getUserId ();

    SELECT FIRST_NAME, LAST_NAME TO PAP PER_ALL_PEOPLE_F, FND_USER FU

    WHEN TRUNC (SYSDATE) BETWEEN PAP. EFFECTIVE_START_DATE AND PAP. EFFECTIVE_END_DATE

    AND FU. EMPLOYEE_ID = PAP. PERSON_ID

    AND FU. User_id =: pUserId

    Anil

  • How to clear the QBE search criteria?

    We have a taskflow which is invoked as a popup in a jsff page, this popup contains a table where the user can query using QBE. After that the popup is closed, then reopened, the search in the QBE criteria is kept.

    No idea how to clear the QBE search criteria?

    You can use the following code to clear the filters:

        ViewCriteria vcDefault = vo.getViewCriteria (ViewCriteriaManager.IMPLICIT_VIEW_CRITERIA_NAME);
        If (vcDefault! = null) {}
          vcDefault.clear ();
       

    }

    See the following blog:

    http://smconsultants.in/2013/08/clearing-table-filters-when-the-user-comes-back-to-same-page-with-in-a-taskflow.html

  • problem with delete in the OPS

    Hi all

    I have a problem in the functionality of deletion in the OPS,

    I have a table advanced with data when loading the page, because I have an icon to the trash, I'm clicking on the icon of deletion and the page, I am able to remove that line but he isn't deleteting in the database of this line.

    I tried below way.

    If ("updatedelete".equals (pageContext.getParameter (EVENT_PARAM)))
    {
    am.invokeMethod ("getUpdateDeleteData", null);

    }

    ---------------

    Public Sub getUpdateDeleteData()
    {
    XXXXXCONTAINLISTLINESVOImpl vo = this.getXXXXXCONTAINLISTLINESVO1 ();

    System.out.Print ("vo count" + vo.getRowCount ());

    Rank rank [] = vo.getAllRowsInRange ();
    for (int i = 0; i < row.length; i ++)
    {
    Rowi rank (XXXXXCONTAINLISTLINESVORowImpl) [i] = XXXXXCONTAINLISTLINESVORowImpl;
    If (rowi.getseltodel ()! = null & & rowi.getseltodel (.equals("Y")))
    {

    Rowi.Remove ();
    getOADBTransaction () .commit ();

    }
    }

    }

    You can help me thanks

    Thanks to all its solved, in fact my vo was not based on any OS is why it did not record data, aftre creating EO based VO it works

  • Region of shuttle in the OPS 11i

    Hi all

    I'm trying to implement region of shuttle in the OPS using jdeveloper 9i. I did exactly how it was made clear in the guide, but I get an error

    "oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: Houston-25002: definition of type attribute not found."

    Here's what I did.

    1. shuttle and its tail and leader under regions region has created

    2 view instance drop-down list specified with the display attribute values and views.

    3. when I run the page, I get the above error.

    Any suggestions are greatly appreciated.

    Thank you

    KK

    http://sushantsharmaa.blogspot.in/2012/12/13-implementing-shuttle-region-in-OAF.html

    Sushant-

  • How to clear the form submit after button preesed?

    Hi all

    I am new to the apex. I created a form based on the table. Whatever values I enter these values are inserted into this table. But after to insert the form is not allowed. Please give solution to clear the form in detail.

    Thank you and best regards,

    Rambeau

    You can clear the values of the element in the form of several ways,

    One of the ways is to create a process to clear items from the cache of the page after submit section,.

    Category: State of Session

    Type: clear the cache for all items on the page (PageID PageID, PageID)

    Enter the Pages to clear Cache: enter the page number you want to delete the value from the element (2)

    Another way is to create a branch to the same page and give the page number in the field "Empty the Cache".

    Thank you

    Lacombe

Maybe you are looking for